View Full Version : Insert PHP in header
iHack.co.uk
10-12-2007, 07:56 PM
How would I go about inserting PHP into the my vBulletin style header?
When I try and do it, the PHP isn't parsed and just displays as plain text.
Thanks.
Andrew Green
10-12-2007, 08:16 PM
You need to use the plugins system.
So add a plugin at "global_start" or wherever seems appropriate for what you are doing
$myaddedcode = "Test";
and then in the template you add "$myaddedcode" to put the output of your plugin there.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.