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:
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:
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).
Awesome mod! It's actually the first one out of three others that I've tried and has actually worked!
Just one question, I'm currently using it for Topsites instead of Affiliates, is there any area of the xml file where I can change the display areas on the front page to say 'Topsites' instead of 'Affiliates'? Thanks!
Awesome mod! It's actually the first one out of three others that I've tried and has actually worked!
Just one question, I'm currently using it for Topsites instead of Affiliates, is there any area of the xml file where I can change the display areas on the front page to say 'Topsites' instead of 'Affiliates'? Thanks!
Affiliates is a phrase, so a simple search should display the information you need. =]