Love th plugin, but need a little guidance!

This topic contains 4 reply and 3 voices, and was last updated by Sekander Badsha 10 years, 2 months ago
Viewing 4 Posts - 1 through 4 (of 4 total)
Author Posts
July 5, 2014 at 6:33 pm 22979
Sekander Badsha Dear Nizam Thank you for the speedy approval. I've spent 3 days testing frontend user plugins and this looks amazing! So well done and hope you have tons of downloads! I'm nearly there with setting up, but struggling with 4 elements: 1. Edit Post within Dashboard: -when I sign is as a user, and click edit post, it takes a really long time to load 2. When ever a user logins in via IE, there is a pop up which states do you want to save bk-coretags.js .... 3. WP toolbar - I've read another Q&A on this forum regqrding WP toolbar being hidden from logged in users. Neither WP Hide Dahsboard or restricting dahsboard to Admin Onlyn in settings is working - please advise... 4. adding social media links and shares for logged in users and their posts - any help greatly appreciated! Cheers Kate
July 6, 2014 at 12:54 pm 23038
Sekander Badsha Sekander Badsha

Hello Kate,
1. This could be a hosting issue. Have you checked in any different hosting ?

2. We don’t have such file inside our plugin. This may come from some other plugin or your theme.

3. Paste this code to your themes function.php:

/**
 * Show/hide admin bar to the permitted user level
 *
 * @since 2.2.3
 * @return void
 */
function wpuf_show_admin_bar() {
    $access_level = wpuf_get_option( 'admin_access', 'wpuf_general', 'read' );

    show_admin_bar( current_user_can( $access_level ) );
}

add_action( 'show_admin_bar', 'wpuf_show_admin_bar' );


This code will hide the black admin bar from every user but not from the admin.

4. There are plenty of social sharing plugins in the wild. You can use any plugin you want.

July 6, 2014 at 9:20 pm 23062
Kate Kate

Fab – i’ll give it a go! Thanks for the help!

July 24, 2014 at 9:03 pm 24090
Salih Salih

Ok this is conflicting with a user management plugin I have UserPro which hides bar for certain levels. Can I enable the bar to be seen by Editors and up?

This has also hidden the bar from admins

August 5, 2014 at 3:07 pm 24567
Sekander Badsha Sekander Badsha

You can apply and filter as much functions as you want. There’s no limitation in our plugin. I Have previously given you the structure of the action. Now you just need to read through the official documentation about the “show_admin_bar” function. Then you’ll be able to customize the function as you like.
Here’s the documentation link http://codex.wordpress.org/Function_Reference/show_admin_bar

Viewing 4 Posts - 1 through 4 (of 4 total)