[ Resolved ] unhide the dashboard – UserPro Forums https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/feed/ Thu, 02 May 2024 22:17:35 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13774 <![CDATA[[ Resolved ] unhide the dashboard]]> https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13774 Mon, 16 Dec 2013 04:43:33 +0000 Luis Urquilla Hello,

Can you please tell me how can I globally “unhide” the dashboard? I’m using another WP plugin that replaces the dashboard bar with it’s own bar, but your plug-in hides it, I guess because it assumes it’s the default WP dashboard bar. Is there are setting on the control panel or is there code I must edit.

Thank you in advance.

Luis

]]>
https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13781 <![CDATA[Reply To: [ Resolved ] unhide the dashboard]]> https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13781 Mon, 16 Dec 2013 08:11:50 +0000 If you are talking about this setting “Hide Top Bar from Non-Admins”, go to UserPro > Global Options and about the 13th box down you will find it. It gives you the option to say “Yes” or “No”. That simple.

]]>
https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13808 <![CDATA[Reply To: [ Resolved ] unhide the dashboard]]> https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13808 Mon, 16 Dec 2013 11:49:21 +0000 admin As he just said 🙂 In global options you can turn on the Top bar for standard users. You can also disable redirection options (to unhide backend itself for standard users)

By default the plugin redirects /wp-admin to /profile for regular users. That option can be controlled under Redirection Settings

]]>
https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13830 <![CDATA[Reply To: [ Resolved ] unhide the dashboard]]> https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13830 Mon, 16 Dec 2013 17:38:40 +0000 Luis Urquilla Hi,

Thanks, I found the option, I jsut upgraded to the new release and don’t recall seeing the option in the old version, so I assumed the option still didn’t exist.

So I set the “hide bar for non-admin” to NO and the strange thing is that the only page where I can see the WP Bar is on the UserPro login page. I already removed my user bar plugin and still, no luck..

]]>
https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13831 <![CDATA[Reply To: [ Resolved ] unhide the dashboard]]> https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13831 Mon, 16 Dec 2013 17:50:23 +0000 Luis Urquilla I just disabled UserPro and now when I log in as a non-admin I can see the bar site side.

]]>
https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13836 <![CDATA[Reply To: [ Resolved ] unhide the dashboard]]> https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13836 Mon, 16 Dec 2013 19:52:40 +0000 Luis Urquilla Hi, correction to my findings.

Since changing the setting to hide the bar to NO, I can see the bar site-wide EXCEPT for the Home page. Any ideas? Why would only the Home Page be affected?

Thanks.

]]>
https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13854 <![CDATA[Reply To: [ Resolved ] unhide the dashboard]]> https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13854 Mon, 16 Dec 2013 22:09:16 +0000 Hi @Luis Urquilla,

Working in the blind as we are having to do here, makes it difficult to give a clear answer. Is there any way you can provide a test account to your site so that I can have a look? I would require temp admin privileges to see it. Or, at the very least a link to your site so that I can have a look at the source code. And then we can go from there.

]]>
https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13855 <![CDATA[Reply To: [ Resolved ] unhide the dashboard]]> https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13855 Mon, 16 Dec 2013 22:32:01 +0000 admin Hi @Luis

The function is very straight-forward and leaves no confusion. Open functions/hooks-actions.php

This is the function that shows/hides admin bar from non-admins:

[php]
add_action(‘init’, ‘userpro_remove_admin_bar’);
function userpro_remove_admin_bar() {
if (!current_user_can(‘administrator’) && !is_admin()) {
if (userpro_get_option(‘hide_admin_bar’)) {
show_admin_bar(false);
}
}
}
[/php]

]]>
https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13856 <![CDATA[Reply To: [ Resolved ] unhide the dashboard]]> https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13856 Mon, 16 Dec 2013 22:33:03 +0000 Luis Urquilla Another update..sorry for the mulitple updates but I’m busy at work and only get to look into this issue whenever I have a few minutes.

The Bar fails to display on the HOME PAGE and POSTS.

The bar displays on PAGES and POST LISTINGs

Thanks.

]]>
https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13857 <![CDATA[Reply To: [ Resolved ] unhide the dashboard]]> https://forum.userproplugin.com/forums/topic/unhide-the-dashboard/#post-13857 Mon, 16 Dec 2013 22:35:14 +0000 admin I have tested this on userpro homepage, and it seemed to work fine. Please look at Central Geek answer above too. I have also pasted the code relating to this function. It’s straight forward and have no homepage/posts conditions. It’s a global action.

]]>