vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Add a banner image to each forum (https://vborg.vbsupport.ru/showthread.php?t=61555)

Zachariah 08-12-2005 01:52 PM

Quote:

Originally Posted by RichieBoy67
Great! Thanks.... I should have caught that myself...

Great hack man!!

:D .. NP man, glad it helped out.

BTW:

VB3.5X ver of this hack if / when people go to the new Forums.
https://vborg.vbsupport.ru/showthread.php?t=94119

It's on new install of the hack @ the moment. I am working on upgrade.

Zachariah 09-04-2005 02:52 AM

1.5 update
+added HTML option

I have the "add" own HTML ready, not worked on adding PHP. ( works: w/ Java and Iframe from phpadsnew)

Zachariah 10-25-2005 01:50 PM

Here is a simple JAVA random banner code you can paste in the HTML area of any forum.

EX:
This will show @ random.

image1.jpg @ http://www.yoursite1.com
image2.jpg @ http://www.yoursite2.com
image3.jpg @ http://www.yoursite3.com


Code:

<script language="javascript" type="text/javascript">
<!--
function banner() {
};

banner = new banner();
number = 0;

// bannerArray
banner[number++] = "<a href='http://www.yoursite1.com' target='_blank'><img src='/banners/image1.jpg' alt='' border='0' /></a>"
banner[number++] = "<a href='http://www.yoursite2.com' target='_blank'><img src='/banners/image2.jpg' alt='' border='0' /></a>"
banner[number++] = "<a href='http://www.yoursite3.com' target='_blank'><img src='/banners/image3.jpg' alt='' border='0' /></a>"
 
// keep adding items above here...

increment = Math.floor(Math.random() * number);
document.write(banner[increment]);

//-->
</script>

Useage: If you need more banners edit / add another row.
Code:

banner[number++] = "<a href='http://www.yoursite1.com' target='_blank'><img src='/banners/image1.jpg' alt='' border='0' /></a>"
Link of Destination
Image location

mikehawk 11-05-2005 02:43 AM

What does this mean?


// Adds fields to forum table called banner, bannerlink, banneralt.


???? make new templates?



edit - nvm :rolleyes:

mikehawk 11-08-2005 03:09 PM

Got it.

Thanks! :squareeyed:

Scribbller 12-04-2005 01:21 PM

Where are the files?

Zachariah 12-04-2005 03:51 PM

Quote:

Originally Posted by Scribbller
Where are the files?

Sory It's down for a update. Be back soon.

AsianKid 08-21-2006 01:00 AM

Installed on 3.6.0Gold
Works perfect.
Nice hack.
Love it.
Thanks,
Sonny

run.exe 02-08-2009 11:41 PM

I have loved this mod for years; however, it appears broken in vBulletin v3.8.1.

Has anyone had success?

run.exe 02-08-2009 11:51 PM

I have loved this mod for years; however, it appears broken in vBulletin v3.8.1.

Has anyone had success?


All times are GMT. The time now is 02:56 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.01087 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete