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

Add-on [Paid] Convert my vB plugin (php) to work with XF


Well-known member
On my vBulletin 3.8.x forum I am using a plugin (not product) with the following code as an example:

$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>';
Then I'd simply add "$ranads" to a template of my choice (in my case my sidebar which will also be where I want it on XF) and it worked perfectly. The 125x125 banners would all display on the forum page and be in random spots each page load.

Sadly XF doesn't have a function built in that I can simply copy and paste this PHP code and then call upon it in a template as I could with vBulletin, nor can I add the PHP code to a XF template and from what I gather needs to be a add-on for XF. So I'm in need of a developer who can make this happen.

Needs to be a clean coded as possible and the ability to add and removed sponsors easily as it is now in vBulletin.

If interested please PM me with your interest, estimated time required and price.



Well-known member
Mods, this request can be closed as a developer has created a working add-on for me. I can now really start thinking about moving to XF from vB.