ElkArte Community

Extending Elk => Addons => Topic started by: TE on November 28, 2014, 02:50:20 am

Title: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: TE on November 28, 2014, 02:50:20 am
Simple addon to add your amazon affiliate id to any exisiting link to the amazon websites in order to earn money from those links. There's only one setting, see attached screenshot.
Note: The affiliate id is added to the hyperlink, not the link title  ;)

Download: Addon installation file is attached. / http://addons.elkarte.net/enhancement/Amazon-Affiliate.html
Compatibility: ElkArte 1.0 and newer.
License: MPL 1.1, http://www.mozilla.org/MPL/1.1/

Title: Re: [Addon] Amazon Affiliate (Earn from Amazon Links)
Post by: meetdilip on November 28, 2014, 06:19:20 am
Nice addition. Happy to see revenue generating addon in making.
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: Spuds on November 28, 2014, 11:13:29 am
@TE thank you for not leaving me as the only one who has problems with FileName case!  I was feeling quite lonely  :D 

There were a couple of those case name buggers on the file-names and a small tweak to the uninstall section.  Did not see the repo so I attached the updates here.
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: TE on November 28, 2014, 12:49:22 pm
Repo? what? lol...

I've created one just now.  thanks for the fixes  :)
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: emanuele on November 28, 2014, 01:20:27 pm
LOL

Good one! ;D
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: Jorin on April 22, 2015, 03:48:53 am
Seems the addon loses the afilliate id in the URL when I quick edit a post with such a link. And it seems to have problems with some amazon URLs (for example when using a search inside amazon and follow the result to a product page). @TE Do you have time to check this?  O:-)
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: TE on April 22, 2015, 10:52:05 pm
Quote from: Jorin – And it seems to have problems with some amazon URLs (for example when using a search inside amazon and follow the result to a product page). @TE Do you have time to check this?  O:-)
The initial link is a link to a product page or a direct link to amazon search results? Can you give an example?
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: Jorin on April 23, 2015, 01:27:30 am
Okay, did some testing.

It works great. Changes the link to the short link with affiliate ID. The link text stays the same, which is kind of confusing. It would be confusing also if the link text would be changed, so... Don't know which is better. If you edit a post with a link the link stays the same, all good.

But: If you quick edit a post with a link, the link changes to one without affiliate ID. The ID gets lost.

Edit: I use a link to the amazon page in my menu. On mousehover the amazon icon is invisible.  :D
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: radu81 on August 03, 2017, 05:34:27 pm
I installed this addon but no tag is added to amazon links. Tried amazon.com links and amazon.it links. There is a small error in the zip attached in the first post, the name of the file Amazonaffiliate.english.php should be AmazonAffiliate.english.php otherwise will get an error during installation. No errors in elkarte log.
Also the english translation file is not copied into public/themes/default/languages/english but into public/themes/default/languages folder. Not a bug, but should be updated
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: Jorin on August 04, 2017, 12:59:48 am
It works for me, but the installation was long ago...
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: radu81 on August 04, 2017, 02:58:51 am
I just tried on a clean 1.0.10 install and it's not adding the tag to the links.
I thought it wasn't working because of Nofollow addon or Favicon next to links addon...
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: Jorin on August 04, 2017, 03:33:15 am
Maybe, I don't use these two addons.
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: Spuds on August 04, 2017, 08:24:35 am
I use this as well but have not tried it on a "fresh"  1.0.10 .... I'll take a look this weekend which is oh so close :D
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: radu81 on August 04, 2017, 11:09:04 am
thanks Spuds, take your time, it is not urgent  ;)
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: hartiberlin on January 24, 2018, 02:04:07 pm
Does this still work on Elkarte 1.1.1 ?
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: radu81 on February 16, 2018, 10:38:08 am
there are some small bugs into this version, but they can be easily corrected:


Attached the addon, works with Elkarte 1.0.x & 1.1.x
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: hartiberlin on February 20, 2018, 07:44:37 am
Does the attched Addon already has these fixes in it or do I still to manually need
to change:
AmazonAffiliate.integration.php
and
AmazonAffiliate.english.php

??

Many thanks.
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: Jorin on February 20, 2018, 08:20:54 am
Thanks, @radu81. Made the changes and seems to work.
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: radu81 on February 20, 2018, 01:00:44 pm
Quote from: hartiberlin – Does the attched Addon already has these fixes 
yes, it has the edits mentioned above
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: hartiberlin on April 24, 2018, 11:19:21 am
Does this also work with Elkarte 1.1.3 ?

What about the new DSGVO Law in Germany ?
It is a very hot topic in this moment..
You must ask the users to agree to cookies set on your website...

Very annoying new law...
See:
https://www.e-recht24.de/datenschutzgrundverordnung.html

Regards, Stefan.
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: emanuele on April 24, 2018, 11:54:46 am
DSGVO as far as I understand is the EU-GDPR (that is an European Regulation and not a German law even though that doesn't change the point), and is not about cookies. ;)
There are few topics and few issues open.

At the moment, I think ElkArte lacks some tools to deal with the GDPR "automatically". Of course it's possible to workaround several things with specific actions, but admin interfaces to simplify these actions are indeed missing.
Title: Re: [ADDON] Amazon Affiliate (Earn from Amazon Links)
Post by: radu81 on April 24, 2018, 12:52:10 pm
Quote from: hartiberlin – Does this also work with Elkarte 1.1.3 ?
Yes it's working fine with elkarte 1.1.3


Quote from: hartiberlin – What about the new DSGVO Law in Germany ?
I have no idea, there is a similar discussion around...