The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom page login issue
Ive created custom page that has login...
when I login it loads and when the loading is done, it still shows logged out, exept if I go to vBulletin page that is not custom made, then I'm logged in... when ever I go to my custom page then I'm back to logged out, but actually I'm logged in but showing logged out... My custom page is outaide vBulletin installation folder called "forum" |
#2
|
||||
|
||||
If it's outside the /forum directory, then you probably need to move a bunch of required files to outside the /forum directory also. You should use a browser webmaster tool to see which files aren't being called by your script (assuming you used the tutorial in the vB4 Articles section to create the custom page).
|
Благодарность от: | ||
ForceHSS |
#3
|
|||
|
|||
I can never get it straight how error messages are controlled so in every project I build I put this at the top
Code:
ini_set('display_errors', 1); Then after your required files I would put in Code:
echo 'userid = ' . $vbulletin->userinfo['userid']; |
Благодарность от: | ||
Lynne |
#4
|
|||
|
|||
Ok, now I'm stuck there...
Code:
userid = Unable to add cookies, header already sent. File: /home/domain/public_html/index.php Line: 3 |
#5
|
|||
|
|||
Well, my echo line isn't working. I think it doesn't know your userid.
Try a plugin in "load_show_variables", and put that echo line in there and comment it out in your custom file. Try it just once and then turn off the plugin or it will echo that on every page. It should take just a few seconds |
#6
|
|||
|
|||
I see header, navbar... everything, but still shows me as "not logged in" but actually I'm logged it.
|
#7
|
|||
|
|||
If you don't see "userid = " above the regular page styling I suspect includes/class_bootstrap.php did not open a stream.
Does it show on other pages? If so turn off that plugin so it doesn't interfer with other pages |
#8
|
|||
|
|||
on my custom page it says:
userid = 0 in normal vB4 pages userid = 1 |
#10
|
|||
|
|||
oky, thx, will wait
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|