vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Quick Account Switch v1.2 (https://vborg.vbsupport.ru/showthread.php?t=70971)

Ianomed 10-26-2004 10:11 AM

Quote:

Originally Posted by Oblivion Knight
Hmm.. The ids were only separated by a commar and not a space.

It appears that the session has to be active before it can be switched. I successfully switched from my account to "Test Account", when trying to switch back I got the error occured while logging out again. I tested this again, this time clicking on a forum and returning to the forum home with Test Account, and switching back worked fine.

It appears that a bit more work is required with the queries or something, hopefully this issue is fixed with 1.1.. :)

The sessions are now permanent ones in 1.1.

Other than that, what you describe is a design feature: you cannot switch to a slave/master account if you're not logged on as one of those accounts. The sessions timing out rather quickly in 1.0 then caused what you experienced ;)

So with 1.1 as now sessions switched to are there to stay until you log out specifically (I think a year it is, by default), this shouldn't happen after the upgrade and logging in once.

Ianomed 10-26-2004 10:12 AM

Quote:

Originally Posted by kaotic
Genious! I've already thought of a creative method of use for this hack. Many thanks! :)

Care to share, Kaotic?
I'd like to expand the possible uses of the hack in the first post :D

Ianomed 10-26-2004 10:32 AM

Quote:

Originally Posted by bondjetta
Ok, it's running well for me :) but no integration to VBindex. :(

vBulletin Version 3.0.3 & vBindex Version 3.0.0 RC5

oh wait, i don't care :D this is fantastic :D Thank you

My pleasure :)

Not having worked with vBindex myself... if it makes use of vB's global.php, then it stands to reason you can intro the $master_account variable in the vBindex template as well, to have the dropdown appear ;)

If you can confirm that works or not, then if it doesn't I'll work on the integration when I have the time.

bondjetta 10-26-2004 11:06 AM

Quote:

Originally Posted by Ianomed
My pleasure :)

Not having worked with vBindex myself... if it makes use of vB's global.php, then it stands to reason you can intro the $master_account variable in the vBindex template as well, to have the dropdown appear ;)

If you can confirm that works or not, then if it doesn't I'll work on the integration when I have the time.

i'll give it a shot :) then let you know

Lionel 10-26-2004 12:26 PM

I nominate this for the hack of the month.

Ianomed 10-26-2004 12:32 PM

Why thankee kind Sir Lionel *bows*
Much obliged :)

Next month's HotM hopefully, if it comes to pass, this month drawing to a close fast.

The way things currently look here I'll have v1.2 ready end of next week, or sometime the week thereafter, with the improvements I outlined in the first post (for that version).


(Edit: might've been unclear I thanks Lionel, since it showed up on a pagebreak ;))

bondjetta 10-26-2004 12:53 PM

Quote:

Originally Posted by Ianomed
Why thankee kind Sir *bows*
Much obliged :)

Next month's HotM hopefully, if it comes to pass, this month drawing to a close fast.

The way things currently look here I'll have v1.2 ready end of next week, or sometime the week thereafter, with the improvements I outlined in the first post (for that version).

Ok, all I did was take the template addition from the Navbar template (as listed in the normal install instructions) and pasted it in after:

HTML Code:

<if condition="$showmemberwelcome">
        $vbphrase[welcome_back] $bbuserinfo[musername]!

in the VBINDEX template :) and it works fantastically! :)

versions: vBulletin Version 3.0.3 & vBindex Version 3.0.0 RC5

Ianomed 10-26-2004 12:57 PM

I had a feeling it just might do that, excellent :D

vBindex v3.0.0. RC5 will go up on the compatible hacks list shortly. Cheers for testing that combo, bondjetta.

D'you reckon the "Become:" should be phrased in the next version?

Edit: vBi is now listed as compatible in the first post.

bondjetta 10-26-2004 01:09 PM

Quote:

Originally Posted by Ianomed
I had a feeling it just might do that, excellent :D

vBindex v3.0.0. RC5 will go up on the compatible hacks list shortly. Cheers for testing that combo, bondjetta.

D'you reckon the "Become:" should be phrased in the next version?

Edit: vBi is now listed as compatible in the first post.

NO problem, glad to help :)

I don't mind the Become, it seems fitting (at least for my purposes)...and FYI i combined it with Nex's admincp cookie hack and it's working fine w/ vbindex & admin-cookie (i know you tested it, just a further test ;))...and helps me TREMENDOUSLY considering I normally have 3-4 tabs going at once w/ different user id's :D

Caiman 10-26-2004 01:12 PM

Great idea, my friend ;) I can see how this is going to be uberly useful for many people. Now get it installed for me :p (Im in uni, doing it myself is not an option from here)

Thanks Ianomedic :p


All times are GMT. The time now is 04: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.01584 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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