PDA

View Full Version : Possible to use PHP in vB page templates?


King Justice
06-07-2008, 04:00 AM
Hi.

Is it possible to use PHP in vB page templates? :confused:
I want to do a PHP include...so I don't have to keep editing the file and going back and forth with it to update it.

Is this possible? Can I use PHP in the vB template system?

Lynne
06-07-2008, 04:16 AM
You cannot use php in the templates. You need to include the php by creating a plugin at the appropriate hook location.

Andy
06-07-2008, 05:23 AM
Hi King Justice,

What you want to do is easy, here are the instructions you need to do that.

http://www.vbulletin.com/docs/html/main/templates_externalfiles