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)

HellBoy 11-12-2007 10:22 AM

Great, this is just what I was looking for! :)

rayw 03-06-2008 09:21 AM

Anyone have this running on 3.7 by any chance???

rayw 03-06-2008 07:47 PM

Ok, it does work with 3.7 but the code in the navbar is a little different. Apart from that, the product installs perfectly as far as I can tell.

plothook 04-26-2008 02:31 AM

Anyone else having problems with this and the new security tokens in 3.6.10?

The problem shows up when you make new linkages, but the actual switching still works perfectly.

plothook 04-26-2008 05:34 AM

found the problem
edit template USERCP and find where you added (when you added this product):
Code:

<input type="hidden" name="s" value="$session[sessionhash]" />
and after it, add
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

-----------------------------------------------------------------------
EDIT: The above is all you need to fix the issue, but what I ended up doing was take all the code out of USERCP and made a new template called qas_usercp

and then added a plugin for this product at usercp_complete with the following code
Code:

eval('$template_hook["usercp_main_pos6"] = "' . fetch_template('qas_usercp') . '";');
and changed the code in the cache_templates plugin for this product to:
Code:

$globaltemplates[] = 'qas_switchbit';
if (THIS_SCRIPT == 'usercp') {
        $globaltemplates[] = 'qas_usercp';
        $globaltemplates[] = 'qas_userbit';
}

And then I reverted template USERCP - reverted templates are good. Once less template to review at the next upgrade!

VPI97 04-26-2008 04:35 PM

plothook - Could you be a little more specific with what you did to fix the issue? I'm having a little trouble following along.

Thanks

Edit - Nevermind, I figured it out

lostgirl815 05-25-2008 11:11 PM

Has anybody tried this on 3.7 yet?

Veer 06-04-2008 10:41 PM

any update?

Veer 06-14-2008 08:54 AM

Doesn't work with vb 3.7.0

Getting error:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Any help?

lostgirl815 06-15-2008 06:19 AM

Thanks for posting that. Rats! I used that one for a lot of games.


All times are GMT. The time now is 06:30 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.01594 seconds
  • Memory Usage 1,731KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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