vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Dynamically Create Amazon Links to use your associate id (https://vborg.vbsupport.ru/showthread.php?t=92444)

amykhar 07-17-2005 10:00 PM

Dynamically Create Amazon Links to use your associate id
 
This one is in beta gang. Amazon seems to like to change their link style every two minutes.

What it does: It takes any link to Amazon pages on your forum and modifies the link on the fly to use your associate id. This one should make you some money - it generally works very well for my forum around Christmas time.

No screenshots. You know what an Amazon link looks like ;)

I am offereing this one with limited support. I will get it working as well as possible - in other words, correctly transforming as many links as possible. But, I can't promise it will get every link because of differences between the different vbulletin message editors, etc.

Amy

-------------
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. :)
https://vborg.vbsupport.ru/external/2010/02/12.gif

Dan 07-18-2005 05:46 PM

Nice job:) Very good idea! Won't use it but good job :D

bigcurt 07-18-2005 07:18 PM

Good Job Amy

amykhar 07-18-2005 07:22 PM

Quote:

Originally Posted by bigcurt
Good Job Amy

It's been available for 3.0 versions for ages.

amykhar 07-19-2005 02:21 AM

Gang, I just wanted to note that clicking the install button is pretty important with this and other beta hacks. As I fix any little glitches I find as the code runs on my site, I update the code for you and send out update emails. I will ONLY announce these bug fixes in the update emails as my feeble attempt to entice you to click the install button.

Paul M 07-19-2005 06:51 AM

Perhaps I'm missing something very obvious here - but why do you have a seperate file to upload - when all the plugin does is call this file ? Why not just put the code in the plugin ?

amykhar 07-19-2005 01:38 PM

Quote:

Originally Posted by Paul M
Perhaps I'm missing something very obvious here - but why do you have a seperate file to upload - when all the plugin does is call this file ? Why not just put the code in the plugin ?

Because I am trying to make it so the file is compatible with the 3 and 2 versions because Amazon has changed its links. In addition, I should be able to hook this into private messages as well and keeping the code in one place makes it more maintainable.

Amy

mrplow 07-19-2005 09:30 PM

Downloading to look at :)
I assume I'm gonna have to fiddle to make it work with .co.uk?


edit: What's the standard form for a US link?

Ours are like this: http://www.amazon.co.uk/exec/obidos/...221647-1306012
http://www.amazon.co.uk/exec/obidos/...TCODE/REFCODE/ ?

I don't even know what the last bit is, I assume it's some kind of session thing?

Anyway the codes at the bottom of your file look like they'd work fine with just .com replaced with .co.uk, what do you reckon?

The other ones... ours are like this
http://www.amazon.co.uk/exec/obidos/...rowse/-/283926 (that's DVDs)

Again looks the same. Seems shockingly sensible (i.e. unlikely!) that both sites actually use the exact same code.



Maybe I'll just dive in and try it :o

amykhar 07-19-2005 10:35 PM

That's what I advise. Just dive in and try. :)

question? 08-21-2005 06:21 PM

Nice hack!

amykhar 08-21-2005 06:44 PM

Thank you. :)

dastar 10-31-2005 12:08 PM

Nice mod. It looks like Amazon very recently changed their URL schema though as it seems it's not inserting the affiliate ID like it used too :(

amykhar 10-31-2005 12:58 PM

Again? I get so sick of Amazon changing their links. This is the third time since this mod originally came out for version 2.x

Amy

Juniors 11-06-2005 11:32 PM

If its possible to use it only with the amazon API, then we dont need links and Amazon will give us automatically an image, text...

Maybe you can work on this Plugin so we can use it with the API!?

Thanks a lot

Junior

amykhar 11-07-2005 02:35 AM

Junior, if you can tell me a way to use the amazon api to take a link that somebody arbitrarily posts and change it to use the associate id, I'll gladly do it as long as it doesn't kill performance.

lazyseller 11-13-2005 03:55 AM

is there a way to choose a different hook ? where it automatically makes the link from existing threads ? i notice this works only on newly created threads

Bernd Glasstett 12-08-2005 10:40 PM

I would love to see this hack in a german version too. Any attempt to make this?

lisagauss 12-14-2005 02:36 AM

I would love to see this also work for different affiliate programs, such as linkshare or comission junction. If anyone knows if there is something similar to this for CJ or Link Share, please, please let me know. Thanks.

Zowners 03-01-2006 09:27 AM

Does this version still work?

amykhar 03-01-2006 09:38 AM

It seems to on my site contrary to earlier reports that the link format has changed.

Marv 03-01-2006 03:43 PM

Quote:

Originally Posted by amykhar
It seems to on my site contrary to earlier reports that the link format has changed.

Amy,
just a short question. I?m using this with the german amazon-site. I never noticed a no=sim in the links. What is it for ?

Anyway,..this no=sim becomes to:
Code:

http://www.amazon.de/exec/obidos/ASIN/3131476911/ref%3Dnosim/myaccount-id/313-2246395-9169407
and I?m asking myself if this link will lead to a conversion..

Any idea - anyone ?

amykhar 03-01-2006 04:17 PM

The nosim means don't show similar products.

daFish 03-12-2006 05:25 PM

First, great hack amykhar.

Second, is there a way to make the changed links permanent?
Because if you edit a posting, it shows the old and unchanged link.

Holidazed 03-23-2006 02:49 PM

This is a great addon Mnykhar. Good job.

Question: I posted a message at https://vborg.vbsupport.ru/showthread.php?p=932722 that is a request along the same lines as this addon. Can you read it please and tell me what you think?

Thanks

amykhar 03-23-2006 05:28 PM

It's not somethng I'm interested in working on, but it's an interesting idea :)

amykhar 03-29-2006 12:20 PM

I just uploaded a new zip file that fixes a problem my users just now reported with hotlinking Amazon images. Why they didn't mention this problem two years ago....

Users :rolleyes:

MikeWarner 04-16-2006 08:45 PM

How about the same thing for ebay?

amykhar 04-17-2006 11:36 AM

mike, I did it for 3.0 and nobody really used it. With very little effort, you could take the old ebay mod and this mod and combine them to have a working ebay mod.

MikeWarner 04-17-2006 11:55 AM

I'll look into it. Thanks.

Tralala 04-17-2006 03:20 PM

Quote:

Originally Posted by amykhar
I just uploaded a new zip file that fixes a problem my users just now reported with hotlinking Amazon images. Why they didn't mention this problem two years ago....

Users :rolleyes:

I just updated and tested this, unfortunately the fix not working for me.

Text links continue to convert fine to use my associate ID.

But when I use an Amazon image instead, it does not: the URL stays as the original.

What information can I provide that may help troubleshoot this?

Thanks, Amy...

amykhar 04-17-2006 03:43 PM

The image SHOULD stay as the original. If it converts to an associate image, it breaks the image. The link should use your associate id. The image should not.

Tralala 04-17-2006 03:53 PM

Quote:

Originally Posted by amykhar
The image SHOULD stay as the original. If it converts to an associate image, it breaks the image. The link should use your associate id. The image should not.

It does as you say; the image stays as the original and displays properly.

I am talking about when I replace the text of a link with the product image, so it's clickable.

Like this:

https://vborg.vbsupport.ru/external/2006/04/11.jpg


In this case, the Amazon URL is not converted to use my associates ID.

amykhar 04-17-2006 04:27 PM

Ah. I'll have to poke around with that and see what I can do.

ryancooper 04-28-2006 12:17 PM

Another great addition by amy

NSeXcellent 05-06-2006 12:12 PM

Dumb question, but once this is installed, how do i use it? :)

Bro_Joey_Gowdy 05-15-2006 11:45 PM

Downloaded and installed in under a minute.

It appears to be working fine for vb 3.5.3.

:banana:

amykhar 05-16-2006 12:17 AM

hope it makes you wealthy :D

Tralala 05-16-2006 12:27 AM

Quote:

Originally Posted by Tralala
I am talking about when I replace the text of a link with the product image, so it's clickable.
...
In this case, the Amazon URL is not converted to use my associates ID.

Quote:

Originally Posted by amykhar
Ah. I'll have to poke around with that and see what I can do.

Any news on this, Amy? I'd sure appreciate it. We have a "reviews" section where folks are encouraged to present the links as product photos, and compatibility with your hack would be super cool.

amykhar 05-16-2006 12:51 AM

I honestly haven't had time to look at it. Sorry.

Tralala 05-16-2006 12:56 AM

Quote:

Originally Posted by amykhar
I honestly haven't had time to look at it. Sorry.

No problem, thanks for the response nonetheless. :)


All times are GMT. The time now is 04:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01313 seconds
  • Memory Usage 1,809KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete