• Resolved Nicholas Griffin

    (@thetechnuttyuk)


    Hey,

    First things first, this is an amazing plugin, it’s designed extremely well and works like a treat.

    But I do have one small problem, I would like to allow anonymous users to post feedback as we don’t have too many users with accounts, I see on the FAQ you have described a way, however it is a little confusing due to the formatting and it doesn’t state what file needs to be changed.

    If you could help me out with that I would be grateful.

    Thanks.

    https://www.ads-software.com/plugins/user-feedback/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Silvan Hagen

    (@neverything)

    Thanks for your feedback, glad you like the plugin.

    You don’t need to change a file as the plugin provides you with a filter to allow feedback from all your users, not just the ones logged in to your site. There are two ways to enable the plugin for all your users, either you add the following line to your themes functions.php:

    add_filter( 'load_user_feedback', '__return_true' );

    or create an MU-Plugin that you drop in your /wp-content/mu-plugins/ folder:

    <?php
    /*
    Plugin Name: User Feedback For All
    Plugin URI: https://github.com/wearerequired/user-feedback
    Description: Make the User Feedback plugin accessible for all users, not only those who are logged in.
    Author: required+
    Version: 1.0
    Author URI: https://required.ch/
    */
    
    add_filter( 'load_user_feedback', '__return_true' );

    Please let us know if this does the trick for you? Will update the README file to provide the correct way of allowing feedback from all users.

    Plugin Contributor Pascal Birchler

    (@swissspidy)

    In the next version you’ll be able to change this behaviour on a new settings screen.

    There you can configure where the User Feedback tool should be loaded (front-end and back-end) and if it should be shown for anonymous users or not.

    It’ll be out soon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allowing anonymous feedback’ is closed to new replies.