The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I tried and did make this www.ps-restoration.com/forums/status.php
But I'd like to move that OUT of the forums directory and make it /status/index.php How do I go at this? I used this guide and someone said use chdir but that didn't work: guide useD: https://vborg.vbsupport.ru/showthread.php?t=62164 Really I just need a page with my theme don't even need the used to be logged in or run permissions What can I do? --------------- Added [DATE]1361453968[/DATE] at [TIME]1361453968[/TIME] --------------- :love: --------------- Added [DATE]1361467167[/DATE] at [TIME]1361467167[/TIME] --------------- ;: anticipation:; |
#2
|
|||
|
|||
![]()
=]]
|
#3
|
|||
|
|||
![]()
Are you saying you have a custom script that includes global.php, but it doesn't work outside the forum directory? Then yes, you should be able to use chdir() to change to the forum directory before including global.php, like:
Code:
chdir('./forum'); require('global.php'); You may need to chdir() back to the original directory, depending on what else you script does. |
#4
|
|||
|
|||
![]()
I'm not sure I just followed the guide step by step, saw another post saying use chdir() but it didn't work.
|
#5
|
|||
|
|||
![]()
Ah, OK, then I guess you'd have to describe more about what you're doing, and maybe post some of the code if you can.
|
#6
|
|||
|
|||
![]()
Well right now its the same as his code except above
require('global.php'); I've added chdir('./forums'); and when I visit the page outside of the directory I get a can't load this page error My question is this: How can I copy my forums design with out having them logged in (don't care aboout that) |
#7
|
|||
|
|||
![]()
Sorry, but there's still not enough information to know what to tell you. You'd have to say exactly what the error is and maybe show your code.
The only other thing I can think to mention is that if it's an issue with the user not being logged in, then it's probably that you need to set the "Cookie Path" to '/' (under "Cookies and HTTP Header Options" in the admincp). |
#8
|
|||
|
|||
![]()
If I'm understanding correctly, I think you can just go File > Save page as - save the page as a HTML file, edit it by hand or in an editor, then upload it manually. Then it should include all the images and CSS from your design but won't use the forum to load them.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|