• Resolved alriknijdam

    (@alriknijdam)


    I just noticed that only admins can leave a review.
    Logged in users can not leave a review.

    I tried setting ‘Who can leave reviews?’ to ‘Anyone’ but this does not fix the problem.
    Please help.

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

    (@wordplus)

    Hi there!

    How can I reproduce your issue?
    Can you send me your site url at least?

    Thanks!

    Thread Starter alriknijdam

    (@alriknijdam)

    Thanks for the reply ??

    The website is https://vespa-ciao.nl/beta/leden/
    This url guids you directly to the members section.

    Since it’s a beta registration is not allowed at the moment.
    But if you want to I can email you some login information for a normal user so you can try it out yourself (I just need your email).
    In settings I alowed anyone to post a review at the moment, so it’s not necessary to login..

    • This reply was modified 6 years, 11 months ago by alriknijdam.
    Plugin Author wordplus

    (@wordplus)

    Hi there!

    Ok, please use this form to send login details:
    https://www.wordplus.org/contact/

    Thanks!

    Thread Starter alriknijdam

    (@alriknijdam)

    I have just send you an email with some login information.
    Thanks for looking into this!

    I wish you a happy new year!

    Best regards,
    Alrik

    Thread Starter alriknijdam

    (@alriknijdam)

    Did you had any change too look into this?

    Thread Starter alriknijdam

    (@alriknijdam)

    If it is of any help, this is the error wp_debug shows when trying to submit a review by a normal user:
    PHP Warning: Invalid argument supplied for foreach() in /url/url/public_html/url/wp-content/plugins/bp-user-reviews/bp-user-reviews.php on line 466

    The same error show when an admin leaves a review, the only difference is that the review submitted by an admin is registred and the review of a normal user is not.

    Still would love to use your plugin.

    Best regards

    • This reply was modified 6 years, 10 months ago by alriknijdam.
    • This reply was modified 6 years, 10 months ago by alriknijdam.
    Plugin Author wordplus

    (@wordplus)

    Hi there!

    You have problem with redirection.
    Something not allowing to access /wp-admin/admin-ajax.php file for all users besides administrators, redirecting them to homepage.

    • This reply was modified 6 years, 10 months ago by wordplus.
    Thread Starter alriknijdam

    (@alriknijdam)

    Thanks for the reply.
    I had a little script running in the functions.php to black acces to url/wp-admin.
    However it also blocked every ajax call.

    I improved the script, it now first checks wether they try to acces url/wp-admin, or run an ajax call. Now url/wp-admin is still blocked, and your plugin WORKS!

    Great, thanks for the help!!

    Plugin Author wordplus

    (@wordplus)

    Thread Starter alriknijdam

    (@alriknijdam)

    Looks pretty good, got it running on our test website.
    Might be something we’re gonna implement on version 2 of the real website.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Only admins can leave review’ is closed to new replies.