evoAmazon

12th Oct 2006 Danny
Introduction

Plugin updated 16th September 2009 - Please ensure you have the latest version installed

Introduction

This plugin gives you an easy way to add images and links for Amazon.com products to your posts. If you get an Amazon Associates ID and enter it in the plugin settings, then you earn a referral fee if someone clicks your link, then buys the product. This can be a way to add an image to a post as an ad or to maintain a blog in your sidebar that shows what books you're reading.

Contents
  1. Introduction
  2. Installation (v2.1)
  3. Usage, etc.
 
 
 
 

39 comments

Comment from: Paula
Yes, I'm a total newb, sorry, but in your instructions for this, you say go to the backoffice and do settings, install... what is the backoffice and where do I find it?

 
11/12/06 @ 03:03
Comment from: Paula
Okay, so I figured out what backoffice is *grins*; however, when I get to the plugins page and it has a list of plugins, yours doesn't show up and at the top of the page, it has this error message, which I haven't a clue what it means:

Warning: Cannot modify header information - headers already sent by (output started at /public_html/blog/plugins/_categories.plugin.php:645) in
/public_html/blog/inc/VIEW/_menutop.php on line 38
 
11/12/06 @ 03:15
I'm assuming it was you who also asked the same question (regarding header errors) on the forum, if so then I've already replied to your thread, and (currently) you can't post code in replies here so it's easier to continue on the forums.

When you go into admin > app settings > plugins, at the bottom of the list of plugins there should be a link saying "click here to show all available plugins", if you click it then you should see this plugin in that list and be able to click install


¥
 
11/12/06 @ 10:14
I upgraded my blog

www.comiclist.com

to 1.91, and it appears the evoAmazon plugin is not working. I can get to the administration area to search, but clicking on the "IMG" button does nothing.
 
12/03/06 @ 21:56
Comment from: Danny
Charles,
Thank you for pointing this out. I just updated the plugin to work with 1.9 (and fixed a few php notices, too). You can redownload and reinstall and it should work fine.
Danny
 
12/04/06 @ 16:14
Comment from: lisa wang
Danny,

I just installed the plugin, but got many error messages when using it. Also, I don't see any "IMG" button.

Could you help me?

Undefined index: mode in /home/.dravyn/allwangs/allwangs.com/b2evolution/blogs/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 767

Notice: Undefined offset: 1 in /home/.dravyn/allwangs/allwangs.com/b2evolution/blogs/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 121

Notice: Undefined offset: 1 in /home/.dravyn/allwangs/allwangs.com/b2evolution/blogs/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 121

Notice: Undefined offset: 0 in /home/.dravyn/allwangs/allwangs.com/b2evolution/blogs/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 136

Notice: Undefined index: mode in /home/.dravyn/allwangs/allwangs.com/b2evolution/blogs/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 197
 
12/05/06 @ 18:55
Thanks for the update, Danny.

Is it my imagination, or did the "only print one of the authors" bug reappear in this version?
 
12/09/06 @ 03:59
Comment from: Jason
Awesome! Just plugged it in and it works swell. How might I go about making the link default to a blank window?
 
01/09/07 @ 17:41
Hello Danny,

thx for yer hard work!


I tried it out and got following errors (tried to search):

Notice: Undefined offset: 1 in /homepages/13/d11748650/htdocs/mweu/members/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 121
Schlüsselwort(e): 'yves klein'

Notice: Undefined index: TotalResults in /homepages/13/d11748650/htdocs/mweu/members/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 311

Notice: Undefined index: Details in /homepages/13/d11748650/htdocs/mweu/members/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 314

is this a php prob or does it come from me joining the affiliate prog only a few minutes ago?

thx for your support

michika
 
01/20/07 @ 16:01
Comment from: Phil
When I upgraded to 1.9.2 I now get these errors. This one appears when in the Tools tab under the plugin.

Notice: Undefined index: mode in home/phatchop/public_html/blog/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 770

And when using the plugin for the post this appears above the results.

Notice: Undefined offset: 0 in /home/phatchop/public_html/blog/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 136

And this after each one.

Notice: Undefined index: Authors in /home/phatchop/public_html/blog/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 184

Notice: Undefined variable: artist in /home/phatchop/public_html/blog/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 202
 
01/28/07 @ 14:32
Comment from: Carsten
Hi

I might be the stupid one here, but where do i DL the script...??

Best regards
Carsten, Denmark
 
02/11/07 @ 17:19
Comment from: Danny
Click on Installation, then you'll see the download link.
 
02/11/07 @ 17:44
Comment from: Darcy
I'm just setting up my blog and before I actually post, I want to get plugins working.

I downloaded evoAmazon and it does add the correct tags to a post; however, when I search from the Amazon link at the bottom of the Write screen, I get these errors.

Notice: Undefined offset: 1 in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 121

Notice: Undefined offset: 1 in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 121

Notice: Undefined offset: 1 in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 121

