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.
Fixed the private problem.
Also I tried messing with the amazom feed with and without adding that code to the RSS Article Bot and it didnt work at all. THe RSS didnt work.
You COULD change where my hack is run. Instead of running when a post is made and making the changes stick in the database, you COULD run it when the posts are shown instead. This way, they would be converted at display time, which would mean any link gets changed, no matter how old. That is the way it worked under VB2.
I didn't write the hack this way because that adds extra processing time that I felt wasn't worth it. I believe it's better to convert as each post is made, rather than having to reformat the link every time somebody views the post.
You COULD change where my hack is run. Instead of running when a post is made and making the changes stick in the database, you COULD run it when the posts are shown instead. This way, they would be converted at display time, which would mean any link gets changed, no matter how old. That is the way it worked under VB2.
I didn't write the hack this way because that adds extra processing time that I felt wasn't worth it. I believe it's better to convert as each post is made, rather than having to reformat the link every time somebody views the post.
Good point. Is there an easy way to change this to make it work with the NTTP usenet hack?
Gang, I don't have the time to get this working with other hacks that I don't use. I'm sorry but you're going to be on your own to get it working with other people's code.
The good thing is, it's trivial to make this puppy work. You just have to run the post message through my Amazon parser right before the post is entered in the database. It's just a matter of reading your hack code and finding the message variable and passing that to the parser before the database insert.