Install adverts script (PHP in templates?)

CNK

Active member
How I can add to my xF forum this PHP code:
Code:
  <?php include_once('prolink.php'); ?>
to all forum pages and code:
Code:
  <?php prolink_getLinks(); ?>
in places, when I want show links?
 
What your looking for is a code event listener
Look inside the development tutorials at ones like "how to create an ad on"
Basically the code event listener watches for a specific trigger and then allows you to extend classes or template hooks, etc.
 
Top Bottom