Due to popular demand from some of my pals over at DP here is the all-new super-duper Pilkster.com Amazon plugin for Wordpress (example). I don’t usually release my scripts to the public, so please help me out if I haven’t packaged it right… also, you guys are beta-testing this thing. No warranty expressed or implied.
I want to give credit to the original creator of the ASM2 script which this plugin is built from - freekrai.net
I would really appreciate the following:
- A link to pilkster.com from any site using the plugin.
- A comment on this blog letting me know the URL of your site.
Prior to installation you will need an Amazon developer key.
Installation instructions:
- Download the script
- Edit /script/config.php with your information
- Upload to the root of your site
- Navigate to http://yoursite.com/amazon/ and check all is good
- Ensure you have a link to pilkster.com
- Post a comment on this blog to tell everyone how great your site is!
Known problems:
Depending on your version of Wordpress you may the following php error:
Warning: extract(): First argument should be an array in /home/yoursite/public_html/wp-includes/functions.php on line 2109
To fix:
open wp-includes/functions.php
goto to line number 2109
you will find something like
extract($wp_query->query_vars);
and change it to:
if (is_array($wp_query->query_vars)) extract($wp_query->query_vars);
Many Wordpress themes will give problems in use due to the way they have been constructed. This will be covered in a seperate post. Please let me know which themes work out OK for you, and which give problems. Also, if you make a fix to a theme please send me a copy and I will share it through the site.




May 29th, 2006 at 2:59 pm
Many thanks. When I first considered using WP my main reason for not doing so was its incompatibility with the Amazon script I’ve been using.
Recently I did setup a couple of WP powered sites. Be fun to give integrating this.
Again, thank you,
Richard
May 29th, 2006 at 7:43 pm
Thank you this plugin is awesome. I have been a fan of Freekrai.net’s ASM2 script for a while and this is perfect timing as I am using Wordpress a lot more lately.
Thanks.
June 22nd, 2006 at 3:37 am
Does this work with affiliate accounts that are set up through Amazon.ca?
Or just Amazon.com?
June 26th, 2006 at 12:54 am
Just installed teh script, it was quick and easy. Thanks.
June 26th, 2006 at 11:41 am
What should I change in order to show only items from a category on the front page? Right now,the script is showing all the categories on the front page of my site.
Thanks.
June 26th, 2006 at 6:37 pm
Hey Ray
I think you can use US, UK or DE accounts - I’ve never tried a CA account.
Cheers - pilks
June 26th, 2006 at 6:41 pm
Hey Criss
I haven’t tried this myself, although there is an option in config.php to set a frontpage? If this doesn’t work for you please let me know & I will work something out.
Cheers!
June 30th, 2006 at 6:06 pm
ah i see it now.
————————————
$frontpage_SI = “DVD”;
// BrowseNode to use for frontpage section
# $frontpage = “163296″;
———————————
But I don’t quite get it.How do i set it? And what are BrowseNode? I would like to show only books on the frontpage instead of all the categories.
Sorry for troubling you.
July 1st, 2006 at 3:35 am
Criss-
You may want to go download the current version of ASM2 over at Roger’s (freekrai) site and most importantly visit the forums. Everything should be made clear there regarding setting up categories, browsenodes, etc.
Good luck Criss and great plugin Pilkster!
Freq—
July 2nd, 2006 at 2:22 pm
Thanks a lot for the help Freq!
July 10th, 2006 at 9:28 pm
Great plugin, Roger’s script is a blast, and so is yours. Just wondering if there’s any chance of having a shopping cart to go along with that plugin?
Thanks
July 24th, 2006 at 4:48 pm
Hey John
I’m going to be making some mods to improve the script soon, but I’m not sure that a shopping cart will be included!
July 26th, 2006 at 11:40 pm
hi
Cannot get it to work can someone help me please.
www.review-hddvds.com
July 27th, 2006 at 5:33 am
Hey Joe
Let me know what the problem is and I will see if I can help.
July 28th, 2006 at 7:42 pm
Hi there, this installed quite easily, but I’m having one problem. When I go to search, say in books, the search turns up posts from my WP site, not Amazon books.
I’m using a theme that doesn’t use searchform.php, so I’m wondering if that has something to do with it, but not sure.
Thanks!
July 29th, 2006 at 8:23 am
Hi Juli
What is the URL of your site? I will take a look for you.
July 29th, 2006 at 10:59 am
getting this error
Warning: extract(): First argument should be an array in /home/yoursite/public_html/wp-includes/functions.php on line 2109
But when i change line in “wp-includes/functions.php”
Site Crashes
www.review-hddvs.com
But when i change
July 30th, 2006 at 4:04 am
Hi there. The URL is
http://www.ect.org/amazon/index.php
I haven’t started trying to get it the way I want it yet…wanted to solve the search puzzle first. I’ve only tried searching in books, because that’s what I primarily sell.
Thanks so much!
Juli
July 30th, 2006 at 3:57 pm
Hi Juli
I think from seeing your site that you must have one of the settings incorrect in the config file as the seach query is sent to ect.org/index.php rather than etc.org/amazon/index.php
View this link to see what I mean:
http://www.ect.org/amazon/index.php?Operation=ItemSearch&Keywords=art&SearchIndex=Books
If this doesn’t help you out, please let me know.
July 30th, 2006 at 5:52 pm
Hmmm, I’ve gone over the config file, and just can’t find anything other than the site url that would be talling the script to do site/search instead of site/amazon/search. And I’ve checked and double checked my site url in the config file.
I’m officially stumped. There’s something in all the code that is confusing the search box for Amazon and the regular website search box. Check it out: if you type in a term in the Amazon search, you’ll search the site…goes to site/index.php, but if you type a search term in the site search box on the sidebar, it searches site/amazon/index.php, but because the string isn’t right, it doesn’t bring up any results.
So I’ve putzed around with no success so far.
I also tried briefly removing the entire search form for the site in the sidebar, thinking there was some kind of conflict…but still no success.
I’m just stumepd!
Juli
August 2nd, 2006 at 6:58 pm
Thanks for the work, this is awesome.
August 4th, 2006 at 6:43 pm
I am not installing wordpress on root. My wordpress is installed on /blog, how to I set up the path?
August 4th, 2006 at 9:26 pm
Hi Liew
This would take some editing of the code. I hope to release a new improved version soon, I will add this to my list of improvements.
Thanks - Simon.
August 7th, 2006 at 6:17 am
never mind. I moved the folder into /blog.
btw, you hardcode some paths? I changed the folder name to /store but the image path still shows as /amazon/script/images/buy1.gif
August 15th, 2006 at 6:16 pm
[…] The theme currently doesn’t work with my amazon plugin for wordpress, I hope to address that soon. […]
August 15th, 2006 at 6:29 pm
[…] CafePress WordPress PluginThis is the first WP plugin I know of to provide CafePress integration. It allows you to setup a virtual shop using WordPress (ala Chitika ShopLinc and the Pilkster.com Amazon Plugin) to sell other people’s goods on CafePress (affiliate-style) and/or sell goods from your own CafePress store. […]
August 18th, 2006 at 12:30 pm
Hi, first of all thx for the great plugin! Unfortunately, I’m experiencing some problems. I’m using three column kubrick theme from Liew. Installation was easy and it looks good at first (see: http://www.pspwelt.com/amazon/). But after choosing category and subcategory, the products are only display one per page, breaking the design… anybody andy suggestions? Thx!
September 5th, 2006 at 11:54 pm
Hi,
I installed the script at my site…
http://clinique.videolane.net/amazon/
It looks great, but I may have missed something, because when I click on a catergory, I get the message “The page cannot be found”.
The search function works well…
http://clinique.videolane.net/amazon/index.php?Operation=ItemSearch&Keywords=clinique&SearchIndex=HealthPersonalCare
…though when I click on a product, I get the same message “The page cannot be found”.
Is there a “Pilkster.com Amazon Plugin for Wordpress” forum site where I can seek help?
September 10th, 2006 at 4:22 pm
Ok, I got it figured out. It works like a charm now.
Tweaked the config.php file.
Changed $seo = 1 to $seo = 0.
Changed subdomain “http://clinique.videolane.net/amazon/” to root domain “http://videolane.net/clinique/amazon/”
Here it is… it works exactly the way I want it to.
http://videolane.net/clinique/amazon/index.php?Operation=ItemSearch&Keywords=clinique&SearchIndex=Beauty
Thank you so much for creating the “Pilkster.com Amazon Plugin for Wordpressâ€.
September 17th, 2006 at 7:55 pm
I am stumped. I have tried different templates, different permalinks, nothing works.
Really strange, because it looks like it is real smooth for almost everyone else.
http://www.cybersdvds.com
September 17th, 2006 at 7:56 pm
Oops, put the wrong address for review.
http://www.cybersdvds.com/amazon/
September 20th, 2006 at 4:37 am
thanks for your plugin
September 29th, 2006 at 6:03 pm
I followed the instruction and I get some gif jumbled text error.
http://www.kensavage.com/amazon/
Any ideas why?
October 2nd, 2006 at 1:55 pm
Hi Ken
The page you mention gives me a 403 error. If you have some more info I will have a look for you
October 2nd, 2006 at 9:45 pm
[…] The wiki is powered by wikiwiki, based on erfurt wiki but using WordPress’s authentication. I’ve tinkered and hacked away a bit to make it fit with the theme (plus a modification to functions.php as described here. I need to hack away at it a bit more: I’m not happy with all feedback in the code, but I wanted to launch it right away, after adapting Hugh Fearnley-Whittingstall’s spiced baked desert apple recipe for my pears - for my adaptation click here. […]
October 7th, 2006 at 8:35 pm
Hi there, got a question. The script works fine, but I get “No Data Found” when I get to deep into the categories. For instance, I click on the category “DVD”, then I would click on “Horror” and I get a “No Data Found”. I was thinking this was becuase my developer key might not be correct. If this is the case, could you tell me where I locate my AWS developer key, I have an account, I just dont know where to find it once im logged in. Any help would be great!
October 13th, 2006 at 6:05 am
Looks like I got it going. Just deleted everything and started over.
Works great and thank you!!
Now any suggestions for customizing the look?
October 13th, 2006 at 6:37 am
Hi Ken
Glad to see you got it working. One of my priorities when I get to Australia later this month will be to update the plugin and provide some information on my positive experiences with it.
I will be in touch then
October 15th, 2006 at 11:13 pm
I want to start using this plugin on another site of mine that deals with Diabetes Information and support. But right now on my current site you can see the link up top in red but when you click http://www.kensavage.com/amazon/ and then click anything like http://www.kensavage.com/DVD.html it doesnt bring up the right page. It just goes to my 404 page. any idea what I did wrong?
October 15th, 2006 at 11:40 pm
OK looks like the script is cutting of the /amazon/ in the links. Any idea where or how it would do that? My config file is using:
$siteurl = “http://www.kensavage.com/amazon/”
October 19th, 2006 at 10:26 pm
anyone?
November 13th, 2006 at 1:22 pm
[…] Amazon - AKA, Amazon Wishlists. I am not sure how successful these are, but I guess you give yourself a chance to earn some money with the content as well. […]
November 14th, 2006 at 7:51 pm
Hi, I have it installed but it seems to be missing all of the .html files? For example when I click on DVD (DVD.html) it just 404’s? Do I have generate these files or something? The search seems to be working fine though..
December 3rd, 2006 at 5:35 am
Hey guys, sorry I haven’t got back to some of you to try and help with the problems you are having. We are in Australia now (still only on dialup tho!) so I should be able to get some time to spend helping you in the next week or so.
pilks.
December 7th, 2006 at 12:53 am
I really enjoy the upgrated version!!! Kudos!
Fan of Don Lapre
www.callvirgil.com
webmaster@callvirgil.com
December 13th, 2006 at 11:33 pm
Hi
I’ve created a new site for the plugin and re-named it AWSpress (Amazon Webmaster Service for Wordpress). Please visit http://AWSpress.com for all downloads, discussion and support.
pilks.