• Nice plugin. Liking it so far. There are many rooms for improvement, though.

    A few suggestions if you don’t mind.

    1. Option to display contact form only to login user. Log out user will see a message, “Login or register to contact the seller.”
    2. In addition to the “Browse” and “Manage” submenu under the Profile listing page, add an “Add” submenu for the user to easily and quickly add another ad.
    3. Add the “Listings” and its submenu to the Profile dropdown menu that is available in BuddyPress for the user to easily access them.
    4. Place Advert CSS stylesheet before WP’s or Theme’s Custom CSS to let Custom CSS override Advert CSS without having to add “!important” to every rule.
    5. Option to add a default image for ads without an image.
    6. Option to set the main display image (image in the listing/search view) for ads with multiple images.
    7. Include an “Add” or “Post” button on the main listing page to make it easy for the user to add an ad at any time.
    8. Give the option to filter items by category name in the main listing page.
    9. Give an option to change the slug for the item page. Right now it defaults to /adverts/item-name. Notice you have this option for the BuddyPress Integration when viewing them under the user’s Profile section.
    10. Option to require an image for each ad.

    Thank you, that is all I have for now. I might have more once I use it longer.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi, thanks for the suggestions i will allow myself to just comment on a few that are actually available in one way or another.

    2. this was asked on the forum, you should be able to find a reply explaining how to add the “Add” link to BB without modifying original source.
    4. usually you should be able to overwrite Adverts CSS rules by prefixing the rule with “body”.
    5. this was asked on the forum as well, basically, you can set the default image using some CSS background-image.
    8. this is possible using a code snippet https://github.com/simpliko/wpadverts-snippets/blob/master/search-by-category/search-by-category.php
    9. i understand you mean slugs like https://example.com/advert/item-name/? If so then you can modify it with custom slugs snippet https://github.com/simpliko/wpadverts-snippets/blob/master/custom-slugs/custom-slugs.php or using some third-party plugin like https://www.ads-software.com/plugins/custom-post-type-permalinks/
    10. this will be possible in version 1.2

    Hello Greg,

    I’ve been keeping a list of improvements for a long time and would like to share it with you in this thread. Of course, your plugin is already at a professional-grade level and my list of suggestions could be for the next 20 years ??

    1. Tags for adverts
    2. Email subscription to new ads in a specific category (subscriptions could be managed from my account)
    3. More paid features (e.g. ad could be pushed back at the top list each day/week/month, ad modification could be chargeable)
    4. WPML compatibility (an ad could be entered in 2 languages like woo commerce products)
    5. Category slugs translation in X languages (thanks to WPML)
    6. Transactional email integration in WP system (to benefit from a centralized admin and woo commerce template – for the moment, email header/footers must be added manually)
    7. Save ads or Ad wishlist (like yith wishlist) – could be useful for customers or for the admin to track customer’s interests

    Bye.

    Can I also suggest that the plugin also needs a way to pre-populate content. Otherwise, new sites are empty

    Thread Starter vantra117

    (@vantra117)

    Thank you for the help, Greg.

    The slug function you pointed to didn’t work for me. I was able to copy a similar function from another plugin and got it to work.

    function advert_ads_slug_change( $args ) {
    $args[‘rewrite’][‘slug’] = “classified”; /*please add your slug here*/
    return $args;
    }
    add_filter( ‘adverts_post_type’, ‘advert_ads_slug_change’ );

    Question: I added widgets to the sidebar and now they show up on the item page. How do I disable the right sidebar for the item page?

    Thread Starter vantra117

    (@vantra117)

    Actually, let me take that back. It works for the item page, but now my main page /classified/ is not loading. It says err_too_many_redirects.

    The trick is to name the main slug to /classifieds/ when editing it in Page.

    So it looks like this:
    Main Page: https://example.com/classifieds/
    Item Page: https://example.com/classified/item-name (note, the “s” is removed)

    • This reply was modified 7 years, 2 months ago by vantra117.
    • This reply was modified 7 years, 2 months ago by vantra117.
    Thread Starter vantra117

    (@vantra117)

    I have a quick fix for my #1 above (show Send Private Message only to logged in users). For a site with the BuddyPress Integration addon installed.

    Add this to the theme functions.php

    /* check if user is log in or not */
    function ajax_check_user_logged_in() {
    echo is_user_logged_in()?’yes’:’no’;
    die();
    }
    add_action(‘wp_ajax_is_user_logged_in’, ‘ajax_check_user_logged_in’);
    add_action(‘wp_ajax_nopriv_is_user_logged_in’, ‘ajax_check_user_logged_in’);

    Add this to your theme custom JS

    var data = {
    action: ‘is_user_logged_in’
    };
    jQuery.post(ajaxurl, data, function(response) {
    if(response == ‘no’) {
    $(‘<p>You need to log in or create an account to contact the seller</p>’).appendTo(‘.adverts-single-actions’);
    } else {
    $(‘.adverts-single-actions’).hide();
    }
    });

    Add this to your theme custom CSS. BB Integration adds a Send Private Message button so I hid the Send Message button and the Contact Form altogether.

    .adverts-single-actions {
    display:block !important;
    }
    .adverts-show-contact-form, .adverts-contact-box {
    display:none !important;
    }

    • This reply was modified 7 years, 2 months ago by vantra117.
    Thread Starter vantra117

    (@vantra117)

    Greg,

    I found a bug. Not sure if it’s your plugin or not. When I private message another member through the Member page, the name of the user and their picture show up next to the Send input field, but when I private message through your item page, the username and picture are not there, and I can’t send the message because it says user was emptied.

    Update: It’s not your plugin. I changed my nicename to something else after I posted the ad. I edit the URL to my new nicename and the username and picture showed up.

    Greg, actually it is your plugin. I was able to private message through the Profile page but not on your item page. Through the profile page, it recognizes my correct username (nicename that appears on the URL), but on your item page it detects the login name. It’s not a big deal right now, but just letting you know WP core was able to recognize the correct one.

    • This reply was modified 7 years, 2 months ago by vantra117.
    • This reply was modified 7 years, 2 months ago by vantra117.
    Plugin Author Greg Winiarski

    (@gwin)

    Hi, in next WPAdverts BP integration there will be an actual form that will send the message instead of a link to a form, this should fix this problem.

    To disable the sidebar on Ad details pages you will need to create a single-advert.php file as explained here https://wpadverts.com/documentation/child-themes-and-templates/ and remove from it the sidebar.

    @legentlemanfr thanks! i will keep your suggestions in mind.

    Greg, will you update the paypal plugin for using with paypal plus?

    Greetings

    Klaus

    Plugin Author Greg Winiarski

    (@gwin)

    This service is available only in Germany so most likely i will do not even have access to the API to develop it.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘10 Suggestions for Improvment’ is closed to new replies.