vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Different banner on each forumbit (https://vborg.vbsupport.ru/showthread.php?t=93673)

DiSS Troya 12-13-2005 04:36 AM

Does this work for 3.5.2? Have all the bugs been worked out?

UK Jimbo 01-25-2006 04:18 AM

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;


The Chief 01-27-2006 03:45 PM

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

thanks so much!!

/me clicks install

m_k 02-23-2006 09:35 PM

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

<clicks install>

thanks for a great hack :-)

m_k 02-24-2006 09:56 AM

could this be modified to add a second banner next to the first one? would that be difficult to implement?

foulplay 04-02-2006 07:38 AM

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?

Beermonster 04-02-2006 07:48 AM

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 :)

foulplay 04-02-2006 06:46 PM

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

defcon_420 04-04-2006 10:52 AM

you rock! works great with 3.5.4

found the instructions a little unclear but works a treat!

Devil Woman 04-05-2006 10:42 PM

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


All times are GMT. The time now is 11:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01095 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete