1. 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

Discussion in 'Custom Service/Development Requests' started by WoodiE, Jan 22, 2014.

  1. WoodiE

    WoodiE Well-Known Member

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

    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>';
    }
    
    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.


    Thanks!
     
  2. Big Dan

    Big Dan Active Member

  3. WoodiE

    WoodiE Well-Known Member

    Thanks for the suggestion but it doesn't appear to by exactly what I'm looking for but I do appreciate the help.
     
  4. WoodiE

    WoodiE 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.
     
  5. viaBowl

    viaBowl Member

    welcome to the bright side
     
  6. WoodiE

    WoodiE Well-Known Member

    This post is LONG LONG over due. Not only was this job done quickly and for a very fair price but also provided great support when I ran into needing a change. @ExtraLicense is the coder who did the addon for me and I'd recommend him again to anyone looking for code work.

    Thanks @ExtraLicense!
     
    Dan and Steve F like this.

Share This Page