![]() |
Is it possible to parse php code in templates? Need help with PHP needs.
I am clueless on this. I have a program that I run along side vBulletin that I have integrated commenting into the forums for. This uses ezSQL to pass the data from one db to another.
What I need is to add this to my header: Code:
<?php Code:
<?php What is happening if I add these to the header and templates now is the code is shown with some stuff stripped. Signed, Clueless |
No, you cannot put php code in templates.
|
Are there any alternatives?
|
Use Hooks. ;)
|
Any linkable resources someone has bookmarked that can teach me a bit about Hooks? I pick up fast, but this is past my current knowledge. Thanks!
|
Tutorial List: https://vborg.vbsupport.ru/showthread.php?t=99570
Hook Writing: https://vborg.vbsupport.ru/showthread.php?t=82625 |
All times are GMT. The time now is 09:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|