vb.org Archive

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

akanevsky 11-27-2006 10:00 PM

Quick Account Switch
 
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

akanevsky 11-28-2006 09:29 PM

<font size="3">First Post Reserved.</font>

Mecho 11-28-2006 09:36 PM

Thanks . sounds good .

thedvs 11-28-2006 09:48 PM

the old 3.5.4 upwards version works on v3.6.4 too

Valter 11-28-2006 09:53 PM

Thanks for update.

What about option to allow or not users to link accounts without administrator?

Btw you are missing upgrade info.

voteforbird 11-28-2006 10:03 PM

Very cool, thank you.

akanevsky 11-28-2006 10:10 PM

Quote:

Originally Posted by thedvs (Post 1127603)
the old 3.5.4 upwards version works on v3.6.4 too

You are correct. The 3.5 version, however, was not posted in the 3.6 section.

Quote:

What about option to allow or not users to link accounts without administrator?
-> Please see the changelog. Thanks.

Sorry, the upgrade instructions are as follows (I assumed you reverted everything since 3.6 upgrade):
Re-upload the files.
Re-upload product xml.
Cancel previous template modifications, do the new ones instead.

projectego 11-28-2006 11:19 PM

Cool hack. Thank you. :)

Slave 11-29-2006 02:37 AM

Hi :)

Nice hack .. a couple of things ..

When you enter an incorrect username in the UserCP you get an error message "Could not find phrase 'badlogin_strikes'" .. perhaps use the same '5 goes and your out' type protection as vBMS does on normal account login?

The "Quick Account Switch" drop down menu in the welcome box doesn't seem to work on vBa CMPS pages. Do you know what is needed to get this to work?

Thanks :)

Slave 11-29-2006 02:58 AM

Quote:

Originally Posted by Slave (Post 1127794)
The "Quick Account Switch" drop down menu in the welcome box doesn't seem to work on vBa CMPS pages. Do you know what is needed to get this to work?

Looks like adding "switchbit" to "Portal Output Global Variables" in vBa's Default settings page did the trick :)


All times are GMT. The time now is 07:44 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.01068 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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