Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Amazon Store Integration Details »»
Amazon Store Integration
Version: 1.00.00 B8, by mikelbeck mikelbeck is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 10-30-2007 Last Update: 11-07-2009 Installs: 63
DB Changes Uses Plugins Template Edits
Additional Files Translations Is in Beta Stage  
No support by the author.

Finally, I've gotten around to putting together a version of the Amazon Store integration mod for vBulletin 3.6.

This mod allows you to add an Amazon store to your vBulletin. You can set it to search for a particular keyword, for different types of items - CDs, DVDs, Clothing, etc. A sample of the store in action is available here: http://www.lidragracing.com/amazon_store.php.

You will need to sign up for Amazon Web Services to get an AWS key in order for this to work. In addition, you need to have PHP 5 installed on your server.

Installation is very simple, upload 3 files, import the xml file and then add a link to the store in your navigation bar. See the attached file "ECS Amazon Store.txt" for the exact installation instructions.

Give it a try, let me know what you think. Make sure you click "Mark as Installed" if you've installed it.

Also, if you intall it and use it, please post the URL you have it installed at so I can see how it's being used.

{edit}

To upgrade to a newer version, re-upload the php files and then import the xml product file. Afterwards go to the admin control panel to check to make sure all of the fields are filled in properly.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 11-01-2007, 01:36 PM
trancetopia trancetopia is offline
 
Join Date: Feb 2005
Location: Wales, UK.
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd really like to get this working for amazon.co.uk

Has anyone any tips on how I can do this using this promising mod?

Thanks.
Reply With Quote
  #53  
Old 11-01-2007, 07:24 PM
mikelbeck's Avatar
mikelbeck mikelbeck is offline
 
Join Date: Jul 2005
Location: 4C6F6E672049736C616E642C2
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trancetopia View Post
I'd really like to get this working for amazon.co.uk

Has anyone any tips on how I can do this using this promising mod?

Thanks.
The next release will have support for choosing your locale. I'll get it out in another day or two.

In the mean time, I think what you can do is open amazon_store.php and amazon_store_detail.php, search for this:

http://webservices.amazon.com/onca/xml

and replace it with this:

http://ecs.amazonaws.co.uk/onca/xml

I haven't tested that, so I'm not positive it will work. But the docs say it should... Give it a try, let me know if that does it for you.
Reply With Quote
  #54  
Old 11-01-2007, 07:26 PM
mikelbeck's Avatar
mikelbeck mikelbeck is offline
 
Join Date: Jul 2005
Location: 4C6F6E672049736C616E642C2
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kihon Kata View Post
Uhm....this is what I got when I tried to import the product:




Database error in vBulletin 3.6.8:

Invalid SQL:
DELETE FROM phrase WHERE product = 'ecs_amazon_store' AND languageid = -1;

MySQL Error : Got error 127 from storage engine
Error Number : 1030
Date : Wednesday, October 31st 2007 @ 07:17:42 PM
Script : http://www.XXX.com/forums/admincp/pl...=productimport
Referrer : http://www.XXX.com/forums/admincp/pl...?do=productadd
IP Address : XXXXXXXXX
Username : XXXXXXXXXX
Classname : vB_Database

Running Dedicated Dual Processor Linux Server
PHP5
Mysql 4.1.20
btw.
I really have no idea where that error would come from... this mod does not do anything with the database, that looks to me like something is wrong with your vBulletin itself.

I *think* that error means one of your tables is corrupted or crashed. Try doing a repair and see if that corrects it.
Reply With Quote
  #55  
Old 11-01-2007, 08:31 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
since you are aking for suggestions:

I like the idea of having more than one category to choose from, and also multiple search options, So, for example - you could have a navigation menu somewhere that lists all of the types of items, such as Books, DVDs, CDs, etc., and have a separate search term attached to each category. I also like the idea of having more than one search term for each category - for example - you could have 2 or 3 different settings for each category: Books could have "cat grooming" and "cat breeding" and then the results would be compiled in to one overall "Books" category. I know that this would require a lot of coding, but I can see it as being very helpful. As it stands now, if I want to search for the term "Cats" then it will bring back the Cats broadway cast recording, as well as books about cats, and movies with Cat in the title - I would like to narrow down those searches, but if I put "cat grooming" then it will ignore books about "cat breeding," etc.. I hope I made myself clear enough - sorry for the rambling explanation...
Even if you don't have the categories listed - I think the multiple search terms would bve really helpful - so you could enter "cat grooming" "cat breeding" "cat history" etc. and allow all of those search terms compile the results for the store. If I put all of those in at once: "cat grooming breeding history" it narrows down the searches too much, but having the three of them separate and then combined in to one overall search would be really helpful.
Reply With Quote
  #56  
Old 11-02-2007, 01:10 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mikelbeck View Post
I really have no idea where that error would come from... this mod does not do anything with the database, that looks to me like something is wrong with your vBulletin itself.

I *think* that error means one of your tables is corrupted or crashed. Try doing a repair and see if that corrects it.
Yep, that fixed it. Thanks! Installs.
Reply With Quote
  #57  
Old 11-02-2007, 03:58 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it, but its not doing what I want.

I want it to only display HDDVD and BluRay Movies only.

Its there any way to make it search for two keywords?

Also any way to add a Amazon Search Box which is tied to my associate ID?
Reply With Quote
  #58  
Old 11-02-2007, 04:38 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine's working good, except there is "Page 1 of 5365". How can I split this up better?
Reply With Quote
  #59  
Old 11-02-2007, 09:59 PM
mikelbeck's Avatar
mikelbeck mikelbeck is offline
 
Join Date: Jul 2005
Location: 4C6F6E672049736C616E642C2
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@scottct1 - The next version will allow you to do multiple searches, and they'll be a search box so your users can type in anything they want.

@Kihon - what would you prefer? Also, I had a look at your site, check to make sure your Associate Tag is entered correctly, your links don't look quite right.
Reply With Quote
  #60  
Old 11-02-2007, 10:59 PM
mikelbeck's Avatar
mikelbeck mikelbeck is offline
 
Join Date: Jul 2005
Location: 4C6F6E672049736C616E642C2
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where would you like to see the search box? Right now I've got it up on top of the page, I'm not sure if I'm happy with it there.

Also, would you like your users to a) only search the search index you've selected or b) select the search index to search through?
Reply With Quote
  #61  
Old 11-03-2007, 11:29 PM
mikelbeck's Avatar
mikelbeck mikelbeck is offline
 
Join Date: Jul 2005
Location: 4C6F6E672049736C616E642C2
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version B4 is now available.

In this version, I've added results caching, cleaned up the templates, added additional search options and added support for locales.

There are many more options in the ACP, so if you upgrade please immediately go to the ACP and check to make sure that you've got your settings correct.

Also - VERY IMPORTANT - you'll need to create a "cache" directory for the cached results to be stored in. Make sure this directory is chmod'd to 777! Read the included text file for more information.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12789 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete