vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Add a banner image to each forum (vb3.5) (https://vborg.vbsupport.ru/showthread.php?t=94119)

Zachariah 08-11-2005 10:00 PM

Add a banner image to each forum (vb3.5)
 
/* -----------------8/11/2005-----------------
[HowTo] Add a banner option image w/ Link or HTML paste to each forum V.1.6
Tested on vBulletin: 3.5.0 RC2

Zachariah - http://www.gzhq.net

This is a VB3.5 Ver of my previous hack:

*** Add a banner image to each forum (VB 3.0x)
https://vborg.vbsupport.ru/showthread.php?t=61555

*** Info:
This modification will Add an image banner w/ link Or paste in your own HTML code option per forum. These files can be any image. (png, jpg, gif, ect). This will be located after the $navbar on FORMDISPLAY. This images can be located on the localhost or on a remote server.
--------------------------------------------------*/

Upload the "plug-in" and edit 2 template, It's a snap.
:cool:


Changelog:
------------
1.6
Banner shows up on each thread
adds: 1 more template edit to the install
Requested by: - Ryan McBain

** Note: 1.5 - 1.6 needs only to edit SHOWTHREAD not Reinstall the XML files

1.5
Added HTML option (tested w/ Java and Iframe from phpadsnew output)
Added 3.x to VB 3.5 upgrade XML file.

** Random Banner Code Java

**Please click " Install " to track updates.

TCattitude 08-12-2005 12:38 AM

Nice!
Can we mod this to do something more "flexible" and "per forum"?, like this:
https://vborg.vbsupport.ru/showthread.php?t=65890
To put our own html code, instead a direct link/image for a banner.

To use another ads script with vbulletin, like phpadsnew.
Can you do that?

Thanks for all in advance ;)

Zachariah 08-12-2005 12:47 AM

Quote:

Originally Posted by TCattitude
Nice!
Can we mod this to do something more "flexible" and "per forum"?, like this:
https://vborg.vbsupport.ru/showthread.php?t=65890
To put our own html code, instead a direct link/image for a banner.

To use another ads script with vbulletin, like phpadsnew.
Can you do that?

Thanks for all in advance ;)

To put your own html code is not to hard( ill see what I can cook up). This does allow a direct Image / link / alt Tag per forum.

I know the Java / HTML that phpadsnew spits out is easy. I'll have to test the php code it spits out.

TCattitude 08-12-2005 01:36 AM

Quote:

Originally Posted by HarryButt
To put your own html code is not to hard( ill see what I can cook up). This does allow a direct Image / link / alt Tag per forum.

I know the Java / HTML that phpadsnew spits out is easy. I'll have to test the php code it spits out.

Thanks again in advance for look that ;)

MentaL 08-12-2005 12:29 PM

Just what i wanted , i asume each section supports different banners and multiple banners?

Zachariah 08-12-2005 12:43 PM

Quote:

Originally Posted by mentalrz
Just what i wanted , i asume each section supports different banners and multiple banners?

This add-on is very simple.

1 image with or without a link , and alt tag per forum. No rotation , click or impression count.

The code can be moved around on the Forumdisplay template (ie: header, footer, it currently sits under the $navbar).

MentaL 08-12-2005 12:49 PM

added and using on ragezone.com -- would be nice if i could add multiple stuff side by side or a random option ! none the less its very useful and appreciated.

utw-Mephisto 08-17-2005 02:25 AM

Works like a charm :) *installed*

wolfyman 08-17-2005 02:42 AM

easy and nice - thanks :)

clicks install

BuRNZau 08-17-2005 11:33 AM

Cheers!


All times are GMT. The time now is 10:47 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.01365 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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