The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Messed up CSS after set_authentication_cookies
HI Everyone,
I have a weird issue that might be a race condition, but I was hoping for another set of eyes. Based on a previous set of criteria, I log a user into vbulletin after creating their account. The code for login is: When it displays the "Thank you for logging in" redirect page, the page has no CSS and is right justified. When it eventually gets to forum home, the page formatting is all messed up. I was wondering if someone could point me in the direction of what causes this. Code:
require_once('./includes/functions_login.php'); $vbulletin->userinfo = fetch_userinfo($user_ID); $cookieuser = '1'; process_new_login($logintype, $cookieuser, $cssprefs); set_authentication_cookies(true); do_login_redirect(); Thanks for any assistance! john --------------- Added [DATE]1328128081[/DATE] at [TIME]1328128081[/TIME] --------------- Hi All, I've figured out what is causing the problem. I'm using global_start as my plugin hook, and since CSS is proxied through php, it attempts to load my plugin inside the CSS sheet. Is there another hook that I could use that is on every forum/thread/display page, but not in other PHP files? Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|