The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]() ![]() Hi, I am stuck trying to set up my "chdir" and "php include" I am trying to set up a hack so that the hack "webwelcome" will work on a non VB page. the problem is that the forums are situated at www.glo-racing.com/forums and the webwelcome hack is situated at www.glo-racing.com/v3/test1.php the webwelcome appears to display properly but the links dont match up because they are in a directory situated 1 above. I dont know how to amend this within php? Any help is greatly appreciated! |
#2
|
||||
|
||||
![]()
If the HTML links are wrong, it's not a PHP problem. You need to go through the template that makes up this page:
http://www.glo-racing.com/v3/test1.php And make sure all links are absolute (i.e http://www.site.com/forums/member.php) and NOT relative (i.e ../forums/member.php). |
#3
|
||||
|
||||
![]()
thanks Firefly, i will try to look use absolute paths from now on!
Does that lengthen the loading time or increase load on the server by using the absolute path? Would it be possible for you to have a look at www.glo-racing.com/v3/main.html and view the source code as this is the code for www.glo-racing.com/v3/main.php which parses the code. I dont think its a html problem here? |
#4
|
||||
|
||||
![]()
Does using the absolute path lengthen the loading time or increase load on the server?
|
#5
|
||||
|
||||
![]()
little paranoid i see? LoL .. no it doesn't .. if it did i probably wouldn't be using php
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|