1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Install adverts script (PHP in templates?)

Discussion in 'XenForo Development Discussions' started by CNK, Mar 21, 2014.

  1. CNK

    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?
     
  2. XoO

    XoO Member

    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.
     

Share This Page