Reviews – not for listings owners – once per user – allowing answer to a comment

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #445569

    Christophe Brassine
    Expired Member
    Post count: 1

    Question on a close topic

    1/ Where should I paste the code kindly shared on this https://wpgeodirectory.com/support/topic/reviews-16/ ? I have the same need.

    I will also ask my developer but if you can answer this :

    2/ If I need to use this for several CPT, do I have to add multiple time the code with the different CPT or can I add CPT next to each other with a comma or … ?


    if ( geodir_is_page(‘detail’) && is_user_logged_in() && geodir_get_current_posttype() == ‘gd_place’;’gd_XXX’;’gd_YYY’ ) {
    $current_user = wp_get_current_user()->ID;

    OR

    if ( geodir_is_page(‘detail’) && is_user_logged_in() && geodir_get_current_posttype() == ‘gd_place’ )
    if ( geodir_is_page(‘detail’) && is_user_logged_in() && geodir_get_current_posttype() == ‘gd_XXX’ )
    if ( geodir_is_page(‘detail’) && is_user_logged_in() && geodir_get_current_posttype() == ‘gd_YYY’ ) {
    $current_user = wp_get_current_user()->ID;

    OR ?

    3/ Is it possible to disable owners for comment/review on their own listings BUT to make owners and other users able to answer to a selected comment ?

    4/ Would you be kind to share the code to prevent multiple reviews from same users.

    5/ and is it possible (and how) to allow users “XY” to answer to someone “Z” having posted a comment on the first and only comment of “XY” ?

    6/ is it possible to make anyone having posted a comment to be able to delete the comment he/she made ?

    Regards,

    Christophe

    #445603

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket