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

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
  #42  
Old 09-06-2010, 03:49 PM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure whether this is a bug;

I got 4 accounts using different styles; switching users do not change the styles
Reply With Quote
  #43  
Old 09-17-2010, 02:14 PM
Alisa Lindsay's Avatar
Alisa Lindsay Alisa Lindsay is offline
 
Join Date: Aug 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I use this modification at all 3 of my boards and have used it for years and years. It's invaluable to my roleplaying groups since most members have multiple characters.

However, I have discovered a bug that seems to be linked to this mod in 4.06 (only one board on 4.06 right now).

When I view another member's profile page, their avatars and profile pictures show as the unknown.gif. This happens even when I look at my other account's profiles that are linked to my primary account. On the other hand, when I Quick Switch to the other account, I can then see the profile images with no issues.

Anyone else have this issue in 4.06 + ? Is there a fix for it ?

Regards,

Alisa
Reply With Quote
  #44  
Old 09-20-2010, 08:17 AM
Alisa Lindsay's Avatar
Alisa Lindsay Alisa Lindsay is offline
 
Join Date: Aug 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alisa Lindsay View Post
Hello,

I use this modification at all 3 of my boards and have used it for years and years. It's invaluable to my roleplaying groups since most members have multiple characters.

However, I have discovered a bug that seems to be linked to this mod in 4.06 (only one board on 4.06 right now).

When I view another member's profile page, their avatars and profile pictures show as the unknown.gif. This happens even when I look at my other account's profiles that are linked to my primary account. On the other hand, when I Quick Switch to the other account, I can then see the profile images with no issues.

Anyone else have this issue in 4.06 + ? Is there a fix for it ?

Regards,

Alisa
Update: Just discovered similar issue on 4.03. On 4.03, we can see the profile pictures but not the avatars, it goes to the default avatar image.

Please, can we get a fix?

Warmest Regards,

Alisa
Reply With Quote
  #45  
Old 10-04-2010, 06:57 PM
Alisa Lindsay's Avatar
Alisa Lindsay Alisa Lindsay is offline
 
Join Date: Aug 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alisa Lindsay View Post
Hello,

I use this modification at all 3 of my boards and have used it for years and years. It's invaluable to my roleplaying groups since most members have multiple characters.

However, I have discovered a bug that seems to be linked to this mod in 4.06 (only one board on 4.06 right now).

When I view another member's profile page, their avatars and profile pictures show as the unknown.gif. This happens even when I look at my other account's profiles that are linked to my primary account. On the other hand, when I Quick Switch to the other account, I can then see the profile images with no issues.

Anyone else have this issue in 4.06 / 4.03 + ? Is there a fix for it ?

Regards,

Alisa
I hate to bump my own issues...but still looking for an answer to this issue. I realize this mod is not supported, but this is a pretty major user-impacting bug.

Thanks and Regards,

Alisa
Reply With Quote
  #46  
Old 10-11-2010, 11:04 AM
Joseph Witchard Joseph Witchard is offline
 
Join Date: Jul 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alisa Lindsay View Post
I hate to bump my own issues...but still looking for an answer to this issue. I realize this mod is not supported, but this is a pretty major user-impacting bug.

Thanks and Regards,

Alisa
Hi I also run an RPG forum. I'm using this mod on 4.0.5, but I have experienced no such trouble with such an issue. I don't know if that narrows it down to what it might be for you, but I thought I would let you know just in case.
Reply With Quote
  #47  
Old 10-11-2010, 09:40 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merjawy View Post
Can you add the option for user group permission? I like to allow SMODs also to use it if I could like it was with vB 3 mod
I think that having option for usergroup permissions is very important, I like to enable some things to some usergroups and not to others.

Also, I think that even admins should know pass of users that they would link.
Reply With Quote
  #48  
Old 10-12-2010, 03:20 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to check usergroup with if statement in php?

This line checks if it's allowed for users to use this plugin:

if ($vbulletin->options['psi_qas_allow_front_end_linking'])

I can change variable psi_qas_allow_front_end_linking to represent allowed usergroups, but I don't know how to phrase correct if statement to check if user is member of it.
Reply With Quote
  #49  
Old 10-12-2010, 04:22 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boko577 View Post
I love this idea and mod, but I've got a few worries... Let's say I have another admin, that doesn't have full admin abilities, but does have some like editing users. So he could easily go to his profile and edit it and add my profile to it without needing a password. Then he could get on my account and have all abilities. I think this needs to be changed! Make it so only the superadmin can add/disable linked accounts. And make it so other admins can only do it if they have the other account's password.
Quote:
Originally Posted by Alan_SP View Post
I think that having option for usergroup permissions is very important, I like to enable some things to some usergroups and not to others.

Also, I think that even admins should know pass of users that they would link.
Ok, I solved everything that bothered me and found a way around for Boko577.

Now you can control whether you want to allow admins without right to administer plugins to use it via AdminCP. You just go to Plugin manager, find "QAS: Admin Controls" in "Product : Quick Account Switch" and turn it off, or use changed xml I attached.

I enabled you to choose which usergroups can link another accounts and it's done in UserCP, so they must know pass. Also, by default plugin for using it in AdminCP is turned off. If you want to turn it on, just go to plugin manager and enable it (QAS: Admin Controls). Or, you can edit my file and enable it from the start.
Attached Files
File Type: xml product-psi_qas - my version.xml (18.7 KB, 19 views)
Reply With Quote
  #50  
Old 10-25-2010, 08:55 PM
Dominico Savio Dominico Savio is offline
 
Join Date: Sep 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed then uninstalled because it break the layout with so hundreds lines of warning

HTML Code:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: Display_Visitors_User in [path]/includes/functions.php on line 4007
Reply With Quote
  #51  
Old 10-27-2010, 06:13 AM
Haenk Haenk is offline
 
Join Date: Dec 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for this perhaps easy question from an German.
Where can I link to other User-Account in Admin CP?
I can link in usercp, but can't find the option in admincp.
Many thanks!
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 11:35 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.05454 seconds
  • Memory Usage 2,360KB
  • 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
  • (1)bbcode_html
  • (6)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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_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