php in templates

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Registered User
Posts: 3
Joined: Fri Dec 08, 2006 6:31 pm

php in templates

Post by viperjason »

Is this allowed for phpbb3? If so how, and if already done what style can I use to follow as an example?

I want to put some php code in my header and footer files.
Registered User
Posts: 373
Joined: Sat Feb 12, 2005 9:39 pm

Post by agent00shoe »

User avatar
Registered User
Posts: 18345
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK

Post by david63 »

Be aware of this
A note, it is very much encouraged that template designers do not include PHP. The ability to include raw PHP was introduced primarily to allow end users to include banner code, etc. without modifing multiple files (as with 2.0.x). It was not intended for general use ... hence will not make available template sets which include PHP. And by default templates will have PHP disabled (the admin will need to specifically activate PHP for a template).
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Return to “[3.0.x] Support Forum”