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

Adding OpenX Banner Code

Discussion in 'Styling and Customization Questions' started by Hardcore, Feb 21, 2012.

  1. Hardcore

    Hardcore Active Member


    Wondering if there was a quick way to insert our OpenX code (javascript + iframe) into the XF header, for instance to the right of the logo? OpenX requires the generation of a random number to be passed as well; we do this using php with the rest of our site.

    Thanks in advance.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can use the ad_header template.
    Todd @ BA likes this.
  3. Hardcore

    Hardcore Active Member

    Thanks! Worked for the most part. There's a random number that needs to be generated and placed into the <noscript> part of the code, but it's not accepting PHP and JavaScript would be pointless given the tag.

  4. Hardcore

    Hardcore Active Member

    I'm all set on this one. Thanks again.

Share This Page