how can I deactivate this plugin for not logged in users? Is there a function, hook or something like that?
Thanks
how can I deactivate this plugin for not logged in users? Is there a function, hook or something like that?
Thanks
I'm having the same question.. I'm using this plugin since v1.0 and it wasn't like this.. now after updating the plugin, non-logged in users can see it and this is what I do not need..
Another issue is about 'users Role' I don't want editors to see the feedback from other users.. is it possible to specify it only to administrators??
Appreciate any tip!! :)
Best,
hope with a hook I can chance the settings (DEFINE()), but haven't found somethink like that in the code.. :/
Hello i have same problems if anyone Got the solution?
I do not want to show the Feedback Button for Logged in Users.
Thank you
this is just a hack (because I set the style for the button to display: none)
add_filter('un_button_class', 'un_hide_button');
function un_hide_button($classes)
{
if( !is_user_logged_in() )
array_push($classes, 'un-hide');
return $classes;
}
And then write into the style.css
.un-hide {
display: none;
}
Hope the devs can add some more hooks, maybe to the beginning of the plugin, so I can deactivate it correctly..
Thanks Ninos, I think your solution is the only one working for the time being... :)
This topic has been closed to new replies.