Version: 1.1.0, by akanevsky
Developer Last Online: Feb 2016
Version: 3.5.x
Rating:
Released: 05-06-2006
Last Update: 07-02-2009
Installs: 86
DB Changes Uses Plugins Auto-Templates
Additional Files Translations
No support by the author.
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.
/*===================================*\
|| Quick Account Switch
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Jul 03, 2009
||
|| Time required to install: ~30 seconds
|| Difficulty: easy
\*===================================*/
DESCRIPTION
This modification gives users the ability to easily switch between linked accounts. Accounts can be linked by administrators via admincp or by users via usercp as long as these users know the passwords for both accounts. Optionally, you can disallow users to link and unlink accounts from the usercp.
STATISTICS
File Uploads: 1
Products to Install: 1
FEATURES
Adds AdminCP and UserCP controls to link and unlink accounts.
Allows to easily switch between linked accounts from the navbar.
Allows to disable the public UserCP controls and leave just the AdminCP part.
VERSION HISTORY
1.1.0 [+] Compatible with vBulletin 3.5.x - 3.8.x. [+] Removed all template modifications. [+] Added option to disable usercp controls for linking accounts.
1.0.1 [+] The modification is now officially compatible with vBulletin 3.6. [+] The hack has been optimized and now performs much less queries than before. [+] Users now can link accounts without an administrator as long as they know the passwords for both accounts.
JumpD and I have reported different issues. In my case, I can log out account B, and then log back in as account A, and still have full access to account B by the Quick Account Switch menu. It doesn't ask me for account B's password ever again. I am not sure if that's intended behavior by your hack or not.
Yes, that is intended behavior. Quick switch = no password required to switch into linked accounts.
Quote:
I don't want anyone else to be able to use this but myself. Like you said, linking to another's account could cause problems. This way I never have to worry about disgruntled staff or anything like that.
Don't allow anyone but yourself to edit users. Or do you want a separate permission for this?
Quote:
Ahh, then that would be the SuperAdmin only anyway, right?
No, non-superadmins also 'canadministerusers' if you enable their permission to do so.
So, as a SuperAdmin I can link my primary account to my test account and then swich accounts without th eneed to log in again... When that switch is done my test account will have the permissions based on the group settings it belongs to. I can then switch back to the Admin group and continue working...
I love the idea at least for my development board... I'll have to try it tonight.
Another possible use is for a household where two people share a computer and both are members of your forum. Routinely I will see them post as the other person by mistake. And sometimes they ask if they can both just share one account to keep things easier. (Logging in and out can be a drag after awhile.)
And so with this hack, they can request to be "linked" and then they can more easily switch back and forth between the two accounts.
It seems to me that on large boards, it would be more advanteous to allow the users to link themselves.
I think that might cause some problems, however...
Ok, I would like to put in a feature request. Whenever I am logged in as one user, and switch to another - it says both users are logged on, but only will show the one you are currently logged in as in the WOL. Is there a way to at least show the previous user you were logged in as in the WOL until the typical WOL time-out?
It seems to me that on large boards, it would be more advanteous to allow the users to link themselves.
That would be insecure though.
Quote:
Ok, I would like to put in a feature request. Whenever I am logged in as one user, and switch to another - it says both users are logged on, but only will show the one you are currently logged in as in the WOL. Is there a way to at least show the previous user you were logged in as in the WOL until the typical WOL time-out?
No, multiple sessions per same system may cause problems.
I don't see a security issue here at all. If the user had to have the username and password prior to adding the "quick switch" account, then where is the security hole? That is no different amount of security problems as logging out the then back in as another user.
I don't see a security issue here at all. If the user had to have the username and password prior to adding the "quick switch" account, then where is the security hole? That is no different amount of security problems as logging out the then back in as another user.
I fail to see the problem.
The problem would be in setting up the link. Unless it's done the way you make friends on myspace (request-accept/decline) - it would be an issue.
The problem would be in setting up the link. Unless it's done the way you make friends on myspace (request-accept/decline) - it would be an issue.
That is why I suggested you allow the user to do it him/herself and require the account login and password before letting it happen. This would prove that this person is the owner of the account in question. I still do not see a real use for this (at least for me) unless the users can do it all on their own. Otherwise, it is just way too much work for an admin to do for all the users I have on my site.
This will make testing mods and permissions so much easier... It was on my development board for less then 5-minues before I installed on my main board... THANK YOU! :banana: