Talk Arcades: Forum for Arcade Webmasters    

  Talk Arcades > Arcades > Webmastering

Welcome to Talk Arcades, the premier forum for arcade webmasters.

You are currently viewing our boards as a guest. By joining our community you will be able to make posts, communicate privately with other arcade webmasters and participate in our Live Marketplace. Registration is easy, so please join us today!

Reply
 
LinkBack Thread Tools Display Modes
Old 10-05-2008, 02:07 PM   #1 (permalink)
wildfxp
Senior Member
 
wildfxp's Avatar
 
Join Date: Aug 2008
Posts: 651
wildfxp is on a distinguished road


Default Rotating Banner Exchanges

I tried searching all of Google, but couldn't find the solution to my problem. It's probably because I don't know jack about coding, but I really tried, so please don't bash me for what I'm going to ask

Since banner exchanges do in fact bring in traffic, I was wondering if any of you know how to rotate the banner exchanges with each page load? I've found a site that generates a code for rotating banners, but it's only for images. The banner exchanges all use iFrame codes or javascript codes, so I'm unsure how I would do this.

As you can see, I'm just trying to maximize the banner exchange results, but at the same time, not place too many of these 100x100 flashy images on my site

Thanks!
__________________


ADD MY NEW FACEBOOK APPLICATION! SUPPORT ME

Buy one of my shares!!


Founder of http://www.bloggin-ads.com

Free online games and you Play Games Win Prizes

Fun Online Games

http://www.flashfort.com - under heavy construction
http://www.neverwink.com - working on (I own myself)
wildfxp is online now  
Digg this Post!
Reply With Quote
Old 10-05-2008, 02:19 PM   #2 (permalink)
peter_anderson
Banned
Senior Member
 
Join Date: Jan 2008
Location: Who wants to know?
Posts: 1,593
peter_anderson is an unknown quantity at this point
Send a message via MSN to peter_anderson


Default

You could try using an image rotator.
peter_anderson is offline  
Digg this Post!
Reply With Quote
Old 10-05-2008, 02:24 PM   #3 (permalink)
wildfxp
Senior Member
 
wildfxp's Avatar
 
Join Date: Aug 2008
Posts: 651
wildfxp is on a distinguished road


Default

But wouldn't a image rotator only allow image extensions? I'm not sure how to do it because the codes for banner exchanges are iframes/java
__________________


ADD MY NEW FACEBOOK APPLICATION! SUPPORT ME

Buy one of my shares!!


Founder of http://www.bloggin-ads.com

Free online games and you Play Games Win Prizes

Fun Online Games

http://www.flashfort.com - under heavy construction
http://www.neverwink.com - working on (I own myself)
wildfxp is online now  
Digg this Post!
Reply With Quote
Old 10-05-2008, 02:26 PM   #4 (permalink)
peter_anderson
Banned
Senior Member
 
Join Date: Jan 2008
Location: Who wants to know?
Posts: 1,593
peter_anderson is an unknown quantity at this point
Send a message via MSN to peter_anderson


Default

Quote:
Originally Posted by wildfxp View Post
But wouldn't a image rotator only allow image extensions? I'm not sure how to do it because the codes for banner exchanges are iframes/java

Modifying an image rotator would work.
peter_anderson is offline  
Digg this Post!
Reply With Quote
Old 10-05-2008, 03:05 PM   #5 (permalink)
hawkal
Senior Member
 
Join Date: May 2007
Posts: 211
hawkal is on a distinguished road


Default

PHP Code:
<?php  

$r 
rand(1,4); 

switch(
$r){  
   
    case 
"1"
          echo 
"funklicks code here"
          break;
    case 
"2"
          echo 
"gamecetera code here"
          break;
    case 
"3"
          echo 
"mibbi code here"
          break;
    case 
"4"
          echo 
"gamerflux code here"
          break;
    default: 
          echo 
"funklicks here";

}  

?>

__________________
www.ownage.us

www.Allarcade.us

hawkal is offline  
Digg this Post!
Reply With Quote
Old 10-05-2008, 03:29 PM   #6 (permalink)
wildfxp
Senior Member
 
wildfxp's Avatar
 
Join Date: Aug 2008
Posts: 651
wildfxp is on a distinguished road


Default

Thanks hawkal, I tried that, but it doesn't work The codes for the banner exchanges all show the banners, but then it shows the break; default: echo html text after each.
__________________


ADD MY NEW FACEBOOK APPLICATION! SUPPORT ME

Buy one of my shares!!


Founder of http://www.bloggin-ads.com

Free online games and you Play Games Win Prizes

Fun Online Games

http://www.flashfort.com - under heavy construction
http://www.neverwink.com - working on (I own myself)
wildfxp is online now  
Digg this Post!
Reply With Quote
Old 10-05-2008, 03:48 PM   #8 (permalink)
JayZ
Senior Member
 
Join Date: Aug 2007
Posts: 296
JayZ is on a distinguished road


Default

use openx i rotated exchanges when i used banner exchanges.
JayZ is offline  
Digg this Post!
Reply With Quote
Old 10-05-2008, 04:17 PM   #9 (permalink)
hawkal
Senior Member
 
Join Date: May 2007
Posts: 211
hawkal is on a distinguished road


Default

I think it was because you have to make sure your using quotes correctly I use double quotes " " on the outside of the string and single quotes ' ' on the inside for any html stuff so php doesn't get confused. e.g echo " <a href='http://www.google.com' />google</a> ";

try this you wont need to change quotes because it just exits php before doing what you want. It works fine for me.

PHP Code:
<?php  

$r 
rand(1,3); 

if(
$r == 1){?>

funklicks code

<?php }elseif($r == 2){?> 

gamecetera code

 <?php }elseif($r == 3){?>

 mibbi code
 
<?php ?>
__________________
www.ownage.us

www.Allarcade.us

hawkal is offline  
Digg this Post!
Reply With Quote
Old 10-05-2008, 04:43 PM   #10 (permalink)
wildfxp
Senior Member
 
wildfxp's Avatar
 
Join Date: Aug 2008
Posts: 651
wildfxp is on a distinguished road


Default

hawkal, I just tried that, but it doesn't randomize the banners. It just shows 3 banners normally. I also tried removing double quotes for your first code. no luck Thanks for all your help though.
__________________


ADD MY NEW FACEBOOK APPLICATION! SUPPORT ME

Buy one of my shares!!


Founder of http://www.bloggin-ads.com

Free online games and you Play Games Win Prizes

Fun Online Games

http://www.flashfort.com - under heavy construction
http://www.neverwink.com - working on (I own myself)
wildfxp is online now  
Digg this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
88x31 banner exchanges and link exchanges monkey Link Exchanges 5 05-22-2008 01:42 PM
88x31 and 100x100 sitewide banner exchanges monkey Link Exchanges 5 04-17-2008 06:45 PM
Other Banner Exchanges sizes peter_anderson Marketing 21 04-07-2008 01:36 PM
Easy Banner Exchanges arcadehopper Promotional Tools 2 04-02-2008 01:49 PM
Easy Banner Exchanges arcadehopper Promotional Tools 0 01-01-2008 04:33 PM


All times are GMT -6. The time now is 12:26 AM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6
© TalkArcades.com
Forum - Register - Calendar - Memberlist - FAQ - Search