vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Multi random banners? (https://vborg.vbsupport.ru/showthread.php?t=152002)

Kestryll 07-11-2007 09:50 PM

Multi random banners?
 
I tried this out and it does look to work but I as wondring if there was any flexibility with it.

I currently have my forum title centered at the top of the page, I would like to set up two random banners one on each side of the title and possibly down below in the footer.
Is it possible to do this?

Thanks,
Kest

Anyone familiar with this?

Kestryll 07-13-2007 09:39 PM

Back to top in hopes of an answer

wrestlepower 07-13-2007 10:32 PM

where do you want the banners at the top, on either side of the calgun.net? (assuming the link in your sig is the forum you plan to install this on?

where about do you want it in the footer?

Kestryll 07-13-2007 10:39 PM

Yes, one on either side would be the preferred arangement.
As far as the footer probably be centered between the bottom of the forum and above 'What's Going On'.

Two on top seems like it would give more exposure for advertisers and also feeds what my Wife calls my 'obsession for symmetry'. ;)

Thanks!

Kestryll 07-15-2007 07:31 AM

Another BTT hoping for an idea of how to do this.

Kestryll 07-16-2007 05:08 PM

There has to be a way to do this I would think, or at least hope..

Kirk Y 07-16-2007 06:20 PM

If you're asking how to have an additional random banner using Jake's code, then you could simply duplicate his methods and give the variables new names.

Ex:
$random_number = rand(1, 5);
becomes $random_number2 = rand(1, 5);
$random_banner[1]
becomes $random_banner2[1]
$random_banner[$random_number]
becomes $random_banner2[$random_number2]

Kestryll 07-16-2007 07:33 PM

AUUGHH!!

Here I have been looking for some complicated code or expecting to have to figure out some complex PHP editing and the answer is a simple 2 to the name!

It can't be that easy! Mainly because if it is then my Wife is right and I needlesly overcomplicate things...

Thank you!

Kirk Y 07-16-2007 07:47 PM

Ha ha, you're welcome.


All times are GMT. The time now is 03:50 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.00977 seconds
  • Memory Usage 1,721KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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