Back to Modification Graveyard

vB Forum Sponsors
Mod Version: 1.00, by Logikos

This thread is in the Modification Graveyard.
vB Version: 3.5.0 Rating: (1 vote - 4.00 average) Installs: 96
Released: 05 Aug 2005 Last Update: 06 Aug 2005 Downloads: 7
Not Supported DB Changes Uses Plugins Template Edits  

vB Forum Sponsors

vBulletin 3.5.0 RC 2
http://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: in This Post

Spoiler (click to open)


Hello,

I have a suggestion for an upgrade. Could you make it so that the icon we choose can also be a link to another page if we want it too? That would allow us to have sponsor on each forum that when clicked, leads to a custom profile page or something that describes their company.

"Clicks Install"

Close


To do list...
  • Time to install: 3 minutes
  • Queries to run: 3
  • File Mods: 0
  • Templates to edit: 1
  • Templates to add: 0
  • New Phrases: 5
  • New Plugins: 2

Template Changes:
Read this post for template changes

Spoiler (click to open)


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>
My forumhome_forumbit_level2_post Template code is:
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&amp;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]&nbsp;</div></td>
        </if>
</tr>
$childforumbits
Attached Images
File Type: gif lookie.gif (35.6 KB, 187 views)

Close


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

Click It For Support!

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.

Download

This modification cannot be downloaded.

Screenshots

   

Similar Mods

Major Additions vB.Sponsors - Forum and Category Sponsorship Ads with Statistics vBulletin 3.6 Add-ons
vB.Sponsors - Forum and Category Sponsorship with Statistics vBulletin 3.5 Add-ons
Major Additions vB.Sponsors - Forum and Category Sponsorship Ads (and AdSense) with Statistics vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2025