GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   How can I rotate ads in the ad space of my theme? (https://gfy.com/showthread.php?t=1024582)

DatePoster 05-29-2011 07:08 PM

How can I rotate ads in the ad space of my theme?
 
Not in a widget.

:helpme

robber 05-30-2011 02:52 AM

Does it need to be weighted? if not you could load all your ads into a db, randomise on it, and then track the clicks out using an inbetween script which counts the clicks and then forwards the user onto wherever they are suppose to be ending up...

Would that work for you? If you are unsure on how to do this, just ask and I can give you the scripts which will do it for you, and the lines to insert into you .htaccess file (if you want the links to not show your out file link), putting them through a script means that it could allow you to put up multiple banners per sponsor on your site but only need to keep one link record for them (unless you are wanting to track which banners got clicked).

I'm not sure how best you would weight your search if you wanted to (i'm sure there is an easy way, but my minds blank)

Hope this helps anyway

Rob

Adraco 05-30-2011 06:51 AM

Check out Smart Sports from the guys who did Smart Thumbs and Smart Tube
http://www.smart-scripts.com/?action=smartspots

For $50 it's a steal! I use the script over many, many domains. One license is ok to cover all your sites.

Basically you create an ad spot in the script, and place that code on your site. Then when you want to add/subtract or change banners you just do it in one place in the script, which aslo gives you the amount of views, cliks and so on. Very nicely done.

Scott-ISMC 05-30-2011 12:40 PM

www(dot)adzs(dot)nl
You enter your own html, host all of your own ads, but tracking like NO OTHER Program out there as we speak, you will know which ads are working the best by CPM, with viewable impressions clicks the whole 9 yards.

DatePoster 05-30-2011 10:34 PM

Quote:

Originally Posted by robber (Post 18176554)
Does it need to be weighted? if not you could load all your ads into a db, randomise on it, and then track the clicks out using an inbetween script which counts the clicks and then forwards the user onto wherever they are suppose to be ending up...

I have no idea what your talking about. I just want to rotate several ad codes without refreshing or atleast every refresh within the ad space of my theme.

CamTraffic 06-02-2011 04:26 PM

use this http://www.computerhope.com/j18.htm
been using it for years, never had an issue

cooldude7 06-14-2011 10:59 PM

create randomfooterads.php


Code:

<?

$textfile ="randomfooterads.txt";



$items = file("$textfile");

$item = rand(0, sizeof($items)-1);

echo $items[$item];

?>



create randomfooterads.txt

Quote:

<iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index217.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
<iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index216.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
<iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index215.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
<iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index214.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
<iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index213.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
<iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index212.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
<iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index211.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
<iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index210.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>

now where u wanna show ads use

Code:

<?php include('randomfooterads.php'); ?>
------------------------------------------------------------------------------

text file contains ad codes, one ad per line, and it gets rotated.

hit thanks button.

Marquis85 06-15-2011 04:38 AM

Hi, if you're using Wordpress, I suggest the adrotate plugin. Works for me.

PussyMeister 06-15-2011 09:25 AM

adpeeps works pretty good.

dc0ded 07-20-2011 02:01 AM

adrotate plugin is the answer. wp has a plugin for almost anything. good luck.


All times are GMT -7. The time now is 07:50 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc