Support » Plugin: GeoDirectory - Business Directory Plugin » Any way to require a user to answer a survey I have before submitting a listing?

  • Resolved mattfcom

    (@mattfcom)


    Hello,

    In exchange for all users to be able to submit a listing for free I’d like to require that they answer a short survey before submitting their listing.

    I use a survey plugin for this that uses required fields so no issue there but the real question is how can I redirect them to the survey as soon as they click add listing.

    So in short I need: add listing (click)-> survey -> add listing

    https://wordpress.org/plugins/geodirectory/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Better yet, is there a way to enable users who are not logged in to submit a listing – this would 100% solve my issue as I have already worked through the other 90% of my problem.

    Thanks,

    Plugin Author Paolo

    (@paoltaia)

    Hi,

    the second question is not possible. Only authenticated users can add a post in WordPress, the opposite would open doors to maliious attacks on your server.

    What you want to do would probably require a customization in the add-lising.php template.

    Not a simple one.

    Thanks

    Is there a way for me to edit the login page in that case? (/gd-login/)

    I just want to add a block of text on top of the forms to explain why a user must sign in or up.

    Plugin Author Paolo

    (@paoltaia)

    You can add this in your functions.php

    add_action('geodir_sidebar_signup_top', 'my_signin_customtext');
    function my_signin_customtext() {echo '<h3>Some Dummy Text</h3>';}

    and change the message to whatever you need.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Any way to require a user to answer a survey I have before submitting a listing?’ is closed to new replies.