The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Forum Sponsors Details »» | |||||||||||||||||||||||||
vB Forum Sponsors vBulletin 3.5.0 RC 2 www.vBHackers.com What this does This will allow you to setup a linked banner to appear on you forums area. The look of the icon depends on how you want to set it up in the templates. This will work for all levels of sub-forums. See screenshot for example. Note: This hack will work for vBulletin Version 3.5.0 RC-1 and RC-2 ONLY! Requested By: iguanairs in This Post To do list...
Template Changes: Read this post for template changes Please read carefully and make all the necessary changes as stated. This is will work if installed properly. PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack Help & Support Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here. Please post bugs and errors here. Hope you like, feedback welcomed. Show Your Support
|
Comments |
#12
|
|||
|
|||
Quote:
Quote:
Quote:
|
#13
|
||||
|
||||
Hello,
No screenshot required. If I have a forum that has a sponsor, and move it to a Category, it removes the sponsor bit completely. Just picture the "normal" view. Thats what I get. It has to do with the categories. I installed this on a pre-existing site with forums, and then did a clean install. The categories, for some reason, mess it up. Categories wouldn't bother me except I want to space everything. I can space the categories, and lose this mod, or use forums and subforums, but no spacing, and use this mod. My preference, use this mod and space them. lol |
#14
|
|||
|
|||
Well depending on the design of your forums you can place this anywhere within the forum. Its a global variable. You can even place it in the postbit if you wanted to. And if you have a banner on forumid 6, then everypost that is in forumid 6 will show the banner.
I can't seem to reproduce the bug you stating about pre existing forums. Keep in mind that your categorys are within the "forumhome_forumbit_level1_nopost" template, and your subforums are within the "forumhome_forumbit_level2_post" template. |
#15
|
|||
|
|||
As you can see in my screenshot, everything is working as designed.
My forumhome_forumbit_level1_nopost template code is: HTML Code:
<tbody> <tr> <td class="tcat" colspan="2"> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> <td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">4<else />3</if>" valign="middle"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> <if condition="$forum[issponsor] == 1"> $vbphrase[sponsored_by] <a href="$forum[sponsor_url]" target="_blank">$forum[sponsor_banner]</a> </if> </td> </tr> </tbody> <if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> $childforumbits </tbody> </if> HTML Code:
<tr align="center"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <if condition="$forum[issponsor] == 1"> <div style="float:$stylevar[right]"> $vbphrase[sponsored_by] <a href="$forum[sponsor_url]" target="_blank">$forum[sponsor_banner]</a> </div> </if> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> $childforumbits |
#16
|
||||
|
||||
Hello,
I don't know why, but when I copied your code above over the default code I had for those 2 templates, everything started working fine. Prior to just now, I haden't editted either one of those files. Was I suppose to do that during install? I only editted the forumhome_forumbit_level1_post. With just that edited, that is where I was getting the problem. With your template code above, everything is working. I don't know, but thank you! This does what I need. Thanks again! |
#17
|
|||
|
|||
Glad you got it working
|
#18
|
|||
|
|||
This looks good, will give it a try sometime
|
#19
|
|||
|
|||
Thanks alot and that worked and I know why there was a problem before. In your readme it says forumhome_forumbit_level1_post when it should be forumhome_forumbit_level1_nopost. Hope that helps and that future installations can be saved from the hassle but it is a great hack now all I need is some supporters willing to donate lol
|
#20
|
|||
|
|||
Thanks, I didn't relize that. I'll fix now.
|
#21
|
|||
|
|||
Updated first post with fixed readme.txt
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|