Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
transit
Regular
Regular


Joined: Jun 01, 2010
Posts: 69

PostPosted: Mon Jul 19, 2010 8:36 pm Reply with quote

I took a look at the banner(advertising) module and I don't think it will work for me (unless I am wrong!)

What I need is I am creating about 10 different banners with different customer quotes in each one, and I need to randomly pull one on each page load.

See my site here:
Only registered users can see links on this board! Get registered or login!

I believe the advertising module puts the banners kind of like a block center up etc however I need some kind of JS script or the like coded directly into my theme.php. Anyone know of anything or is currently using such a script!

Any help would be greatly appreciated!
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Tue Jul 20, 2010 11:36 pm Reply with quote

There are some random image php scripts around I've used not a bad way. Just use so it reads all the images from a directory. Use the script as the img src='./cached/random_image.php'

Only registered users can see links on this board! Get registered or login!

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
fkelly
Former Moderator in Good Standing


Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Wed Jul 21, 2010 7:20 am Reply with quote

If you create a number of different banners in the advertising module and activate them all ... set the purchased impressions to unlimited too ... the module will display them "randomly" as the pages load. There is documentation in the RNWiki I believe. Yup:

Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©