The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Getting trouble in making vbb powered custom page
I did all the things follow to this thread:https://vborg.vbsupport.ru/showthread.php?t=62164
and i got a blank page,here is the code in test.php: PHP Code:
HTML 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> PHP Code:
how can I solve this problem? --------------- Added [DATE]1231721034[/DATE] at [TIME]1231721034[/TIME] --------------- ps: vbb version is 3.8.0 |
#2
|
|||
|
|||
Are you sure if the page has access to global.php?
|
#3
|
||||
|
||||
Is the page in the same directory as all the other vbulletin forum pages?
|
#4
|
|||
|
|||
yes,it's in the same path as index.php is.
I tried to rename test.php to index.php or other existing vbb files, it works. It seems vbb is preventing me to use custom file, is there a setting doing such stuff?(prevent using custom file) |
#5
|
||||
|
||||
You shouldn't need this line in the file (try removing it):
PHP Code:
|
#6
|
|||
|
|||
Quote:
--------------- Added [DATE]1231744615[/DATE] at [TIME]1231744615[/TIME] --------------- I changed the last part of code FROM PHP Code:
PHP Code:
|
#7
|
|||
|
|||
Seems I read somewhere that this code needs to be in all pages now?
PHP Code:
|
#8
|
|||
|
|||
Thanks bro. But, it doesn't help. I added that code, and still, a blank page.It seems I can't use print_output?
--------------- Added [DATE]1231755923[/DATE] at [TIME]1231755923[/TIME] --------------- ok I tried to dig in the print_output function, and found the script stopped at fetch_gzipped_text()'s PHP Code:
so anyone please help me --------------- Added [DATE]1231755962[/DATE] at [TIME]1231755962[/TIME] --------------- btw $encoding is "gzip" --------------- Added [DATE]1231758947[/DATE] at [TIME]1231758947[/TIME] --------------- when I save test.php in utf-8 without BOM, all trouble gone... anyone can tell me whta is BOM ? |
#9
|
||||
|
||||
Are you sure you're visiting the page in the style you created the template in? That's usually why you'll get a blank page.
|
#10
|
|||
|
|||
I'm having this problem too, so i need a solution as well.
EDIT. I'm a fool. I ftp'd the php file before i saved what i copied and pasted. All is well now. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|