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).
1.5
Recoded the way the script is inserted.
1.2
Created new icons.
1.1
Fixed a spacing issue.
1.0
Released.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I copied the default code over to the edit box, replaced the image locations and link targets and saved it.
Still displays nothing, in either my default style or my custom styles.
Download the hook version from the attachments and place $affiliation anywhere in the FORUMHOME template where you wish for your affiliates to be displayed.
Quote:
Originally Posted by XnaMe
How to move the box up?
By doing what I told Scarface Claw you can position it anywhere you wish.
is there anyway to get the links to not scroll and just appear normally?
I added a new product just for you. It is called product-affiliationnomarquee. You could also download product-affiliationnomarqueehook if you wish to display it in a different position on the FORUMHOME.
Quote:
Originally Posted by Scarface Claw
Cheers bro
I'll let you know how I get on.
One think though, do I uninstall the previous version and then install the hook version.
Or do I install both?
Uninstall the previous version then install the hook version, if you installed both you would have two affiliation areas .