View Full Version : Quick Question
Bacon Butty
06-16-2008, 11:15 AM
Could anyone please tell me how I could make adverts rotate in the position displayed below?
The only advert mod (https://vborg.vbsupport.ru/showthread.php?t=179083) I have seen in a search had set positions.
http://img356.imageshack.us/img356/8776/roatinguh7.jpg
King Kovifor
06-16-2008, 02:06 PM
Are you talking after every page load? Or after the load, it changes after so much time?
Bacon Butty
06-16-2008, 05:25 PM
Ah sorry should have explained that.
Every page load, only on the forum home.
King Kovifor
06-16-2008, 06:34 PM
This could easily be accomplished by using a plugin on global_start and surrounding it by:
if(THIS_SCRIPT == 'index') { } and choosing a random ad from the database.
Bacon Butty
06-17-2008, 07:18 AM
Anyone any other solutions as I dont understand the above?
Videx
06-19-2008, 12:55 AM
Anyone any other solutions as I dont understand the above?Quick answer: No, there is no ad mod that allows you to put ads anywhere you want on a page.
Consider hiring a coder if you really must have it.
King Kovifor
06-19-2008, 01:46 PM
Well, it is not really an easy task if you don't understand PHP. The easiest way would be to store your ad data within the database (link, image, id) and use PHP to fetch a random row and insert it into a variable that will display it anywhere.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.