WoodiE
Well-known member
Maybe I'm overlooking it, but does Xenforo use "plugins" like vBulletin (admincp > Plugins & Products > Plugin Manager) does?
I ask because I have a plugin I made that I use to display banners of sponsors on my website.
With this plugin on my vB forum I simply then go to the template I want and have it display "rand125" and my advertisements are there.
Does Xenforo offer this same ability and if so where?
Thanks!
I ask because I have a plugin I made that I use to display banners of sponsors on my website.
Code:
$image[0]['src'] = 'http://www.mydomain.com/banner/ad1.jpg';
$image[0]['link'] = 'http://www.sponsor1.com';
$image[0]['title'] = 'Sponsor 1';
$image[1]['src'] = 'http://www.mydomain.com/banner/ad2.jpg';
$image[1]['link'] = 'http://www.sponsor2.com';
$image[1]['title'] = 'Sponsor 2';
$image[2]['src'] = 'http://www.mydomain.com/banner/ad3.jpg';
$image[2]['link'] = 'http://www.sponsor3.com';
$image[2]['title'] = 'Sponsor 3';
shuffle( $image );
$rand125 = '';
foreach( $image as $arr )
{
$rand125 .= '<a href="' . $arr['link'] . '" title="' . $arr['title'] . '" rel="nofollow" target="_blank"><img src="' . $arr['src'] . '" alt="' . $arr['title'] . '" width="125px" height="125px"></a>';
}
With this plugin on my vB forum I simply then go to the template I want and have it display "rand125" and my advertisements are there.
Does Xenforo offer this same ability and if so where?
Thanks!