Back to vBulletin 3.6 Template Modifications

Affiliate Box on Homepage
Mod Version: 1.00, by Millenium IT

This modification is in the archives.
vB Version: 3.6.7 Rating: (2 votes - 4.50 average) Installs: 25
Released: 01 Jul 2007 Last Update: 01 Jul 2007 Downloads: 131
Not Supported  

Put a scrolling affiliate box on your forum's home page. This cleans up yor forums overall apearances since you can ad more immages and use up less space.

Installation:
1.)Upload the attached image file to your skin's 'misc' folder.
2.)Go to AdminCP=> Styles & Templates=> Style Manager=> Specified Style=> Edit Templates=> FORUMHOME

Find:
HTML Code:
<if condition="$show['birthdays']">
<!-- today's birthdays -->
Add Above:
HTML Code:
<tbody>
        <tr>
            <td class="thead" colspan="2">
<img id="collapseimg_forumhome_online" style="float:$stylevar[right]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_online].gif" alt="" border="0" />Affiliates
            </td>
        </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_online" style="$vbcollapse[collapseobj_forumhome_online]">
        <tr>
            <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" border="0" alt="Our Affiliates" />
            </td>
            <td class="alt1" width="100%">
 <style>
.imgfade{filter:alpha(opacity=30); -moz-opacity:1;margin-left:3px}
.imgfull{filter:alpha(opacity=100); -moz-opacity:1;margin-left:3px}
</style>
<!-- Start Marquee -->
<marquee width="700" valign="center" direction="right" scrolldelay="0" scrollamount="3" onmouseover="this.stop()" onmouseout="this.start()">
<!-- Start Enter Images Here -->
<!-- end Enter Images Here -->
</Marquee>
<!-- End Marquee -->
            </td>
        </tr>
            <tr>
                <td class="alt2" colspan="2" align="center">
<center><a href="http://www.yourdomain.com/forum/private.php?do=newpm&u=1" target="_top" title="Request affiliation!"><img src="$stylevar[imgdir_misc]/affiliate.gif" border="0" /></a></center>
                </td>
            </tr>
    </tbody>
Please note: On the 6th last line there is a change that must be made to this code.

http://www.yourdomain.com/forum/private.php?do=newpm&u=1

Replace the yourdomain part with...well...your domain

Save and done.

Screenshot:
&stc=1&d=1183237974

Download

This modification is archived, downloads are still allowed.

File Type: %1$s info.txt (2.3 KB, 138 downloads)

Screenshots

Click image for larger version
Name:	a.jpg
Views:	1010
Size:	10.7 KB
ID:	66351   Click image for larger version
Name:	affiliate.gif
Views:	326
Size:	4.5 KB
ID:	66352  

Similar Mods

Forum Home Enhancements Affiliate Box - Scrolling and Fading Affiliate Buttons vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024