Every user gets a staff badge. Why is that? Can it be that only administrators get the staff badge?
Thanks!
mitja
At the moment, the plugin does not support the option to add or edit badge and only the admin get the badge. In your issue, you can send me username & password of your site for further checking.
that’s actually not true. At the moment the condition is
‘if ( user_can( $user_id, ‘edit_posts’ ) ) {‘
If it were checking for the admin it should say
‘if ( user_can( $user_id, ‘administrator’ ) ) {‘
I have tried to access your site in the Today, but I can not access your site. Please check your account.
Hi Dominic,
Have you tried accessing the site now? Please let me know how this is going.
Thank you very much!
Mitja
At the moment, we are checking your site but I can not access your site, I think your site has to stop access from our country.
Also, you can try to disable all the plugin to check this issue. Maybe, it’s the conflict between the plugins.
That's funny.
I found the solution myself:
in User.php file on line 229 change
if ( user_can( $user_id, 'edit_posts' ) ) {
to
if ( user_can( $user_id, 'administrator' ) ) {
It would be good if the lowest role level that gets the 'staff' badge were adjustable from plugin's backend.
Thanks for your help nonetheless.
Congratulation! Please let me know if you have any issue or question. We will check and help you resolve it.
Hi,
Just curious: is this resolved in the latest update of the DWQA plugin?
Thanks!
Mitja
Yes, we will check and discuss about this issue in the next version.
Sorry about that. It is working now, so please try again.
Please login or Register to submit your answer