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)

Beermonster 08-04-2005 10:00 PM

Different banner on each forumbit
 
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

Blam Forumz 08-05-2005 06:30 PM

I like this, thanks ^_^

Rich 08-05-2005 07:37 PM

Hello,

I am currently using the vbSponsors mod that Live Wire has completed. If I wasn't, I would be using this one. Thanks!

kall 08-05-2005 07:39 PM

What's a "forumhome postbit"? Do you mean "forumbit"? :)

Beermonster 08-05-2005 07:42 PM

Quote:

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


I guess I do :o I've changed it for you :)

Bojangles 09-03-2005 03:53 AM

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

Beermonster 09-03-2005 07:37 PM

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>


Bojangles 09-03-2005 08:22 PM

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

stinger2 09-28-2005 09:35 AM

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

Beermonster 09-28-2005 09:52 AM

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?


All times are GMT. The time now is 09:56 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.01061 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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