PDA

View Full Version : Custom Vbulletin Page with PHP


AWI
12-08-2005, 06:51 PM
I need to create a brand new template that contains a PHP script in the main content section. I have tried but it only diplays the php code...thanks

Guest190829
12-08-2005, 06:54 PM
Your templates can not contain any php code

2fast4ya
12-08-2005, 07:16 PM
oooooooooooooo he told you

lol just kidding ;)

Cyricx
12-08-2005, 07:23 PM
You'll have to embedd it inside hooks for whatever page you are viewing the template on. If the template is on all pages, use global_start if its just on the forumhome use forumhome_complete plugin.

Once you define the variables in the plugins, you can call them in a template.

AWI
12-08-2005, 10:19 PM
Hmm, I will try that thanks