10/4/2014: Version 1.1.1
- Added support for multiple affiliate accounts in different countries. Please revisit the options page.
NOTE: If you have a non-US program Amazon Affiliate ID, you will need to set your affiliate id to the correct Amazon country program in the options. Because of this new feature, the "affiliate replacement" feature will now only work if you have an affiliate id assigned to the country in which the affiliate id you want replaced exists.
For example, if you have links on your site to products on amazon.de that include an affiliate id, those affiliate id's will only be replaced by your affiliate id if you participate in the amazon.de affiliate program, and have the amazon.de affiliate option entered on your XenForo installation. This is a long explanation, but it can be confusing if you're used to seeing your tag on ALL amazon links, which is overkill since most sites only participate in one program.
10/1/2014: Version 1.1.0
Rewrote large portions of this to fix tags in URL's that were not being removed, reported by @avforums.
Smaller code base, and should be faster.
Fixed an edge case of the proxy link not working.
Proxy fixing code and query URL code are more closely related.