verwortbar
Forum Replies Created
-
Forum: Plugins
In reply to: [No API Amazon Affiliate] Change Language in Amazon AffiliateI´ve found where can I change “Ver más”, so reply I don´t need any more.
This plugin was marked from other users as scam. I´ve changed in naaa-html.php (in includes directory) this function
function naaa_get_tag_autor($market){
if ($market == ‘ca’){
return ‘pwpnaaa0f-20’;
}else if ($market == ‘de’){
return ‘pwpnaaa01-21’;
}else if ($market == ‘es’ || empty($market)){
return ‘pwpnaaa07-21’;
}else if ($market == ‘fr’){
return ‘pwpnaaa0f-22’;
}else if ($market == ‘gb’){
return ‘pwpnaaa0c-21’;
}else if ($market == ‘it’){
return ‘pwpnaaa-07’;
}else if ($market == ‘jp’){
return ‘pwpnaaa-07’;
}else if ($market == ‘us’){
return ‘pwpnaaa-22’;
}else if ($market == ‘mx’){
return ‘pwpnaaa03-20’;
}else if ($market == ‘br’){
return ‘pwpnaaa03-20’;
}
return ‘pwpnaaa07-21’;
}after “return” to my amazon partner id.
So there is more scam in naaa-functions.php, so I´ve changed this ascii-codes into my amazon partner id (url for ascii-codes: https://www.ibm.com/docs/en/sdse/6.4.0?topic=configuration-ascii-characters-from-33-126):
function naaa_get_gat($market){
$market = strtolower($market);
if ($market == ‘ca’){
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(48).chr(102).chr(45).chr(50).chr(48));
}else if ($market == ‘de’){
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(45).chr(50).chr(49));
}else if ($market == ‘es’ || empty($market)){
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(48).chr(55).chr(45).chr(50).chr(49));
}else if ($market == ‘fr’){
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(48).chr(50).chr(45).chr(50).chr(49));
}else if ($market == ‘gb’){
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(48).chr(57).chr(45).chr(50).chr(49));
}else if ($market == ‘it’){
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(48).chr(102).chr(45).chr(50).chr(49));
}else if ($market == ‘jp’){
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(45).chr(50).chr(50));
}else if ($market == ‘us’){
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(48).chr(99).chr(45).chr(50).chr(48));
}else if ($market == ‘mx’){
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(48).chr(53).chr(45).chr(50).chr(48));
}else if ($market == ‘br’){
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(48).chr(51).chr(45).chr(50).chr(48));
}
return (chr(112).chr(119).chr(112).chr(110).chr(97).chr(97).chr(97).chr(48).chr(55).chr(45).chr(50).chr(49));
}After “return” there are ascii-codes for other amazon partner id, so you can change it via url I´ve posted.
So, scam should be changed into the right amazon partner id. If you want to test it, make the change and test it with a friend. My test was successful. 🙂
But I don´t use this plugin anymore, it should be deleted from wordpress. I don´t know why it is still installable from wordpress plugin page.
Best regards
verwortbar