Back to vBulletin 3.8 Add-ons

Affiliation Display
Mod Version: 4.5, by TheInsaneManiac

vB Version: 3.8.x Rating: (5 votes - 4.80 average) Installs: 84
Released: 23 Jan 2009 Last Update: 26 Dec 2009 Downloads: 583
Not Supported Uses Plugins Auto-Template Additional Files  

This is a port of my Affiliation Display modification for 3.7.x found http://www.vbulletin.org/forum/showthread.php?threadid=184198.

This mod is now available for 4.x.x found HERE.


Do you have so many affiliates that you just can't keep them all together on one line? Then this modification is for you! It uses a marquee to display your affiliates in it's own box in the "What's Going On?" area. The marquee is set up to stop when you hover over an affiliate and start back up when you are no longer hovering over an affiliate.

Edit your affiliate links and images via the AdminCP.

Installation
1.) Upload the contents of the "upload" folder to your forums root directory.
2.) Import the product-adblockalert.xml.
3.) Use this code as a guideline to displaying your affiliates:
Code:
<a href="http://www.yourdomain.com"><img src="http://www.yourimagelink.com/imagelink.gif" border="0"></a>&nbsp;<a href="http://www.yourdomain.com"><img src="http://www.yourimagelink.com/imagelink.gif" border="0"></a>
4.) Mark Installed. =]

Upgrade
For 4.5 and above import the product and select Allow Overwrite.

For anything previous to 4.5 you need to copy your affiliation_code and gfxaffiliation_code somewhere safe, then uninstall the old product, and install the latest. From there just transfer your codes to the AdminCP.

Display Issues
Some styles may not display the product correctly or you may wish to move it to a completely different area of the FORUMHOME. If this is the case import the disable automatic template edits via the AdminCP.

You then will need to find the following code in your FORUMHOME template:
Code:
		<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
	</tr>
</tbody>
</if>
Add after:
Code:
$affiliation
If you wish to display it somewhere else within your FORUMHOME template then just place $affiliation anywhere you wish inside your FORUMHOME template.

Changelog
4.5
Code rewritten.
Upgrading is now simpler.
Version checking is now enabled.
Option added to AdminCP to allow you to edit the affiliation code.
Option added to AdminCP to allow you to edit the gfx affiliation code.
Option added to AdminCP to allow you to enable/disable the marquee.
Option added to AdminCP to allow you to set the speed of the marquee.
Option added to AdminCP to allow you to set the speed of the marquee when hovering.
Option added to AdminCP to allow you to enable/disable automatic template edits.
AdminCP screenshot added.

4.0
Now works on both 3.7.x and 3.8.x.

3.5
Loads only on FORUMHOME now to reduce non needed queries from executing.

3.0
Added the hooks back.

2.0
Added an option for an extra affiliate bar for GFX affiliates (Requested).

1.5
Recoded the way the script is inserted.

1.2
Created new icons.

1.1
Fixed a spacing issue.

1.0
Released.

Download

File Type: %1$s Affiliation Display.zip (19.2 KB, 492 downloads)
File Type: %1$s Affiliation Display 4.5.zip (14.8 KB, 194 downloads)

Screenshots

Click image for larger version
Name:	Affiliation.jpg
Views:	2542
Size:	18.6 KB
ID:	93352   Click image for larger version
Name:	Affiliation AdminCP.jpg
Views:	249
Size:	100.2 KB
ID:	108164  

Similar Mods

Add-On Releases Affiliation Display vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024