vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - Quick Account Switch (https://vborg.vbsupport.ru/showthread.php?t=237286)

akanevsky 03-01-2010 10:00 PM

Quick Account Switch
 
1 Attachment(s)
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 4.0.x
|| Released : Mar 02, 2010
||
|| 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

2.0.1
[F] Fixed a minor bug.

2.0.0
[+] Hack ported to vBulletin 4.0.x.

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

Jonluci 03-02-2010 01:03 PM

thanks
worked great in 4.0.2 :)

Kolbi 03-02-2010 02:49 PM

Is it possible to only allow for admin?

And that noone can see which accounts the admin own?

utahraves 03-02-2010 03:29 PM

Wow, looks dope!

akanevsky 03-02-2010 04:14 PM

Quote:

Originally Posted by Kolbi (Post 1995302)
Is it possible to only allow for admin?

And that noone can see which accounts the admin own?

Yes, go to vBulletin Options -> Quick Account Switch

madotds 03-02-2010 05:32 PM

That Sir is one sexy mod! I have test accounts set up to check different usergroup settings and it is a pain having to log in and out to test them, but now all I nead do is click a link in my navbar! Sweet.

MaDavis

Matt Slick 03-02-2010 08:42 PM

How do you make the switch? In the old one on 3.8 boards there was a pulldown next to the login name. But, that isn't showing up after the install.

Don't know why, but it isn't there. Am I missing something?

TalkVirginia 03-02-2010 09:13 PM

OMG!! This addon is SIC!! It Rocks! :D Thank you so much!!

Got my vote for MOTM! :D

Matt Slick 03-02-2010 09:57 PM

How do you make the switch? In the old one on 3.8 boards there was a pulldown next to the login name. But, that isn't showing up after the install.

I know that on the 4.x boards it is next to the quick links pulldown, but it doesn't show up there. Don't know why, but it isn't there. Am I missing something?

http://forums.carm.org/vbb/forum.php

Thanks for any assistance you might give. Our moderators really like this hack.

akanevsky 03-02-2010 10:22 PM

Quote:

Originally Posted by Matt Slick (Post 1995569)
How do you make the switch? In the old one on 3.8 boards there was a pulldown next to the login name. But, that isn't showing up after the install.

I know that on the 4.x boards it is next to the quick links pulldown, but it doesn't show up there. Don't know why, but it isn't there. Am I missing something?

http://forums.carm.org/vbb/forum.php

Thanks for any assistance you might give. Our moderators really like this hack.

Please see the following screenshot.
https://vborg.vbsupport.ru/attachmen...7&d=1267541418


All times are GMT. The time now is 07:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02591 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete