BuddyBoss Home – Web Support Forums Solutions Social Learner User Switching Plugin

Viewing 6 posts - 1 through 6 (of 6 total)
  • Question

    #55146

    Hi BuddyBoss,

    I’ve been trying to use the awesome “User Switching” plugin to test different access levels on my site, but there’s a problem with the “Switch Back to Admin” link not displaying properly in Social Learner. I tested with a WordPress default theme and it works fine, so it’s definitely a theme-related issue.

    I opened a support thread with the plugin developer at WordPress-dot-org that describes the problem, which you can view here.

    Any thoughts on how we can get this hugely useful plugin to play nice with Social Learner?

    Thanks!

    Answers

    #55157

    Anonymous
    @

    Hi @davejay, On the members directory page you will get the the option for “Switch To” for each members so you can also switch from there (see the attached screenshot).

    Regards

    #55178

    Right, Pallavi, but that’s not the problem I’m having.

    After “switching to” a member, there should be a “switch back to admin” link available. This is necessary for switching back and forth between accounts. By default, it appears in the admin toolbar, but that’s disabled for non-admin users in Social Learner. The plugin provides a fall-back by displaying the “switch back to admin” link in the WordPress “meta” widget as well… But it doesn’t show up there either.

    I’ve tested this with the default WordPress theme and it works fine, so it’s definitely specific to Social Learner – that’s why I’m posting the problem here.

    How can we get the “switch back to admin” link working properly?

    #55206

    Anonymous
    @

    Hi @davejay, Please add these css codes in your child theme’s custom css.

    
    #wp-admin-bar-user-actions {
        display: block !important;
    }
    #wp-admin-bar-user-info {
      display: none !important;
    }
    
    #wp-admin-bar-edit-profile {
      display: none !important;
    }
    
    #wp-admin-bar-logout {
      display: none !important;
    }
    

    Regards

    #55215

    That works beautifully, Pallavi 🙂 Thanks!

    #55247

    Anonymous
    @

    🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • The question ‘User Switching Plugin’ is closed to new replies.