Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Add a banner image to each forum (vb3.5) Details »»
Add a banner image to each forum (vb3.5)
Version: 1.6, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 08-11-2005 Last Update: 11-27-2005 Installs: 325
DB Changes Uses Plugins Template Edits
 
No support by the author.

/* -----------------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.



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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 10-25-2005, 02:34 PM
HormZ HormZ is offline
 
Join Date: Aug 2005
Location: You looking for me?
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
Here is a simple JAVA random banner code you can paste in the HTML area of any forum.
Dunce Question:

Where exactly must the html be copied to? Which template?

Sorry - I am thikko when it comes to this type of stuff.
Reply With Quote
  #83  
Old 10-25-2005, 02:51 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HormZ
Dunce Question:

Where exactly must the html be copied to? Which template?

Sorry - I am thikko when it comes to this type of stuff.
Edit each "forum" that needs rotation

Admincp =>Forums & Moderators => Forum Manager => Edit forum => scroll do to the bottom => HTML Code "box"


https://vborg.vbsupport.ru/attachmen...chmentid=34099
Reply With Quote
  #84  
Old 10-26-2005, 06:01 AM
SCI SCI is offline
 
Join Date: Jul 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use a rotating banner script which I put the code in the header_include template and then a piece of Java code to call it from there in the header and footer where the rotating banners are now, will that work in this hack, if I put the Java in the HTML area called from the header include? If so you are the man!!
Reply With Quote
  #85  
Old 10-26-2005, 06:59 AM
HormZ HormZ is offline
 
Join Date: Aug 2005
Location: You looking for me?
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zach,

Thanks but I can't get it to work. I have the .swf file stored in my images directory.

I copied the script (with url changed to bokbok.co.uk) but nothing happens. Same as before.

Any ideas where I have gone wrong?
Reply With Quote
  #86  
Old 10-26-2005, 10:22 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by piXelatedEmpire
Just curious if this is still being worked on.. would be a fantastic feature
yes sir.
Quote:
Originally Posted by SCI
I use a rotating banner script which I put the code in the header_include template and then a piece of Java code to call it from there in the header and footer where the rotating banners are now, will that work in this hack, if I put the Java in the HTML area called from the header include? If so you are the man!!
I did some playing around took the <if></if> (template edit) statement added to the ForumsDisplay template. You can instead place it in the header / footer template and it will show up also. When that forum is displayed

IE: banner for f=642 will show up anywhere on the page in any template when the forumdisplay.php?f=642, but it will show up in the same place on every forum.

I made a area in the header for an image that changed by subject. It was a business logo with many "backgrounds" by subject. This way when they went into the sports area (forum) that the logo showed kids playing, sports balls around their business logo.

I added an <else /> in the <if> statement to show a default logo if the forum did not have a related banner.
Quote:
Originally Posted by HormZ
Zach,
Thanks but I can't get it to work. I have the .swf file stored in my images directory.

I copied the script (with url changed to bokbok.co.uk) but nothing happens. Same as before.

Any ideas where I have gone wrong?
hit the Chat link @ the top of the site /join #help after you connect. I'll be there off and on today.
Reply With Quote
  #87  
Old 10-26-2005, 03:21 PM
cbr929rrerion cbr929rrerion is offline
 
Join Date: Oct 2005
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok.. Just a question.. Does this allow you to choose which forum/catagory gets which banner? Or do you have 1 set of banners that rotate on all pages its entered on?

I want specific banners in specific catagories..

example, if its a tire ad I want it in the tire section, if its a Glove ad have it in clothing, etc..

Thanks
Reply With Quote
  #88  
Old 10-26-2005, 04:46 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cbr929rrerion
Ok.. Just a question.. Does this allow you to choose which forum/catagory gets which banner? Or do you have 1 set of banners that rotate on all pages its entered on?

I want specific banners in specific catagories..

example, if its a tire ad I want it in the tire section, if its a Glove ad have it in clothing, etc..

Thanks
Add a banner option per forum:
https://vborg.vbsupport.ru/attachmen...chmentid=34099

- The images can be on the local server or on a remote system.

- image with or without link
(png,jpg,bmp,tif,gif)

- There is also a small HTML "paste" area.
(java scripts, dhtml, html, not php "yet" )

I have pasted JAVA output from google, phpadnews, Iframes. I have also used the HTML area to paste RSS feeds per forum linking to different places. (limit 5).
Reply With Quote
  #89  
Old 10-31-2005, 02:05 PM
SupermanInNY SupermanInNY is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One thing "missing", or at least I wasn't able to find it.
How to add a banner in the Top most page, the one that lists out all the forums.
Any pointers?

-Alon.
Reply With Quote
  #90  
Old 10-31-2005, 02:39 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SupermanInNY
One thing "missing", or at least I wasn't able to find it.
How to add a banner in the Top most page, the one that lists out all the forums.
Any pointers?


-Alon.
Yes this will not work on the ForumHome.


Add Extra Header / Footer to FORUMHOME
https://vborg.vbsupport.ru/showthrea...threadid=97901

This will create an area in your ForumHome to allow your to paste HTML/google/whatever

EX: Halloween 2005 - image
Code:
<a href="http://www.google.com/search?q=halloween">
<img title="Halloween 2005" height="125" alt="Halloween 2005" src="http://www.google.com/logos/halloween05.gif" width="276" border="0"></a>
Reply With Quote
  #91  
Old 10-31-2005, 03:05 PM
SupermanInNY SupermanInNY is offline
 
Join Date: Oct 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
Yes this will not work on the ForumHome.


Add Extra Header / Footer to FORUMHOME
https://vborg.vbsupport.ru/showthrea...threadid=97901

This will create an area in your ForumHome to allow your to paste HTML/google/whatever

EX: Halloween 2005 - image
Code:
<a href="http://www.google.com/search?q=halloween">
<img title="Halloween 2005" height="125" alt="Halloween 2005" src="http://www.google.com/logos/halloween05.gif" width="276" border="0"></a>
Great!
That worked!
I'm curious though,. wouldn't it make more sense to put the Header/Footer heck run from the Forum Manager page? with similar interface as the Per-Forum mod? This is just an observation,. I like the heck (both of them) .

-Alon.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04984 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete