• Resolved agentkiller007

    (@agentkiller007)


    Pls Help….
    Hi I am using review form in Modal,
    i want – as soon as form is submitted user is redirected to custom url/ with the response.

    Secondly, – is there any code to determine if the user has already submitted review for particular post so that i will not show him form on that post.

    If there is some edit in core files of plugin for accomplishing this i can manage as per ur instructions.

    Thank u ….

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    1. You can redirect to a custom page once a review is submitted. Please see the Help > FAQ page for instructions.

    It is not currently possible to redirect with the response (i.e. the values of the submitted review).

    2. You can limit users reviews to one-per-person, and use some code to hide the form from those people. Please see the Help > FAQ page for instructions.

    Thread Starter agentkiller007

    (@agentkiller007)

    Issue with Solution 1-
    I am using it in this way in my template-

    
    <div>
       <?php echo do_shortcode('[site_reviews_form assign_to="post_id" schema=true
     hide="title,name,email" redirect_to='.$current_url.' category='.$userTerm.']'); ?>
    </div>
    

    where variables
    $current_url – is current page URL
    $userTerm – is current user name

    but still it is not redirecting.

    Issue with Solution 2-
    Your solution is working fine but,

    it is not allowing user to submit review on all other posts also
    instead i want limit user to submit 1 review per post user should be able to post review on other posts where he has not submitted his review…..

    Plugin Author Gemini Labs

    (@geminilabs)

    Ah. The review limits only work per-page if you are assigning reviews to pages, not categories.

    The redirect_to is not a shortcode option. You need to add that to the page using the WordPress Custom Fields metabox.

    • This reply was modified 4 years, 6 months ago by Gemini Labs.
    Thread Starter agentkiller007

    (@agentkiller007)

    Thanks alot…..

    Hi
    Could someone please show me how to add ‘redirect_to’ to a page as I am totally lost have managed to get everything else done just this redirect.

    Plugin Author Gemini Labs

    (@geminilabs)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Redirect after submission of review form’ is closed to new replies.