Notice: Undefined offset: 0 in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 314

Any idea what's happening? It appears that I still get the correct tag inserted into the posting.

If I go to the Tools/Amazon area, I get this error before I input any search.
Notice: Undefined index: mode in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 770

If I search from the same Tools/Amazon area, I get these errors:
Notice: Undefined offset: 1 in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 121

Notice: Undefined offset: 1 in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 121

Notice: Undefined offset: 1 in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 121

Notice: Undefined offset: 0 in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 314

Notice: Undefined index: mode in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 200 (This one is beside the image of the book cover.)

I have version 1.9.2

Thanks!
Darcy

 
05/12/07 @ 02:35
Comment from: Darcy
If it helps, here are the lines of code affected:

Line 121: $Atmp4[1]=ereg_replace('^"(.*)"$','\1',$Atmp4[1]);
Line 200: if ($_GET['mode'] == 'upload') { // Only display this button if we arrived from the Write tab
Line 314: if (is_array($D=$A['ProductInfo']['Details']) and $D[0]) {
Line 770: The forum won't let me upload it b/c it has an input code. Sorry.

Thanks,
Darcy
 
05/12/07 @ 03:03
Comment from: Danny
Darcy,
Thanks for reporting those notices. I corrected them and a few others and made a new release.
 
05/16/07 @ 13:52
Comment from: Darcy
Still working on minor details of my blog/website.
The fix for the EvoAmazon still isn't quite right. Now, I get the text link and the code for the picture, but the code for the picture is empty. No image comes up, because there's no code.

Here's what I'm getting:

Notice: Undefined index: Authors in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 186

Notice: Undefined variable: artist in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 205

Notice: Undefined variable: imgurl in /home/darcpat9/public_html/plugins/_evoamazon.plugin.php on line 208

I LOVE this plugin, even half broken. It saves so much time to automatically find the book on Amazon and get the code to cut and paste. I wish it would give me a choice between paperback and hardcover, though, because I'd rather link to hardcover most of the time. Shrug. But just getting the image back in would be wonderful.

Thanks!
Darcy
 
05/25/07 @ 16:05
Comment from: Danny
Darcy,
Can you tell us exactly what you were searching for so we can try to replicate this error? And did this product have an image in the pop-up window?

Danny
 
05/25/07 @ 16:27
Comment from: Darcy
Yes, there is an image in the popup window. It happens on any book that I search for.
The resulting code has img src="" border="0" alt="Image from Amazon"
The image source is empty.

Doesn't seem to matter which book I search for. It always returns an empty image tag, in spite of the image being present in the popup window.

Today, using it the error codes don't seem to pop up. But they did yesterday. Shrug. Don't know what the difference is.

Darcy
 
05/30/07 @ 17:19
Comment from: Ed
I have reinstalled this about 20 times and get this in the tools menu. I have b2evo Ver. 1.9.3.
Maybe that is the problem. Newre than 1.9.2 ???



Notice: Undefined index: mode in /home/ehoffman/public_html/BlogSpot/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 773
Category: books popular music classical music DVD video movies electronics kitchen and housewares software computer and video games magazines toys and games camera and photo baby outdoor living computers tools and hardware
Type: Actor/Actress Artist/Musician ASIN/ISBN Author Blended Browse node Director Exchange Keyword(s) Listmania Manufacturer Marketplace Power Seller Similarity TextStream UPC Wishlist
Amazon Locale: Germany France Japan UK USA
Keyword(s): input type='submit' value='Search /
I get the search screen, but the submit button is missing. All I see is: input type='submit' value='Search / instead of the button.

Any ideas?
Thanks,
Ed
 
06/13/07 @ 20:32
Comment from: Danny
Ed,
I fixed that notice and made a new release. Please delete your plugin and download version 1.2.1 and install that. Thanks for reporting this.

Danny
 
06/14/07 @ 01:41
hi there,

I've just installed the plugin and I've got the following error messages:

Notice: Undefined index: Authors in /is/htdocs/wp1060529_4W6CRKXUG6/b2E/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 186

Notice: Undefined variable: artist in /is/htdocs/wp1060529_4W6CRKXUG6/b2E/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 205

Any clues how to het this fixed?

Greetz
Captain
 
06/16/07 @ 16:57
I get this error in the search result.

Notice: Undefined index: Authors in /home/phatchop/public_html/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 186

Notice: Undefined variable: artist in /home/phatchop/public_html/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 205

I still click on the img button to insert and everything works fine accept that no image is inserted.
 
06/22/07 @ 04:23
Comment from: Danny
The line 186 and 205 bugs should be fixed in the latest version, 1.2.3. Sorry, guys, I ported this code from somebody who didn't care if he had php notices, and it's taking a while to root out all the problems.
 
06/22/07 @ 13:20
No problem. Isn't everything we do on the web front a constant work in progress seemingly? Those two line errors did disappear. However I still have the image insertion problem. This is what the image portion at the beginning of the code looks like.

img src="" border="0" alt="Image from Amazon"

As you can see the image url is missing from the first set of quotations. This is a great plugin. It's very useful as I write movie reviews on my site so it's handy to be able to link to the product sometimes. Thanks for the effort.
 
06/24/07 @ 06:22
Hi, I just installed the latest version under 1.10.2. I did a test search under the "Write" tab, for the book "Valis" (by Philip K Dick). I had the following settings:
Category: books
Type: keywords
Amazon Locale: USA
Keywords: Valis

This is the error I get:
Notice: Undefined variable: imgurl in path/to/the/blog/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 208
The IMG button only appears once on that results page, but appears properly for other searches, and other searches work without any errors at all.

Also, I have a similar problem to one of the earlier posters... No matter what book I try to insert, the IMG tag is always empty in the body of the post.

Additionally, some feature requests/suggestions... Could you replace all the 'b' (bold tags) with 'strong' tags for standards-compliance?
Also, could you remove the border= code from all the IMG tags..? Borders can, and should, be controlled via CSS if they're needed.


 
06/28/07 @ 17:14
Hey there, just downloaded the latest version (July 05, '07) and the .php file in the zipfile is truncated... Seems like it got cut off before it was zipped.

 
07/06/07 @ 03:55
Comment from: Danny
Thanks. I uploaded it again.
 
07/06/07 @ 13:00
Comment from: mary
I was looking for something like this because I could not get the iframe tag to work within the posts. Thanks!
 
07/19/07 @ 19:52
Comment from: Ntr
Hi,

I installed this and everything seems fines except that when I hit the "search" button I get an error: "Unable to Connect to tcp://webservices.amazon.com:80. Error #110: Connection timed out" Any help on how to fix this?
 
07/11/08 @ 16:35
Comment from: Cress(JP)
Hi.

I enabled evoAmazon to use Amazon.co.jp(Japanese Site).
Add 'JP' to Zend_Service_Amazon's 2nd argument.
--line 116
$amazon = new Zend_Service_Amazon('0338J3P5B24W4AZ77RG2', 'JP');
--

But this causes garbles.
Replace htmlentities() to htmlspecialchars().
--line 242
$jscode = htmlspecialchars($code, ENT_QUOTES);
--

I want you to enable multi-byte language if it is possible.
Thanks.
 
07/31/08 @ 18:23
Hello, I get an error message like

Parse error: syntax error, unexpected '{' in /pages/.../plugins/evoamazon_plugin/_evoamazon.plugin.php on line 117

when I call Settings >> Plugins after installing the latest version on b2evo 1.10.3 The Plugin tab does not open.

Can anybody comment on this? Thanks, Uwe.
 
10/19/08 @ 13:31
Comment from: Jimmy
Hi, I downloaded the latest plugin file and when I try to install it I get the following error message:

Parse error: syntax error, unexpected '{' in /home/james62/public_html/skinwalker/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 117

Don't know where to go from here. Ideas? Is this as simple as deleted the { this indicates? (Hope so but doubt it).

Jimmy
 
12/29/08 @ 02:44
Comment from: James
Are you going to release any more updates for this plugin to work with newer versions of b2Evo?
 
03/13/09 @ 01:40
Hi There,
When I get a chance I'll have a go at recoding all of Dannys plugins to bring them into the 2.x world ;)

¥
 
03/25/09 @ 08:00
Comment from: nick
LOVE this plugin. I've been using it for 8 months with no problems, all of a sudden I'm getting an error:

"An error occurred sending request. Status code: 400"

I'm running b2e 2.4.5 and it's been happening now for about a week, from multiple machines/internet connections so I removed, uninstalled, deleted, reinstalled the plugin to no avail. Any ideas?
 
08/20/09 @ 16:12
Comment from: David
Just tried installing this on 2.4.5 and keep getting the "An error occurred sending request. Status code: 400" message. I really want to use this plugin, any ideas on what could be causing this?
 
09/16/09 @ 04:31
Comment from: Danny
Sorry for the "Status code: 400" errors. Download the newest version to fix that issue. Amazon changed their API. They did warn me, but I didn't fix it until after it broke.
 
09/16/09 @ 14:13
Comment from: Chris
I keep on getting error 400 even with the 2.1 version ...
 
09/21/09 @ 13:39
Comment from: Jen
Just found this and tried to install. Uploading went fine, but when I tried to go to the Install tab in the Backoffice, I got this error:

Parse error: syntax error, unexpected '{' in /home/jhudson2/domains/hudson2001.com/public_html/blogs/plugins/evoamazon_plugin/_evoamazon.plugin.php on line 117

I don't currently have an editing program that gives me line numbers, so without counting, I can't tell you which line has the error.
 
11/20/09 @ 17:37

This post has 1 feedback awaiting moderation...

Comments are closed for this post.

 

B.O.P.I.T