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)
Locked
viperjason
Registered User
Posts: 3
Joined: Fri Dec 08, 2006 6:31 pm

php in templates

Post by viperjason » Tue Feb 06, 2007 3:01 am

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.

agent00shoe
Registered User
Posts: 373
Joined: Sat Feb 12, 2005 9:39 pm

Post by agent00shoe » Tue Feb 06, 2007 3:04 am


User avatar
david63
Registered User
Posts: 16098
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Post by david63 » Tue Feb 06, 2007 7:08 am

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 www.phpbb.com 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).
David
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

Locked

Return to “[3.0.x] Support Forum”