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
  #32  
Old 12-13-2005, 04:36 AM
DiSS Troya's Avatar
DiSS Troya DiSS Troya is offline
 
Join Date: Nov 2001
Location: Las Vegas
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work for 3.5.2? Have all the bugs been worked out?
Reply With Quote
  #33  
Old 01-25-2006, 04:18 AM
UK Jimbo's Avatar
UK Jimbo UK Jimbo is offline
 
Join Date: Sep 2002
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to work fine for me on v3.5.3

If you're upgrading from the older v3.0.x version of it you might want to use the following queries to copy the old data over after you've installed the hack:

Code:
UPDATE forum SET fh_banner=fhbanner;
UPDATE forum SET fh_url=fhbannerlink;
UPDATE forum SET fh_text=fhmessage;
After making this change you'll need to flush the forum cache. From the forum manager choose to edit any forum (it doesn't matter) and save it without making any changes.


If you want to remove the columns created by the older v3.0.x hack you can use the following SQL

Code:
ALTER TABLE forum DROP fhbanner;
ALTER TABLE forum DROP fhbannerlink;
ALTER TABLE forum DROP fhmessage;
Reply With Quote
  #34  
Old 01-27-2006, 03:45 PM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed this is great and SOO easy to modify for your needs...

thanks so much!!

/me clicks install
Reply With Quote
  #35  
Old 02-23-2006, 09:35 PM
m_k's Avatar
m_k m_k is offline
 
Join Date: Mar 2003
Location: South Carolina
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is exactly what I needed for some links back to main site

<clicks install>

thanks for a great hack :-)
Reply With Quote
  #36  
Old 02-24-2006, 09:56 AM
m_k's Avatar
m_k m_k is offline
 
Join Date: Mar 2003
Location: South Carolina
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could this be modified to add a second banner next to the first one? would that be difficult to implement?
Reply With Quote
  #37  
Old 04-02-2006, 07:38 AM
foulplay's Avatar
foulplay foulplay is offline
 
Join Date: Mar 2006
Location: US
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't get my banner to show. I followed the directions. I guess i'm confused in creating my folder like it says:

Create a "fhbanner" folder EX: $vbhome/images/fhbanner

I don't know what's $vbhome? I did it like this: forums/images/fhbanner

Is that the same thing as $vbhome?
Reply With Quote
  #38  
Old 04-02-2006, 07:48 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ant0nio
I can't get my banner to show. I followed the directions. I guess i'm confused in creating my folder like it says:

Create a "fhbanner" folder EX: $vbhome/images/fhbanner

I don't know what's $vbhome? I did it like this: forums/images/fhbanner

Is that the same thing as $vbhome?
If you forums are in a forums dir then forums/images/fhbanner would be correct, basically find your images dir and make a fhbanner dir in it
Reply With Quote
  #39  
Old 04-02-2006, 06:46 PM
foulplay's Avatar
foulplay foulplay is offline
 
Join Date: Mar 2006
Location: US
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Beermonster
If you forums are in a forums dir then forums/images/fhbanner would be correct, basically find your images dir and make a fhbanner dir in it

I did that..but for the Love of God, it's not working for me. I followed the hack to the "T" and still my banners won't show up. I know I copied and edited the Template : forumhome_forumbit_level2_post and added the following code:

<!-- Ad Banner Start Firefox Friendly Text above image -->
<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></if>
</td></tr></table>
<!-- Ad Banner end Firefox Friendly Text above image -->


I also imported the file: "banner_ad_postbits.xml"


What am I doing wrong??? And yes I did went to Forum Manager, scrolled to the bottom and added everything correctly, Just how you displayed it on the attachment pictures.

My VBulletin is 3.5.4
Reply With Quote
  #40  
Old 04-04-2006, 10:52 AM
defcon_420's Avatar
defcon_420 defcon_420 is offline
 
Join Date: Jun 2004
Location: next to you
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you rock! works great with 3.5.4

found the instructions a little unclear but works a treat!
Reply With Quote
  #41  
Old 04-05-2006, 10:42 PM
Devil Woman Devil Woman is offline
 
Join Date: Jul 2005
Location: England
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having the same problem as ant0nio I have followed the instructions to a T created a fhbanner folder added my image into there and I have tried the following

forums/images/fhbanner/picturename.jpg

and i have tried

images/fhbanner/picturename.jpg

Am i going wrong somewhere?

Nikki
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:20 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.06060 seconds
  • Memory Usage 2,301KB
  • 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
  • (2)bbcode_code
  • (2)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