Home Forums Plugin Support WP User Frontend Pro Love th plugin, but need a little guidance!

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Sekander Badsha 4 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22979

    Kate
    Member
    Post count: 2

    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

    #23038

    Sekander Badsha
    Member
    Post count: 2067

    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.

    #23062

    Kate
    Member
    Post count: 2

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

    #24090

    Salih
    Member
    Post count: 8

    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

    #24567

    Sekander Badsha
    Member
    Post count: 2067

    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 5 posts - 1 through 5 (of 5 total)

The topic ‘Love th plugin, but need a little guidance!’ is closed to new replies.