The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to make php file look like forum style.
Okay, I've made a linkchecker that checks rapidshare links. the code i've used is .
Quote:
$header in it just shows that as text. I was figuring there would be somthing i would need to do in Style Manager but i could not see what i would need to put into it! |
#2
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=62164" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=62164</a>
|
#3
|
||||
|
||||
You should use a template to spit out your html. See either of these articles: How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc.
|
#4
|
|||
|
|||
Okay, Cheers i'll look into it and post my replys
--------------- Added [DATE]1219430810[/DATE] at [TIME]1219430810[/TIME] --------------- Alright, I've done that. I followed https://vborg.vbsupport.ru/showthread.php?t=98009 seemed alittle better. it works a charm and the [mysite].net/linkchecker.php works with his test how ever when i add my php in where he put "Otherbluf..." Quote:
Quote:
"Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/warezuni/public_html/linkchecker.php(47) : eval()'d code on line 58" Anyone know what i've done wrong? |
#5
|
|||
|
|||
Bump .
|
#6
|
||||
|
||||
It's hard to tell since we have no idea what the line numbers are for your code. You should attach your page and then give us the exact error again so we know what lines are giving the error.
|
#7
|
|||
|
|||
Alright, I've uploaded the php file as a .php so you can open in dreamweaver or w/e
error i get is Quote:
|
#8
|
||||
|
||||
You need to put in all the header stuff for a page. You can't start a page out with the basic html stuff, you need to start with stuff like in the source code for this page:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <title>whatever</title> </head> <body> |
#9
|
|||
|
|||
No i have
Quote:
|
#10
|
||||
|
||||
Where do you have that? It's nowhere in the file you attached. You cannot call a php script in a template. You need to call the template from the php script. Look at the articles I linked to in post 3.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|