Slider Banner Rotator

Hello everyone, I am looking for a easy to use, module, sizeable banner rotator. I am not a programmer so I ned this to be easy installation, and I dont want to need a programmer to add banner, I can ftp the images without problems, but writing the codes....I  am not comfortable. attached is an example size of the banners I will be using on my site... Thanks

 

sexy.png · 39.5K · 224 views
Mike
Quote · 22 Mar 2014

You should search this site, there are many topics about sliders.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 22 Mar 2014

There are many banners/sliders available.  Avoid flash based if your interested about mobile Apple products.  The problem is that due to the nature of sliders they require some code to be placed in the right places.  Probably the best would be one you could drop into the Promo box (which is a good place for sliders because they can be hidden once the member logs on by just unchecking a checkbox.).

Geeks, making the world a better place
Quote · 22 Mar 2014

where are you trying to rotate the banners in promo block or via HTML block ?

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 22 Mar 2014

You may use this function to create a simple banner rotator.

 

Define your banners


Create $ad array with the links of each banner.

 

.
<?php
$ad1 = '<a href="BANNER1_URL" target="_blank"><img src="BANNER1_IMG_SRC" alt="BANNER1_ALT" title="BANNER1_TITLE"></a>';
$ad2 = '<a href="BANNER2_URL" target="_blank"><img src="BANNER2_IMG_SRC" alt="BANNER2_ALT" title="BANNER2_TITLE"></a>';
$ad3 = '<a href="BANNER3_URL" target="_blank"><img src="BANNER3_IMG_SRC" alt="BANNER3_ALT" title="BANNER3_TITLE"></a>';
$ad4 = '<a href="BANNER4_URL" target="_blank"><img src="BANNER4_IMG_SRC" alt="BANNER4_ALT" title="BANNER4_TITLE"></a>';
$ad = array($ad1, $ad2, $ad3, $ad4);
shuffle($ad);
?>

 

Display random banner

 


Just put this code, where you want to display your random banner

 


<div>
  <?php print $ad[0] ?>
</div>

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 22 Mar 2014

I would like the banner rotator to be aroud here...in the image attached

Mike
Quote · 22 Mar 2014

 RE:

You may use this function to create a simple banner rotator.

 So why don't you tell him which file to put that in, and exactly where to place it?  Why leave him hanging?

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 22 Mar 2014

opps!  Sorry, I have been busy finishing up on a project for client :/

1) create file; for example adverts.php and add the first part of code I give ...

<?php
$ad1 = '<a href="BANNER1_URL" target="_blank"><img src="BANNER1_IMG_SRC" alt="BANNER1_ALT" title="BANNER1_TITLE"></a>';
$ad2 = '<a href="BANNER2_URL" target="_blank"><img src="BANNER2_IMG_SRC" alt="BANNER2_ALT" title="BANNER2_TITLE"></a>';
$ad3 = '<a href="BANNER3_URL" target="_blank"><img src="BANNER3_IMG_SRC" alt="BANNER3_ALT" title="BANNER3_TITLE"></a>';
$ad4 = '<a href="BANNER4_URL" target="_blank"><img src="BANNER4_IMG_SRC" alt="BANNER4_ALT" title="BANNER4_TITLE"></a>';
$ad = array($ad1, $ad2, $ad3, $ad4);
shuffle($ad);
?>

2) on the page you wish to show the banners include the file and second part of code into php block like this:

include_once("adverts.php");
echo "<div align='center'>$ad[0]</div>";

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 23 Mar 2014

FYI once you have added the adverts.php file >> you can then use it and show your advertisements on any page where you add the second part of code into PHP blocks or pages etc

Also; with 'shuffle' the banners will not be shown in any particular order but rather randomly picked and shown.

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 23 Mar 2014

Can each photo in the banner have a separate clickable link?

Quote · 29 Apr 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.