vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Placing banners that swap automatically ! (https://vborg.vbsupport.ru/showthread.php?t=45201)

stark427 10-30-2002 01:06 PM

Placing banners that swap automatically !
 
Ok first of all sorry if this is not the appropriate forum for this... but to tell ya the truth Im not even sure how to call this... thing Im asking for...

It might be a hack, or just advanced use of HTML (?)

Im putting a banner on my forum. You know... these common 468x60 ad banners...

Thing is that I have two (or maybe 3) banners to put, so I thought of finding a way so that there will be an automatic swap between these 2 banners, everytime someone reloads the forumhome page...

in other words, everytime someone revisits (or reloads) the frontpage, the banner will be different...

is there any easy way of doing this? cause I have seen it at many pages/forums but Im not sure how to do this.. :rolleyes:

thanx in advance...

Dev-United 10-30-2002 01:22 PM

Check out http://www.hotscripts.com/PHP/Script...Ad_Management/

Pleny of ad rotators there.
If you prefer a simple rotator using JavaScript go http://www.hotscripts.com/JavaScript...nner_Rotation/

stark427 10-30-2002 01:39 PM

Quote:

Originally posted by Dev-United
Check out http://www.hotscripts.com/PHP/Script...Ad_Management/

Pleny of ad rotators there.
If you prefer a simple rotator using JavaScript go http://www.hotscripts.com/JavaScript...nner_Rotation/

thanx :)

another question...

I prefer using simple javascript coding....

but: using Javascript, I will have instructions telling me to put some code at the "head" of my page... and some other at the "body"... right? (this is from my experience at least...)

now... I want this banner(s) to be shown on the frontpage...

so the question is : which templates (or parts of them) represent the "head" and the "body" of my forum ? :rolleyes:

Dev-United 10-30-2002 01:45 PM

The template headinclude is the header, place the body code in the header template.

stark427 10-30-2002 01:52 PM

Quote:

Originally posted by Dev-United
... place the body code in the header template.
thanx but problem is that I want the banner to be shown from the forumhome template.

will it be ok if I place the body code at the forumhome template?

if u see my board - u will see a box called "Synthpop Avenue Infobox"
I have created this table by placing code at the forumhome template, exactly where i want this box to be shown...

Now I want the new banner to be just on top of this infobox...
so logically I have to place "some" code of that in the forumhome template

right? can I do that?

Dev-United 10-30-2002 01:57 PM

Yes, that should be correct

stark427 10-30-2002 02:00 PM

thanx :)

i will try it and tell ya :)


All times are GMT. The time now is 10:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00966 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete