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:

  1. A link to pilkster.com from any site using the plugin.
  2. 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:

  1. Download the script
  2. Edit /script/config.php with your information
  3. Upload to the root of your site
  4. Navigate to http://yoursite.com/amazon/ and check all is good
  5. Ensure you have a link to pilkster.com
  6. 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.