The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I've created a .php file that outputs HTML. What i would like to do is ad a $ call in the templates, and have it pull only the HTML file of the .php file i created.
I've tried PHP Code:
PHP Code:
|
|
#2
|
|||
|
|||
|
nvm everyone i got it to work. 6 hours later
. No time for sleep!
|
|
#3
|
||||
|
||||
|
For those looking for this solution, your myfile.php must end with a
PHP Code:
|
|
#4
|
|||
|
|||
|
I thought about doing a condition that would allow you to do this for html output within templates:
<include="/path/to/file" /> Any intrest, let me know
|
|
#5
|
|||
|
|||
|
Well there is 2 ways to do this. Globaly or just one page.
If your going to do one page like i needed. On my forumhome page. I just opened index.php and added the following line just before the navbar and header veriables. PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|