The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
I put the code on a page called test.php. If I open the browser and go to test.php in the browser session before I go to my forum index, I get the following error:
PHP Code:
If I visit the forum index, however, then reload test.php after that, the error message will be gone. Why is this? |
#12
|
||||
|
||||
![]()
you have to put:
PHP Code:
if you are sending another header on the php file then you need to put that code above below it. |
#13
|
|||
|
|||
![]()
It worked. I had a header include for the page which I had above the chdir and require code, but I moved it to the top and it seems to be working. Thanks
Two more questions... 1) How do I get the sessionhash to appear on non-vB pages? 2) Is there any way to access the cookied non-vB pages if I turn off the board through the Admin CP? |
#14
|
||||
|
||||
![]()
1) once you include the code above any of your pages you can add this to your links:
PHP Code:
2) if you include global.php into any script when you turn off the board it'll cause any of those pages to shut down as well. |
#15
|
|||
|
|||
![]()
I have test.php in a different directory than my forums, so when I close the board and go to test.php as a non-admin user, it gives me the "Please call back later" page but all of the URL and image paths are incorrect for obvious reasons (e.g. http://www.mydomain.com/forums/images/ will resolve to http://www.mydomain.com/images/ on this error page). Is there any way to get around the incorrect paths without moving test.php into the /forums/ directory?
|
#16
|
|||
|
|||
![]()
Set the images folder to the direct path. Set all smilies to the direct path.
|
#17
|
|||
|
|||
![]()
But what about all of the URLs left on the page? For instance, http://www.mydomain.com/forums/usercp.php shows up as http://www.mydomain.com/usercp.php
Can this be circumvented without having to do a massive editing of the templates? |
#18
|
||||
|
||||
![]()
go in the admin cp, and change the image path for the template.. for instance, if its forums/images change it to /forums/images
or /full/path/to/forums/images the above should work since that is how i have it setup on my site.. just add a forward slash / to the path. as for the links, its not really that much to edit.. all you have to edit is the template header for the links, just add a / to the links. It only takes 2 minutes ![]() if you are integrating your forums with the rest of the site it takes a few minutes, you can't expect to hit one button and have it integrated, its well worth the couple seconds it takes. ![]() |
#19
|
||||
|
||||
![]() Quote:
Couldnt find the reference about cookies in that thread! Could you help me out! Which is better? Cookies or sessions? What does vbulletin use as standard? |
#20
|
||||
|
||||
![]() Quote:
How do you include more than one usergroup? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|