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

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

Category: Forum Display Enhancements - Version: 3.6.4 Rating:
Released: 11-27-2006 Last Update: Never Installs: 176
DB Changes Uses Plugins Template Edits
 
No support by the author.

/* -----------------11/28/2005 10:37AM-----------------
[HowTo] Add a banner option image to each forum w/ Link V.1.7
Tested on vBulletin: 3.6.4

Zachariah - http://www.gzhq.net

Quote:
This is an update of my previous hack:
*** Add a banner image to each forum (VB 3.5x)
https://vborg.vbsupport.ru/showthread.php?t=94119
DEMO
- banner for an on-line game clan/guild.

*** 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 and SHOWTREAD.
  • This images can be located on the localhost or on a remote server.

Changelog:
------------
1.7
- str_replace used to place hack at $navbar in FORUMDISPLAY, SHOWTHREAD.
- choice to show in thread per forum.
- Place $add_banner in template if str_replace fails to work.
- add_banner template added


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
Added 3.x to VB 3.5 upgrade XML file.

--------------------------------------------------*/

Show Your Support

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

Comments
  #32  
Old 04-17-2007, 05:40 PM
vuiveclub_net vuiveclub_net is offline
 
Join Date: Mar 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is the a way we can allow the moderator of that forum create his/her own header/footer ??? This seems like only Admin create every single header.
Reply With Quote
  #33  
Old 04-18-2007, 02:47 AM
maamon maamon is offline
 
Join Date: Apr 2007
Location: Egypt
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

شكرا على ملف المنتج
Reply With Quote
  #34  
Old 04-18-2007, 04:47 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 maamon View Post
شكرا على ملف المنتج
I do not understand.
Reply With Quote
  #35  
Old 04-18-2007, 04:48 PM
robert_2004 robert_2004 is offline
 
Join Date: Sep 2004
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah.... maamon's right.
Reply With Quote
  #36  
Old 08-28-2007, 08:32 PM
stevebullman stevebullman is offline
 
Join Date: Jul 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure what im doing wrong but i dont get any images come up, just red crosses
Reply With Quote
  #37  
Old 08-28-2007, 09:30 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 stevebullman View Post
not sure what im doing wrong but i dont get any images come up, just red crosses
Red images usably means that the URL's to the images are off.
- Right click on the broke image and go to properties. It should tell you more info on the location of where the script thinks your images are.
Reply With Quote
  #38  
Old 08-28-2007, 10:08 PM
asw asw is offline
 
Join Date: Jun 2007
Location: Boise, Idaho
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 3.6.8 and working flawlessly! Many thanks for this hack! :up:
Reply With Quote
  #39  
Old 08-28-2007, 10:29 PM
jmw jmw is offline
 
Join Date: Jan 2005
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by asw View Post
Installed on 3.6.8 and working flawlessly! Many thanks for this hack! :up:
Good to know.
Reply With Quote
  #40  
Old 08-29-2007, 12:36 PM
stevebullman stevebullman is offline
 
Join Date: Jul 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah View Post
Red images usably means that the URL's to the images are off.
- Right click on the broke image and go to properties. It should tell you more info on the location of where the script thinks your images are.

thanks, i actually had the path wrong, im new to all this still....works a treat now!
the random banner code you put the 3rd post down is particularly useful as it works in red tygers ad management hack also!
Reply With Quote
  #41  
Old 09-04-2007, 12:40 PM
MotMann MotMann is offline
 
Join Date: Jan 2006
Location: Germany
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have that one and its not correct working:

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

banner = new banner(); 
number 0

// bannerArray 
banner[number1] = "<!-- ebay Affili -->
<script language="
JavaScript" type='text/javascript'>
// <!--<[CDATA[
    era_width = '728';
    era_height = '90';
    era_layout = 'img';
    era_color_title = '000000';
    era_itemtype = '0';
    era_publisher='xxxxxxxx';
    era_color_bg = 'FFFFFF';
// ]]> -->
</script>
<script language="
JavaScript" type='text/javascript' src='http://api.xxxxxxxx.de/js/show_ads.js'></script> 
<!-- eBay Affili -->"

banner[number2] = "<!-- BEGIN PARTNER PROGRAM - DO NOT CHANGE THE PARAMETERS OF THE HYPERLINK -->
<script language="
JavaScript" type="text/javascript">
  //<!--<[CDATA[
    am_referrer = 'xxxxxxxx';
    am_template = '1';

    am_color_text = '000000';
    am_color_title = '000000';
    am_color_border = '000000';
    am_color_background = 'FFFFFF';
    am_color_price = 'FF0000';
    am_color_link = '3333FF';

    am_stmo = '1';
    am_tsr = '02';
  // ]]> -->
</script>
<script language="
JavaScript" type="text/javascript" src="http://banners.xxxxxx.de/show_ads.js"></script>
<!-- END PARTNER PROGRAM -->"


 
// keep adding items above here... 

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

//-->
</script> 
any idea?
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:13 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.04434 seconds
  • Memory Usage 2,319KB
  • 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
  • (5)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
  • (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