![]() |
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 |
I like this, thanks ^_^
|
Hello,
I am currently using the vbSponsors mod that Live Wire has completed. If I wasn't, I would be using this one. Thanks! |
What's a "forumhome postbit"? Do you mean "forumbit"? :)
|
Quote:
I guess I do :o I've changed it for you :) |
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 |
Quote:
Code:
|
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 :).
|
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 |
Quote:
Code:
<!-- Ad Banner Start --> |
thank you sir for the quick response..just installed and it looks charming now.....
can i ask for one thing more....... the fix you gave for fire fox...corrected the original...but it seems not working on this one.......any idea |
Quote:
Code:
<if condition="$forum['fhbanner']"> I've also updated the zip with the Firefox fix |
The IE code works great. But the foxfire gets this error when trying to save.
Code:
The following error occurred when attempting to evaluate this template: |
yes sir...this is what i was getting and reffered to in my previouse post....the fix is not working for the text under version......
but i really do suggest that the text under become the original hack.....the alignment is great....i will attach a snapshot for it..hope we get a fix for firefox kind regards |
Sorry guys me being lazy and not checking my code, I've tested it on 3.5.0 Gold with Firefox and IE with text above and below image, zip updated :)
|
thank you sir
..for some reason the text below with firefox fix is not working.....at least for me.. it doesnot show any error...but........the forum structure is totally disturbed..all spaces are disturbed with IE and avant |
Put the </if> inside the last </td>
This will fix the screwed up forum stuff in Firefox. Quote:
|
Quote:
The IE still works fine. |
Quote:
|
Quote:
it works great....its a fix for the text above for the text under its PHP Code:
ps..hope the original file will be updated regards |
Quote:
|
how hard would it put to use html code in this?
the new google adsense 468x15 would be cool to have in there. |
what size banners do you have to use?
can you have more than 1 banner? |
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?
|
Quote:
Code:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> |
Excellent! Thank you :)
*Clicks install* |
How do I add the image banners with a html code? All my banners have a specific codes for affiliate programs. Thanks.
|
Quote:
|
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... |
Quote:
Updated but I havn't checked them just going by what has been posted here :) |
Does this work for 3.5.2? Have all the bugs been worked out?
|
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; 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; |
Installed this is great and SOO easy to modify for your needs...
thanks so much!! /me clicks install |
this is exactly what I needed for some links back to main site
<clicks install> thanks for a great hack :-) |
could this be modified to add a second banner next to the first one? would that be difficult to implement?
|
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? |
Quote:
|
Quote:
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 |
you rock! works great with 3.5.4
found the instructions a little unclear but works a treat! |
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 04:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|