- This topic has 4 replies, 2 voices, and was last updated 9 years, 3 months ago by Syam Mohan.
-
AuthorPosts
-
September 13, 2015 at 3:16 pm #16004kenedo kromlakParticipant
Hi,
My problem is the next :
I have activated WP User Role Pro a few days ago, and now, all my users cannot use toolbar on top of my site. That strange, when I disable plugin, all things work like a charm.
I’d read “class-wpfront-static.php” and note that telling ’bout “is_admin_bar_showing” function. Now is it possible to change something to permit me to add the permission to my users, on certain groups, to use the toolbar ?
It’s something looking crazy to not have the option to do that. Or I have a big bug in my dashboard…Could you explain me and/or offer me the help I hope ?
Thanks, K.
(I tested all ways on the web header declaration, footer is the same :
<?php wp_head(); ?> , <?php wp_footer(); ?> …. etc, etc, etc. … add filters, some includes, nothing worked)September 13, 2015 at 3:18 pm #16005Syam MohanKeymasterHi Kenedo,
The only place where it removes toolbar is in login redirect. Do you have login redirect configured?
https://wpfront.com/user-role-editor-pro/login-redirect/
Thanks
September 13, 2015 at 3:26 pm #16006kenedo kromlakParticipantThis reply has been marked as private.September 13, 2015 at 3:36 pm #16007kenedo kromlakParticipantI’d my all groups entered in that list automatically, and redirected on url base of my site.
All options “on”.
When I tried to add my group for test, a new, not in the list, nothing appear in the both case.
When I’d deleted all redirect rules, all working again… Why ?
If I have, a day or another, to do a redirection on a group, the toolbar will disappear for all others ? Crazy…K.
September 13, 2015 at 4:10 pm #16008Syam MohanKeymasterHi Kenedo,
It doesn’t work the way you think it works. I’m going to answer your questions one by one.
Login redirect doesn’t automatically add roles to it. If you have records exists in that screen, then someone must have added it.
Usually when you don’t want a user to have access to wp-admin, you don’t want them to see the toolbar. So when the user tries to access wp-admin, you want them to redirected to a different URL. Hence this functionality is part of that.
When you don’t have a role configured within login redirect, the role should work as normal. The toolbar or the wp-admin won’t be disabled. If you see them as disabled, make sure its not coming from a secondary role.
If you want to use this functionality in future for one role and you don’t want to add other roles, other roles will work fine. The toolbar or the wp-admin won’t be disabled for those roles just because you didn’t add those roles in login redirect. If that was the case, then every role should have toolbar and wp-admin disabled when nothing is configured.
Thanks
Syam
-
AuthorPosts
- The topic ‘problem to unlock toolbar…’ is closed to new replies.