The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey guys, i bought VB just yesterday and already have it integrated with my site (hand integrated, no portals) but i had a little problem.
I have a few "admin-only" pages, which i have used global.php to protect it from unauthed use. PHP Code:
BUT! the links to either login or log out point to login.php in the current directory, which doesnt exist. How can i set it so any links used are set statically and not relative? It would be great if someone could help with that |
#2
|
|||
|
|||
![]()
well one way to do it; providing the protected files are in a sub directory of your main forum is to copy global.php from the admincp directory into your protected files directory and require it on every protected page, it'll do the rest for you. Same thing cept with global.php from modcp directory if you want to make mod only pages.
this will only work if the files (both global.php and the protected file) are in the same dir which is a sub dir of your main forum ie: www.yourforums.com/forum/protecteddir/file.php |
#3
|
|||
|
|||
![]()
yer not really what i was after.
The files are not in the forums at all.. i chdir to the forums directory and its fine.. however the links/forms are stuffed. If i could redirect everything to http://forums.domain.com/<action> that would work like a charm.. but im unsure how one would go about that. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|