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
  #22  
Old 09-30-2005, 11:51 PM
dreck's Avatar
dreck dreck is offline
 
Join Date: Nov 2004
Location: Pickens SC
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stinger2
PHP Code:
<!-- Ad Banner Start Firefox Friendly Text under image -->
<
table align="right" border="0"><tr><td align="center" 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></if>
</
td></tr></table>
<!-- 
Ad Banner end Firefox Friendly Text under image --> 
now it became a complet one...thanks every one for the great share
ps..hope the original file will be updated
regards
Yes, thank you... This works well with both IE & foxfire!
Reply With Quote
  #23  
Old 10-01-2005, 07:40 PM
hashesh hashesh is offline
 
Join Date: Dec 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how hard would it put to use html code in this?

the new google adsense 468x15 would be cool to have in there.
Reply With Quote
  #24  
Old 10-02-2005, 11:20 PM
HC. HC. is offline
 
Join Date: Mar 2004
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what size banners do you have to use?
can you have more than 1 banner?
Reply With Quote
  #25  
Old 10-04-2005, 04:01 AM
Steelersfan Steelersfan is offline
 
Join Date: Aug 2005
Location: Maine
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see I have the option for this with subforums but the images don't show up. I assume I have to edit another template but I'm not sure which one. Could anyone help with this?
Reply With Quote
  #26  
Old 10-07-2005, 08:00 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Steelersfan
I see I have the option for this with subforums but the images don't show up. I assume I have to edit another template but I'm not sure which one. Could anyone help with this?
You can put the code in forumhome_forumbit_level1_post but TBH I'm not really sure where for some reason I can only get it to show under the forum name, put it after

Code:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
Reply With Quote
  #27  
Old 10-15-2005, 01:36 AM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent! Thank you

*Clicks install*
Reply With Quote
  #28  
Old 10-15-2005, 03:54 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I add the image banners with a html code? All my banners have a specific codes for affiliate programs. Thanks.
Reply With Quote
  #29  
Old 11-13-2005, 08:33 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stinger2
thanks mclark....and thanks beermonster
it works great....its a fix for the text above

for the text under its

PHP Code:
<!-- Ad Banner Start Firefox Friendly Text under image -->
<
table align="right" border="0"><tr><td align="center" 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></if>
</
td></tr></table>
<!-- 
Ad Banner end Firefox Friendly Text under image --> 
now it became a complet one...thanks every one for the great share
ps..hope the original file will be updated
regards
yeah that too worked for me as well :nervous: ****INSTALLED*******
Reply With Quote
  #30  
Old 11-21-2005, 05:59 PM
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Location: Craiova
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beermonster why don't you update the zip with the code posted by mclark2112 and stinger2
Because it gave me a lot of headaches trying all the fixes posted here and only after doing what they wrote it work
it should be nice to put it in the zip so it will work on new installs without giving headaches to the admins...
Reply With Quote
  #31  
Old 11-22-2005, 07:03 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by craiovaforum
Beermonster why don't you update the zip with the code posted by mclark2112 and stinger2
Because it gave me a lot of headaches trying all the fixes posted here and only after doing what they wrote it work
it should be nice to put it in the zip so it will work on new installs without giving headaches to the admins...
It's finding time :disappointed:

Updated but I havn't checked them just going by what has been posted here
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:00 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.05101 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_code
  • (2)bbcode_php
  • (4)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