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
  #152  
Old 12-21-2005, 04:27 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 Stephen3
can make it can add more then 1 banner ?
This is really not that advanced.

I have used this random banner code.
https://vborg.vbsupport.ru/showpost....1&postcount=80

You can use this code per forum and have multi subjects rotate.
I have also pasted the JAVA output of phpAdsNews and made multi campains.

There is a HTML area for java / html / dhtml - no PHP.
Reply With Quote
  #153  
Old 12-21-2005, 04:31 PM
Stephen3 Stephen3 is offline
 
Join Date: Oct 2005
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not rotator... what about show in same time...?
Reply With Quote
  #154  
Old 12-21-2005, 04:36 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 Stephen3
not rotator... what about show in same time...?
There is an html area per forum vs. a banner image.
You can show whatever you want.

Code:
<a href="http://www.google.com">
<img border="0" src="http://www.google.com/logos/winter_holiday05_1.gif" width="276" height="120"></a>
<a href="http://www.google.com">
<img border="0" src="http://www.google.com/logos/winter_holiday05_1.gif" width="276" height="120"></a>
2 google images w/ links

Demo:
http://www.gzhq.net/forums/forumdisplay.php?f=235
Reply With Quote
  #155  
Old 12-22-2005, 03:14 AM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and works great

[high]* The Chief clicks install[/high]
Reply With Quote
  #156  
Old 12-22-2005, 07:41 AM
Kuimera Kuimera is offline
 
Join Date: Aug 2005
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
place your code in a:
<div>code</div>

or

<table><tr><td>code</td></tr></table>


I rem way back then Firefox did that all the time. I can't REM what the fix was or if a new ver of firefox fixed it.
didn’t work either must be a prob with the transparency’s or something...
I will wait till they fix this..

Tks for your time m8!
Reply With Quote
  #157  
Old 01-21-2006, 09:07 AM
icare icare is offline
 
Join Date: Jan 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help please. I am getting this error when i am trying to upload a banner code

Database error in vBulletin 3.5.3:

Invalid SQL:
UPDATE forum SET
title_clean = 'HornyBollywood Indian Masala',
title = 'HornyBollywood Indian Masala',
description_clean = '',
description = '',
link = '',
displayorder = 1,
daysprune = -1,
parentid = -1,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 131072, options - 131072, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options - 8192, options),
options = IF(options & 4, options - 4, options),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options - 2, options),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options - 256, options),
options = IF(options & 64, options - 64, options),
options = IF(options & 128, options - 128, options),
options = IF(options & 512, options - 512, options),
options = IF(options & 1024, options - 1024, options),
options = IF(options & 2048, options - 2048, options),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
styleid = 0,
password = '',
banner = '',
bannerlink = '',
banneralt = '',
bannercode = '<script type=\"text/javascript\"><!--\r\ngoogle_ad_client = \"5346134314564";\r\ngoogle_ad_width = 125;\r\ngoogle_ad_height = 125;\r\ngoogle_ad_format = \"125x125_as\";\r\ngoogle_ad_type = \"text\";\r\ngoogle_ad_channel =\"\";\r\n//--></script>\r\n<script type=\"text/javascript\"\r\n src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\r\n</script>'
WHERE forumid = 1;

MySQL Error : Unknown column 'banner' in 'field list'
Reply With Quote
  #158  
Old 01-21-2006, 11:15 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@icare - Unknown column 'banner' in 'field list' - the mysql update looks like it did not work.

Import product: banner_image.xml
Reply With Quote
  #159  
Old 02-08-2006, 01:21 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Zac,

I am doing this (random banner on each forum) without your plugin but would like to use yours without manually editing my navbar template.

Do you have any plans to add per usergroup?

and/or

Can you add an option to add a collapsable box (maybe conditionally by usergroup) around the banner similar to the one I have here that I use?
Reply With Quote
  #160  
Old 02-26-2006, 03:51 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I've got this installed but since I upgraded to 3.5.3 it's stopped displaying the banners. Any reason why? Thanks.
Reply With Quote
  #161  
Old 02-27-2006, 08:38 AM
jamshed jamshed is offline
 
Join Date: Nov 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed this and its giving some problem, i can see banners when surfing through opera browser, but i can see the banners when surfing throguh IE or Firefox??

Help please?
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 01:51 AM.


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.04783 seconds
  • Memory Usage 2,316KB
  • 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_code
  • (3)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