The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
i add php page it;s not working plz help me what i am doing wrong
here is a Link http://www.mknexusonline.com/content/mkgames/test.php i also post there but nobody replay |
#2
|
||||
|
||||
![]()
What code are you using?
|
#3
|
|||
|
|||
![]() |
#4
|
||||
|
||||
![]()
In order for us to help, you need to post your code. Post the php code and the template.
|
#5
|
|||
|
|||
![]()
i used same that code copy paste
https://vborg.vbsupport.ru/showthrea...light=new+page this below code for my test.php PHP Code:
and this is my Template code Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">Title</td> </tr> <tr> <td class="alt1">Text</td> </tr> </table> $footer </body> </html> |
#6
|
||||
|
||||
![]()
Is this page located in the same directory as all your other vbulletin files? And are the permissions set correctly (644 I think)? And is the template named "TEST" (all caps)?
|
#7
|
|||
|
|||
![]() Quote:
well my forums address is www.mknexusonline.com/forums/ and where as i want add this page here http://www.mknexusonline.com/content/mkgames/test.php and i did not add forums/ vb files on this path http://www.mknexusonline.com/content/mkgames/test.php and yes and Template name is TEST in all caps |
#8
|
||||
|
||||
![]()
Well, you can't call global.php in your page that way since you are in a different directory now. So, you need to change directories, and then call global.php. Add something like this before your global call:
Code:
chdir('/full/path/to/your/site/forums'); |
#9
|
|||
|
|||
![]()
can u plz tell me which directory should i copy or need to change directories can you plz tell me in brief or step by step i really appricate to you
|
#10
|
||||
|
||||
![]()
I just told you want to do. You need to put that line before the call to your global.php page and put in the path to where to find that file. I don't know what the full path to your site is, so I can't tell you anymore than that.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|