BuddyBoss Home – Web Support Forums Themes OneSocial theme Not compatible with User Switching Plug In

  • This topic has 5 replies, 3 contibutors, and was last updated 8 years ago by Anonymous.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Question

    #60820
    @conscious-crafties

    Hi there,

    This isn’t as urgent as the other defects I’ve raised but just a bit of a pain.

    When using my User Switching Plug in to log in as my Vendors, I have no way of switching back to my admin account. I would normally see an option to ‘Switch back to XXXX account’

    So I have to log out and log back in as an admin each time.

    Many thanks,

    Karen

    Answers

    #60853

    Anonymous
    @

    Hi @conscious-crafties, 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).

    It is set as display none for now if you want to show it in top-right corner (in profile menu) so 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

    #60887
    @conscious-crafties

    Thank you for that 🙂

    Was a little scary to start with as I tried to switch users from wp-admin and got a ‘Cheating are we message’ (see screenshot)

    But then I reloaded the page to get to my home page and I was actually signed in as a the Vendor. So not a biggie just an extra step to take.

    It then does allow me to Switch back from the Vendors log in with the link – thank you!

    Karen

    #60889
    @vapvarun

    Hi @conscious-crafties,

    Error message will be popped only when specific user do not have permission to view that page, most of time when you are trying to switch from backend user directory
    as admin, you can view it
    but as vendor they do not have enough permission to view user dir

    That’s normal nothing odd with it.
    Regards

    #60920
    @conscious-crafties

    The odd thing is – when using the User Switching before it would redirect me to the front end away from wp-admin.

    It’s not a problem, it’s just different behaviour and has stopped redirecting me to the home page after adding your code.

    Karen

    #61250

    Anonymous
    @

    Hi @conscious-crafties, That css code is just to show the Switch button in right top corner 🙂 ..and that is the default behaviour of User Switching plugin

    Regards

Viewing 6 posts - 1 through 6 (of 6 total)
  • The question ‘Not compatible with User Switching Plug In’ is closed to new replies.