rotate affiliate ads....... PLZ HELP!!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • milkhead
    Confirmed User
    • Sep 2009
    • 186

    #1

    rotate affiliate ads....... PLZ HELP!!!

    rotate affiliate ads.... how do i do that any script and etc????? someone plz help cant find any thing .... i want my affiliate html codes to change like every 5 secs
  • brassmonkey
    Pay It Forward
    • Sep 2005
    • 77397

    #2
    openx but i want something lighter
    TRUMP 2026 KEKAW!!! - The Laken Riley Act Is Law!
    DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com

    Comment

    • BJ
      Confirmed User
      • Mar 2002
      • 5590

      #3

      Comment

      • Killswitch - BANNED FOR LIFE

        #4
        Code:
        <?php
        $html[0] = '<a href="link here"><img src="banner here" /></a>';
        $html[1] = '<a href="link here"><img src="banner here" /></a>';
        $html[2] = '<a href="link here"><img src="banner here" /></a>';
        $html[3] = '<a href="link here"><img src="banner here" /></a>';
        $html[4] = '<a href="link here"><img src="banner here" /></a>';
        $r = rand(0, count($html));
        echo $html[$r];
        ?>
        Quick and dirty way.

        Comment

        • JD
          Too lazy to set a custom title
          • Sep 2003
          • 22651

          #5
          is it a wordpress blog?
          http://wordpress.org/extend/plugins/random-ads/

          Comment

          • milkhead
            Confirmed User
            • Sep 2009
            • 186

            #6
            Originally posted by Killswitch
            Code:
            <?php
            $html[0] = '<a href="link here"><img src="banner here" /></a>';
            $html[1] = '<a href="link here"><img src="banner here" /></a>';
            $html[2] = '<a href="link here"><img src="banner here" /></a>';
            $html[3] = '<a href="link here"><img src="banner here" /></a>';
            $html[4] = '<a href="link here"><img src="banner here" /></a>';
            $r = rand(0, count($html));
            echo $html[$r];
            ?>
            Quick and dirty way.
            can i set a time interval withe code?

            Comment

            • milkhead
              Confirmed User
              • Sep 2009
              • 186

              #7
              someone ICQ me at 439815420 to help plz :D

              Comment

              • Killswitch - BANNED FOR LIFE

                #8
                Originally posted by milkhead
                can i set a time interval withe code?
                No, you'll need a more extensive script. I can do that, but it won't be free.

                Comment

                • JJdotAM
                  Registered User
                  • Apr 2009
                  • 25

                  #9
                  Originally posted by Killswitch
                  Code:
                  <?php
                  $html[0] = '<a href="link here"><img src="banner here" /></a>';
                  $html[1] = '<a href="link here"><img src="banner here" /></a>';
                  $html[2] = '<a href="link here"><img src="banner here" /></a>';
                  $html[3] = '<a href="link here"><img src="banner here" /></a>';
                  $html[4] = '<a href="link here"><img src="banner here" /></a>';
                  $r = rand(0, count($html));
                  echo $html[$r];
                  ?>
                  Quick and dirty way.
                  This will change the ad with every page load? Where is the code placed? thx

                  Comment

                  • Killswitch - BANNED FOR LIFE

                    #10
                    Originally posted by JJdotAM
                    This will change the ad with every page load? Where is the code placed? thx
                    Yes, it will choose a random one every pageview. You can put it in it's own file, then just include it anywhere you want the ad to show up.

                    Comment

                    • milkhead
                      Confirmed User
                      • Sep 2009
                      • 186

                      #11
                      Originally posted by JJdotAM
                      This will change the ad with every page load? Where is the code placed? thx
                      this is the test pg i made if someone can help that would be cool..... (had to put spaces in my url cuz i cant post urls as of yet.... i need to make 30 plus post on gfy first)

                      prettypinklips .com /pracz . html

                      Comment

                      • milkhead
                        Confirmed User
                        • Sep 2009
                        • 186

                        #12
                        this is the test pg i made if someone can help that would be cool..... (had to put spaces in my url cuz i cant post urls as of yet.... i need to make 30 plus post on gfy first) ;)

                        prettypinklips .com /pracz . html

                        Comment

                        • Babaganoosh
                          ♥♥♥ Likes Hugs ♥♥♥
                          • Nov 2001
                          • 15841

                          #13
                          Holy fucking shit. Who let the noobs in?
                          I like pie.

                          Comment

                          • Deej
                            I make pixels work
                            • Jun 2005
                            • 24386

                            #14
                            Originally posted by Babaganoosh
                            Holy fucking shit. Who let the noobs in?
                            I just found out that you are eggplant spread....

                            Deej's Designs n' What Not
                            Hit me up for Design, CSS & Photo Retouching


                            Icq#30096880

                            Comment

                            • Babaganoosh
                              ♥♥♥ Likes Hugs ♥♥♥
                              • Nov 2001
                              • 15841

                              #15
                              Originally posted by Deej
                              I just found out that you are eggplant spread....
                              That's Baba Ghannouj. My name has absolutely nothing to do with that.
                              I like pie.

                              Comment

                              • fris
                                Too lazy to set a custom title
                                • Aug 2002
                                • 55700

                                #16
                                Originally posted by JJdotAM
                                This will change the ad with every page load? Where is the code placed? thx
                                hit me up when you have a sec, i might have something for ya 704-299
                                Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                                Comment

                                Working...