Resource icon

Xenforo 2 - Random Ads Code

Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
Write your ad code where it says banner. It will randomly show an ad every time you refresh the page where you inserted the ad. It is the adaptation of the codes in Xenforo 1.x version for Xenforo 2.x.

<xf:comment>DEFINE AND RANDOMIZE YOUR BANNERS</xf:comment>

<xf:set var="$banners.1">banner 1</xf:set>

<xf:set var="$banners.2">banner...
You do not have permission to view the full content of this resource. Log in or register now.
Top Bottom