BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › Not compatible with User Switching Plug In
Tagged: User Switching
- This topic has 5 replies, 3 contibutors, and was last updated 8 years, 8 months ago by Anonymous.
Question
February 29, 2016 at 5:13 pm #60820@conscious-craftiesHi 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
March 1, 2016 at 1:01 am #60853@
AnonymousHi @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
March 1, 2016 at 5:31 am #60887@conscious-craftiesThank 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
March 1, 2016 at 5:35 am #60889@
AnonymousError 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 dirThat’s normal nothing odd with it.
RegardsMarch 1, 2016 at 8:29 am #60920@conscious-craftiesThe 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
March 3, 2016 at 6:16 am #61250@
AnonymousHi @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
- The question ‘Not compatible with User Switching Plug In’ is closed to new replies.