Re: [ADDON] Amazon Affiliate (Earn from Amazon Links) Reply #15 – February 16, 2018, 10:38:08 am there are some small bugs into this version, but they can be easily corrected:open AmazonAffiliate.integration.php Find:Code: [Select] '/href="http:\/\/[^>]*?amazon.([^\/]*)\/([^>]*?ASIN|gp\/product|exec\/obidos\/tg\/detail\/-|[^>]*?dp)\/([0-9a-zA-Z]{10})[a-zA-Z0-9#\/\*\-\?\&\%\=\,\._;]*/i', 'href="http://www.amazon.$1/dp/$3/?tag='. $modSettings['amazon_affiliate_id'],and replace with:Code: [Select] '/href="https:\/\/[^>]*?amazon.([^\/]*)\/([^>]*?ASIN|gp\/product|exec\/obidos\/tg\/detail\/-|[^>]*?dp)\/([0-9a-zA-Z]{10})[a-zA-Z0-9#\/\*\-\?\&\%\=\,\._;]*/i', 'href="https://www.amazon.$1/dp/$3/?tag='. $modSettings['amazon_affiliate_id'],rename themes/default/languages/english/Amazonaffiliate.english.php with AmazonAffiliate.english.phpsince all links are now https it's a good idea to change all the amazon existing links to https. Open phpmyadmin and run this query:Code: [Select]UPDATE elkarte_messages set body = REPLACE(body, 'http://www.amazon.', 'https://www.amazon.');Attached the addon, works with Elkarte 1.0.x & 1.1.x
Re: [ADDON] Amazon Affiliate (Earn from Amazon Links) Reply #16 – February 20, 2018, 07:44:37 am Does the attched Addon already has these fixes in it or do I still to manually needto change:AmazonAffiliate.integration.phpandAmazonAffiliate.english.php??Many thanks.
Re: [ADDON] Amazon Affiliate (Earn from Amazon Links) Reply #17 – February 20, 2018, 08:20:54 am Thanks, @radu81. Made the changes and seems to work.
Re: [ADDON] Amazon Affiliate (Earn from Amazon Links) Reply #18 – February 20, 2018, 01:00:44 pm Quote from: hartiberlin – February 20, 2018, 07:44:37 amDoes the attched Addon already has these fixes yes, it has the edits mentioned above
Re: [ADDON] Amazon Affiliate (Earn from Amazon Links) Reply #19 – 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.htmlRegards, Stefan.
Re: [ADDON] Amazon Affiliate (Earn from Amazon Links) Reply #20 – 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.
Re: [ADDON] Amazon Affiliate (Earn from Amazon Links) Reply #21 – April 24, 2018, 12:52:10 pm Quote from: hartiberlin – April 24, 2018, 11:19:21 amDoes this also work with Elkarte 1.1.3 ?Yes it's working fine with elkarte 1.1.3Quote from: hartiberlin – April 24, 2018, 11:19:21 amWhat about the new DSGVO Law in Germany ?I have no idea, there is a similar discussion around...