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

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

Category: Profile Enhancements - Version: 4.0.x Rating:
Released: 03-01-2010 Last Update: 03-02-2010 Installs: 175
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 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

Download Now

File Type: zip Q.A.S_2.0.1_by.Psionic.Vision.zip (9.9 KB, 868 views)

Screenshots

File Type: png screenshot01.png (10.1 KB, 0 views)
File Type: png screenshot02.png (3.8 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.
Благодарность от:
svyrydov

Comments
  #72  
Old 01-04-2012, 07:27 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uploaded modified xml file that enables that (also includes my previous modifications, read what I changed with older version), or you could manually edit your file, or your plugin.

You need to edit plugin: QAS: Handle Switch

At the end of plugin add this line:

PHP Code:
$template_hook['navbar_getnew_menu'] .= $add_string
You should have this:

PHP Code:
    $template_hook['navbar_end'] .= $add_string;
    
$template_hook['navbar_getnew_menu'] .= $add_string;

Now you should have QAS at What's new.
Attached Files
File Type: xml product-psi_qas - my version2.xml (18.8 KB, 30 views)
Reply With Quote
Благодарность от:
sweetpotato
  #73  
Old 01-06-2012, 10:42 AM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan_SP View Post
I uploaded modified xml file that enables that (also includes my previous modifications, read what I changed with older version), or you could manually edit your file, or your plugin.

You need to edit plugin: QAS: Handle Switch

At the end of plugin add this line:

PHP Code:
$template_hook['navbar_getnew_menu'] .= $add_string
You should have this:

PHP Code:
    $template_hook['navbar_end'] .= $add_string;
    
$template_hook['navbar_getnew_menu'] .= $add_string;

Now you should have QAS at What's new.
Thank you for your work. It's really useful
Reply With Quote
  #74  
Old 01-24-2012, 07:52 PM
Kat-2's Avatar
Kat-2 Kat-2 is offline
 
Join Date: Feb 2011
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great on 4.1.2 ♥
Reply With Quote
  #75  
Old 04-05-2012, 06:06 PM
LLent LLent is offline
 
Join Date: Aug 2010
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan_SP View Post
I uploaded modified xml file that enables that (also includes my previous modifications, read what I changed with older version), or you could manually edit your file, or your plugin.

You need to edit plugin: QAS: Handle Switch

At the end of plugin add this line:

PHP Code:
$template_hook['navbar_getnew_menu'] .= $add_string
You should have this:

PHP Code:
    $template_hook['navbar_end'] .= $add_string;
    
$template_hook['navbar_getnew_menu'] .= $add_string;

Now you should have QAS at What's new.


when i upgraded to 4.1.11 i lost it in the whats new how do i fix this ???thanks in advance
Reply With Quote
  #76  
Old 04-05-2012, 06:26 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still don't have 4.1.11, so I couldn't tell. But, you need to find the right hook. You could take a look in template and find out name of the hook now.
Reply With Quote
  #77  
Old 04-05-2012, 10:24 PM
DAMINK DAMINK is offline
 
Join Date: Jun 2010
Location: Melbourne Australia
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does not show up in my navbar but does on other themes.
Anyone know of a way to add this manually to the navbar?
Thanks.
Reply With Quote
  #78  
Old 05-21-2012, 04:41 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick fix for 4.2.0:

Replace in product XML, this:
Code:
$template_hook['navbar_end'] .= $add_string;
with this:
Code:
$template_hook['navbar_after_links'] .= $add_string;
Reply With Quote
3 благодарности(ей) от:
Alan_SP, Elenna, tankkiller
  #79  
Old 05-25-2012, 10:14 AM
Rckcrwlr Rckcrwlr is offline
 
Join Date: Dec 2008
Location: PA
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Valter View Post
Quick fix for 4.2.0:

Replace in product XML, this:
Code:
$template_hook['navbar_end'] .= $add_string;
with this:
Code:
$template_hook['navbar_after_links'] .= $add_string;
Just coming to ask...thanks
Reply With Quote
  #80  
Old 05-25-2012, 04:07 PM
Rckcrwlr Rckcrwlr is offline
 
Join Date: Dec 2008
Location: PA
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Valter View Post
Quick fix for 4.2.0:

Replace in product XML, this:
Code:
$template_hook['navbar_end'] .= $add_string;
with this:
Code:
$template_hook['navbar_after_links'] .= $add_string;


How do you change it? I have never dealt with XML. I tried to do it in Excel but it didn't work.

Can someone help with it?

Thanks
Reply With Quote
  #81  
Old 05-25-2012, 07:51 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open it in text editor you prefer, it is plain text. Find code you want to edit and just edit it.
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 10:38 AM.


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.04883 seconds
  • Memory Usage 2,366KB
  • Queries Executed 28 (?)
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
  • (6)bbcode_code
  • (6)bbcode_php
  • (4)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
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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