Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quick Account Switch Details »»
Quick Account Switch
Version: 1.1.0, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

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.

1.0.0
Initial Release (Port of Quick Account Switch by Ianomed)

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 05-07-2006, 09:49 PM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very useful!

I got sick of relogging in and shit!
Reply With Quote
  #33  
Old 05-07-2006, 10:20 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder why it doesn't work with vba cmps by default... vba cmps uses the same global.php as far as I know. I'll check though.
Reply With Quote
  #34  
Old 05-07-2006, 10:27 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to make this available to certain userids only? Maybe via the config.php file?
Reply With Quote
  #35  
Old 05-07-2006, 10:34 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo...
Your request does not make any sense.
Reply With Quote
  #36  
Old 05-07-2006, 10:38 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JumpD
Seems if you log out you have to log back in using the account you logged out as.
Quote:
Originally Posted by Psionic Vision
I'm going to look into the logout bug.
But please, give me the exact steps require to reproduce the problem.

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.

JumpD's issue seems to be that once he logs out, he can't easily log BACK in, or at least is having confusion over which account he can log in with.

In my case I was able to log out and log in using the same or the other account, but when logging in one person it ultimately gave me access to both accounts (even if one had "logged out" and cleared cookies.)

So what is the intended behavior? Then I can tell you steps to reproduce the 'bug.'
Reply With Quote
  #37  
Old 05-07-2006, 10:39 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Any way to make this available to certain userids only?
The admin can just link those userid's manually in AdminCP. Not sure what you're requesting here.
Reply With Quote
  #38  
Old 05-07-2006, 10:49 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala
The admin can just link those userid's manually in AdminCP. Not sure what you're requesting here.
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.
Reply With Quote
  #39  
Old 05-07-2006, 10:59 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
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.

As Psionic Vision said above:

Quote:
Only administrator with 'canadministerusers' permission can link/unlink accounts from admincp.
Reply With Quote
  #40  
Old 05-08-2006, 12:19 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala
As Psionic Vision said above:
Ahh, then that would be the SuperAdmin only anyway, right?

Thank you, sir.
Reply With Quote
  #41  
Old 05-08-2006, 12:44 AM
InsaneContender InsaneContender is offline
 
Join Date: May 2003
Location: Sacramento, CA
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any thought on the CMPS issue?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09840 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete