Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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

Category: Profile Enhancements - Version: 3.8.x Rating:
Released: 07-02-2009 Last Update: 07-02-2009 Installs: 132
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

Download Now

File Type: zip Q.A.S_1.1.0_by.Psionic.Vision.zip (10.3 KB, 630 views)

Screenshots

File Type: png screenshot01.png (41.2 KB, 0 views)
File Type: png screenshot02.png (12.2 KB, 0 views)
File Type: png screenshot03.png (15.8 KB, 0 views)
File Type: png screenshot04.png (17.3 KB, 0 views)
File Type: jpg screenshot05.jpg (38.6 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 08-21-2009, 01:12 PM
numsi's Avatar
numsi numsi is offline
 
Join Date: Feb 2006
Location: Greece
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merjawy View Post
I did figure it out.. I used [musername] instead of [username] to show the color.. I took the "m" out and all works now.
Hello Merjawy

I think we have the same mod installed: Username HTML Markup in Navbar.

I have made the changes in the QAS: Handle Switch global_start and everything works fine...all so with the colored Usernames in the Navbar.

Go to -> Admin CP -> Plugins & Product -> Plugin Manager and find the: QAS: Handle Switch global_start

Open it for edit.

Find:

Code:
	$find_string_v1 = compile_template('<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong>');
	$find_string_v2 = compile_template('<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong>');

and change it to:

Code:
	$find_string_v1 = compile_template('<strong><phrase 1="$bbuserinfo[musername]">$vbphrase[welcome_x]</phrase></strong>');
	$find_string_v2 = compile_template('<strong><phrase 1="$bbuserinfo[musername]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong>');

Add only the m in red and everything work.

Hope that help
Cheers numsi
Reply With Quote
  #33  
Old 08-22-2009, 12:44 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks numsi,....

no I am not really using a mod for that.. I just went in and edited navra myself I didn't know there was a mod already...

I did look into one of qas templates but got kinda late and went to sleep..

thanks for the help I will do that so I can get name colors back in navbar..


cheers


EDIT: works great.. thanks
Reply With Quote
  #34  
Old 09-01-2009, 07:17 PM
Joseph Witchard Joseph Witchard is offline
 
Join Date: Jul 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you interlink accounts? Like, if I have Account A linked to Account B and Account C, when I switch to either one of them, they only link back to Account A. Could I go into Account B and Account C, link them together, and be able to switch to any account from any account I'm currently logged in as?
Reply With Quote
  #35  
Old 09-01-2009, 09:05 PM
aymelek aymelek is offline
 
Join Date: Jun 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I prevent users from linking their own accounts? I just want this ability in the Admin CP.
Reply With Quote
  #36  
Old 09-02-2009, 08:24 PM
Wheezy's Avatar
Wheezy Wheezy is offline
 
Join Date: Jun 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very convenient; thanks!

/me clicks install.
Reply With Quote
  #37  
Old 09-05-2009, 12:06 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aymelek View Post
How can I prevent users from linking their own accounts? I just want this ability in the Admin CP.
Use vBulletin Options -> Quick Account Switch Options
Reply With Quote
  #38  
Old 09-05-2009, 11:07 AM
Cause4Chaos Cause4Chaos is offline
 
Join Date: Oct 2007
Location: Canada
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way for moderators to use this as well as the admins and no body else
Reply With Quote
  #39  
Old 09-05-2009, 05:32 PM
mattwmc2001 mattwmc2001 is offline
 
Join Date: Jun 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Time required to install: ~30 seconds

product-psi_qas

Where does this go?

*Nevermind, found where, lol: Manage Products-Import Product

Now where do I link the accounts, lol?
Reply With Quote
  #40  
Old 09-06-2009, 09:27 AM
Log on Log on is offline
 
Join Date: Aug 2009
Location: KSA
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice

but when I disabled the users to link the accounts... how I can link the accounts from the cPanel as administrator ?

thank u
Reply With Quote
  #41  
Old 09-08-2009, 04:11 PM
kourou kourou is offline
 
Join Date: Feb 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I installed the plugin in my forum and I have the following question:
I have a common Moderator account and linked all users that are moderators to that account. The problem is that when switched to that Moderator account, the can switch back to any other account linked to Moderator account. So what I would like to know is if there is any way to do "one-way" linking or something like that.

For example:
A is linked to C
B is linked to C
When A switches to C, it can switch back to B, which is not exactly what I'm looking for.

Thanks in advance for any answer,
Ilias
Reply With Quote
Reply

Thread Tools

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 07:45 PM.


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.05311 seconds
  • Memory Usage 2,340KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (6)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete