Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #232  
Old 08-21-2006, 09:35 AM
GrantHorizons GrantHorizons is offline
 
Join Date: Mar 2005
Location: Vancouver BC Canada
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, I've been very pleased with it on my site.

BUT getting set to upgrade to vB3.6. Any idea whether this works with vB 3.6, or is there an update needed / coming?

thanks, Grant
Reply With Quote
  #233  
Old 08-21-2006, 12:19 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 Make Money?
I have one top "header" banner zone for ALL of the forums pages.. I would like to use this hack to put an additional "footer" (bottom) banner zone on ONE forum only.. Can I use this hack to do this please?

Thanks!
Yes placment were it shows up on a forum is up to you. I placed under the $navbar.
Reply With Quote
  #234  
Old 08-23-2006, 09:34 AM
Make Money? Make Money? is offline
 
Join Date: Aug 2005
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks v much!

And I am on vB3.6
Reply With Quote
  #235  
Old 08-27-2006, 11:36 AM
bollie's Avatar
bollie bollie is offline
 
Join Date: Jun 2006
Location: Zele (Belgium)
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

work for vb 3.6.0
Reply With Quote
  #236  
Old 09-16-2006, 05:49 AM
vtck vtck is offline
 
Join Date: Sep 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Like your mod. I am on vb3.6.1

If you can create another version of mod with 1) top center different banners add ons and 2) bottom center different forum banners add ons and 3) left column different banner add ons and 4) google ad sense at the bottom, it will be great to many users as they can add different banners on the top and bottom and left navigation with bottom good ad sense. I think you can do it.

See

1. Different Top Section For Placement of Different Banners Before Start Of Forum & SubForum

2. Different Bottom Section For Placement of Different Banners Before End Of Forum & SubForum

3. Different Left Navigation

4. Google Ad Sense at the bottom

My Website Example :- http://www.singaporecarsforum.com/forumsample.html

Other Website Sample of vbulletin Forum with their own standard header with different left navigation and start of forum with Login. http://forums.carma.com.sg/forumdisplay.php?f=131
Reply With Quote
  #237  
Old 09-23-2006, 12:34 PM
Marris Marris is offline
 
Join Date: Jul 2005
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this mod.

Is there any way to pull the banner values, such as $foruminfo[bannercode] into postbit_legacy?

I am trying to combine your plugin with the following method to display a banner at a specifc location between posts:

How To Show A Banner After The First Post In A Thread

Unfortunately, $foruminfo[bannercode] doesn't seem to be accessible from postbit_legacy.

I tried creating plugins at various hook locations that seemed to be related to the postbit with the following forumdata_start plugin code, but $foruminfo[bannercode] was not displayed within postbit_legacy.

PHP Code:
$this->validfields['banner'] = array(TYPE_STRREQ_NO);
$this->validfields['bannerlink'] = array(TYPE_STRREQ_NO);
$this->validfields['banneralt'] = array(TYPE_STRREQ_NO);
$this->validfields['bannercode'] = array(TYPE_STRREQ_NO); 
Can anyone suggest plugin code or another way to read that value, so the banner can be displayed in postbit_legacy?

TIA
Reply With Quote
  #238  
Old 09-26-2006, 01:12 PM
wecleangrout wecleangrout is offline
 
Join Date: Feb 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe a silly question.

If this is the fist install (not an upgrade) do I still need to edit the templates?

I installed and see it in the forum manager but not showing on the forums.

If I do need to edit templates would there be any conflict with Php portals?

Thank you............(newbie to hacks)

My forum.
Reply With Quote
  #239  
Old 09-26-2006, 03:48 PM
wecleangrout wecleangrout is offline
 
Join Date: Feb 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok got it----
To answer my own question. I DID have to edit the templates.

EASY

Thank you. Now I can go make more $$$
Reply With Quote
  #240  
Old 09-27-2006, 02:23 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

subscribed will probebly install tomorrow
Reply With Quote
  #241  
Old 10-10-2006, 07:20 AM
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Location: Poland
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not working for me on 3.6.1 and I was using it on 3.5 great hack!

MySQL Error : Unknown column 'banner' in 'field list'
Error Number : 1054
Reply With Quote
Reply


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 09:39 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.05999 seconds
  • Memory Usage 2,313KB
  • 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
  • (1)bbcode_php
  • (1)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
  • (3)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