![]() |
Code Question
Hi all i have some code i want to insert into my forum ie this
Code:
function convert_aff_links( $_body, $_aff_id = '2pz' ) |
You cannot put php code in a template. Templates are for html. If you need to add php code, you need to either edit the file or add it in a plugin.
|
thanks for the reply, where would be a good place to insert the code to test it ?
|
You want this run on every page? I suppose you could try one of the global_xx locations.
|
thanks again, yes every page would be great, ill give the global locations a try :)
--------------- Added [DATE]1234116527[/DATE] at [TIME]1234116527[/TIME] --------------- hmm not working, im begining to wonder if the code is actually valid thanks for the replys, ill have to admit defeat i reckon :) |
You are probably looking to modify the $output variable in global_complete.
|
All times are GMT. The time now is 09:59 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:
|