![]() |
How to add PHP in a custom template file?
I'm trying to make dynamic pages by using the tutorial on this page.
https://vborg.vbsupport.ru/showthread.php?t=228112 I've gotten it to work and all, but the only problem I have is adding PHP to the page. I've followed everything here. http://www.vbulletin.com/docs/html/t..._externalfiles What I did was I enabled plugins / hooks. I made a new plugin, global_start, etc. I dragged a file called test.php into my forum root, and I inserted the following code into the plugin. PHP Code:
|
try:
- filling in the complete path for example /complete/path/etc/test.php - register template you are using where name of the template is "yourtemplate" like this: PHP Code:
|
Thank you!
|
All times are GMT. The time now is 05:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|