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
Different banner on each forumbit Details »»
Different banner on each forumbit
Version: 1.03, by Beermonster Beermonster is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 08-04-2005 Last Update: 11-21-2005 Installs: 126
Supported DB Changes Uses Plugins Template Edits
 

This is an update of my previous have hack https://vborg.vbsupport.ru/showthread.php?t=63994


This modification will add an image banner with link and text to each forum you choose, and display it in on your forumhome postbits, you can have a different banner for each forum with additional text above the banner like Sponsored by or affiliated with, or you can choose to have no text.

Please click install for support


This will only work on vBulletin 3.5.0 RC1 and above this will not work on versions before RC1

20050929 - Updated zip with Firefox fix
20050930 - Updated zip with Real Firefox fix, plus added text under image code
20051122 - Updated html again

Show Your Support

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

Comments
  #2  
Old 08-05-2005, 06:30 PM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this, thanks ^_^
Reply With Quote
  #3  
Old 08-05-2005, 07:37 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I am currently using the vbSponsors mod that Live Wire has completed. If I wasn't, I would be using this one. Thanks!
Reply With Quote
  #4  
Old 08-05-2005, 07:39 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's a "forumhome postbit"? Do you mean "forumbit"?
Reply With Quote
  #5  
Old 08-05-2005, 07:42 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
What's a "forumhome postbit"? Do you mean "forumbit"?

I guess I do I've changed it for you
Reply With Quote
  #6  
Old 09-03-2005, 03:53 AM
Bojangles Bojangles is offline
 
Join Date: Aug 2005
Location: Phoenix, AZ
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and worked just great. However Firefox users had a problem with viewing the banner correctly. I checked out the previous version of this you made and saw this fix for them. Can you update your hack with it?

https://vborg.vbsupport.ru/showpost....3&postcount=72
Reply With Quote
  #7  
Old 09-03-2005, 07:37 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bojangles
Installed and worked just great. However Firefox users had a problem with viewing the banner correctly. I checked out the previous version of this you made and saw this fix for them. Can you update your hack with it?

https://vborg.vbsupport.ru/showpost....3&postcount=72
You should only need to alter the template code

Code:
<if condition="$forum['fhbanner']">
<table align="right" border="0"><tr><td align="center" valign="top">
<if condition="$forum['fh_banner']"><font size="1">$forum[fh_text]</font><br><a href="http://$forum[fh_url]" target="_blank"><img src="images/fhbanner/$forum[fh_banner]" alt="$forum[fh_url]" border="0" /></a>
</td></tr></table>
</if>
Reply With Quote
  #8  
Old 09-03-2005, 08:22 PM
Bojangles Bojangles is offline
 
Join Date: Aug 2005
Location: Phoenix, AZ
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is what I had to do manually.. it isn't that big of a deal. Just suggesting that maybe you can re-release your mod with that updated code. Either way, it's cool .
Reply With Quote
  #9  
Old 09-28-2005, 09:35 AM
stinger2's Avatar
stinger2 stinger2 is offline
 
Join Date: Jul 2005
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to make the text written under the banner?? instead of above it.....i think it will be better alignment with the main forum text
rgds
Reply With Quote
  #10  
Old 09-28-2005, 09:52 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stinger2
is there a way to make the text written under the banner?? instead of above it.....i think it will be better alignment with the main forum text
rgds
All you need to do is move the relevent line of code

Code:
<!-- Ad Banner Start -->
<table align="right" width="15%" border="0">
<div align="center" valign="top" valign="top">	
<if condition="$forum['fh_banner']"><a href="http://$forum[fh_url]" target="_blank"><img src="images/fhbanner/$forum[fh_banner]" alt="$forum[fh_url]" border="0" /><br><font size="1">$forum[fh_text]</font></a></div></if></table>
<!-- Ad Banner end -->
Hope that helps?
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 04:51 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.04524 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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