Version: 1.01, by amykhar
Developer Last Online: Nov 2013
Version: 3.0.3
Rating:
Released: 12-05-2004
Last Update: 07-18-2005
Installs: 35
No support by the author.
This hack converts any US amazon link posted on your board to use your affilliate id and is based of some work Logician did for me in Vbulletin 2, but is an improved rewrite. The old version did not track well with Amazon because it did not strip out Amazon session ids.
Please note that you need to change my affilliate id to use yours.
Also note that the chunk of code you are looking for in edit.php may not be an exact match in your file. You are looking for the query that updates the post table with the edited post.
Regarding Update.zip Update.zip contains a new functions_amazon.php that I would like some people to try out before I add to the regular zip file. The new function handles Amazon's new link format, and I believe, works better than the original function. Please LET ME KNOW if you try it and it works for you.
-------------
This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
It loses the 002-5061230-3600869 and adds a extra /
Not sure but I also think the dealmeinnet-20 part is the persons ID from where I grabbed the link to post to my site..
Nope. It's not. It needs to kill the dealmeinnet-20 part or you won't get credit. When you post a link to a product, it does kill any other referral links. But, it may have issues when you post a link to a general page.
First the good news. This hack will be trivial to port over to 3.5 as a plugin. It won't require any code edits on your part when I release it.
Now the bad news. Amazon has changed their affilliate link format again. The links to direct products are working still, but the rest is not. So, those of you who are using this hack are probably seeing a drop in revenue.
I'm working on getting it fixed, but parsing the urls has been less than fun. I'm not sure why Amazon keeps changing how they do their links. You would think they would leave well enough alone.
I just added a new zip file called update.php. In it, there is a new version of functions_amazon.php. Please give it a try as it handles the new link formatting style that Amazon now employs. I am running this version of the file on my 3.5 board with no problems. If a few of you 3.0.x guys let me know that it works for you, I will replace the file in the original zip with the new one.
which doesn't work. I'm guessing it's the double slashes. But I could be wrong. I did try the URL with only one of those slashes, and it takes me to the product page.
I'm going to look it over to see if I can find anything. But thanks Amy for your contribution. I'll probably head over to your forum to join.
The double slashes don't mess it up on my site. I haven't seen this version of the mod break, but it's not the heavy time for my users to be using it yet.