Affiliation Display
This modification is in the archives.
3.8.x version can be 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> <a href="http://www.yourdomain.com"><img src="http://www.yourimagelink.com/imagelink.gif" border="0"></a> 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> Code:
$affiliation 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
This modification is archived, downloads are still allowed. Screenshots |