Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #132  
Old 02-02-2008, 10:15 PM
pecheney pecheney is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is thsi Amazon script for 3.6.8 or just 3.6 even?

I am trying to install it here and it is not quite working on my vb 3.6.8 version :: http://www.charlestonpicturecompany....azon_store.php

I feel like I followed teh directions pretty tight and I am using php 5.25. Thoughts?

I get this error code :: Warning: fopen(./cache/amazon_US_Books_charleston_data.page_1) [function.fopen]: failed to open stream: Permission denied in /amazon_store.php on line 181

Warning: fwrite(): supplied argument is not a valid stream resource in /amazon_store.php on line 182

Warning: fclose(): supplied argument is not a valid stream resource in /amazon_store.php on line 183

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "./cache/amazon_US_Books_charleston_data.page_1" in /amazon_store.php on line 185

Warning: Invalid argument supplied for foreach() in /amazon_store.php on line 224
Reply With Quote
  #133  
Old 02-04-2008, 06:20 PM
pecheney pecheney is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it back up, updated my php to 5.25 and uninstalled and reinstyalled everything. NEW error :: http://www.charlestonpicturecompany....azon_store.php

Any thoughts on what I am doing wrong? Any help is greatly appreciated. I am not getting any products returned for some reason. Feel like I am close, though. I put in charleston and books are search parameters and nothing comes back...

PEC
Reply With Quote
  #134  
Old 02-04-2008, 07:14 PM
pecheney pecheney is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I THINK my problem may be with teh location of my cache. My forum is not in a folder called forum, but forums. The diredctions are alsing me to put ./cache/ but that did not work for me. I fixed the rror outputs by adding the path to my cache :: /home/myusername/public_html/forums/cache/

and I CHMOD the cache to 777. I am getting a black page that looks like it is working, just don;t get any results. WHen i look at the cache folder on server it is populated with data from amazone so I know I am close... Any hints?

http://www.charlestonpicturecompany....azon_store.php



Quote:
Originally Posted by mikelbeck View Post
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
  #135  
Old 02-06-2008, 12:21 PM
Stryker412 Stryker412 is offline
 
Join Date: May 2005
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Off topic but does anyone know how to integrate an a-store in Who's Online? (PM me if you do, thanks).
Reply With Quote
  #136  
Old 02-10-2008, 02:15 PM
mikelbeck's Avatar
mikelbeck mikelbeck is offline
 
Join Date: Jul 2005
Location: 4C6F6E672049736C616E642C2
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pecheney View Post
I THINK my problem may be with teh location of my cache. My forum is not in a folder called forum, but forums. The diredctions are alsing me to put ./cache/ but that did not work for me. I fixed the rror outputs by adding the path to my cache :: /home/myusername/public_html/forums/cache/

and I CHMOD the cache to 777. I am getting a black page that looks like it is working, just don;t get any results. WHen i look at the cache folder on server it is populated with data from amazone so I know I am close... Any hints?

http://www.charlestonpicturecompany....azon_store.php
The forum directory being called "forum" or "forums" or "whatever" doesn't matter. The "." at the beginning of the cache directory field means "here", so it would expand to whatever your forum directory was called.

Do you get any results if you try different keywords? Also, can you turn on debug and see what data you get from that?
Reply With Quote
  #137  
Old 02-10-2008, 02:19 PM
mikelbeck's Avatar
mikelbeck mikelbeck is offline
 
Join Date: Jul 2005
Location: 4C6F6E672049736C616E642C2
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xboxliveclans View Post
it is working on my forum now. Thanks.

3 questions:

1. URL rewrite is not working. Maybe because I am using vbseo. I don't care to much about this.
What's not working about it?

Quote:
2. How I can setup 2 amazon stores, one for USA and other one for UK? or maybe third one for canada?
Not at this time.

Quote:
3. Current shows the listing price, can I show the on sale price as well? I think it will be attractive to visitors if the item is on sale..

Thanks..
Also, not at this time. The list price is shown on the main page, but the current "lowest" price is shown on the detail page. If the item is on sale, the sale price will be shown there.
Reply With Quote
  #138  
Old 02-12-2008, 11:44 AM
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Location: East Texas
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a wonderful mod, one of the best I have seen. I have tried to find amazon store solutions, and this one fit the bill perfectly - thank you, thank you!
Reply With Quote
  #139  
Old 02-15-2008, 12:01 PM
SpreadingLight SpreadingLight is offline
 
Join Date: Jan 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great!

Um, I can't find

"Append the contents of the "htaccess.NEW" file to the .htaccess file in the root of your forum."

.htaccess in the forum folder. Do you mean the public_html folder?

edit: That was it, nice


Looking for how to pre-load the pages with specific items now.
Reply With Quote
  #140  
Old 03-01-2008, 08:39 AM
okeanos okeanos is offline
 
Join Date: Jan 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Firstly I will say an excellent mod, got it working no problem, well done.

2 small little things, when asking for decriptive URL's I get page not found. .htaccess is correct, but to be honest I'm not bothered as it looks so good anyway.

One little thing I would like to know is
Quote:
Originally Posted by mikelbeck View Post
- Users can now select the locale they want to search when they perform a "custom" search.
This is set by default to the US, I've had a quick look at the code and not being a coder I have no idea what I'm looking for. My searches all come from the UK as set within the ACP, it would just be nice to be able to change the default location to the UK as well.

Thanks

Mark

edit - My first post too
Reply With Quote
  #141  
Old 03-07-2008, 11:06 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I permit "Guests" to see this page?

Thanks ...

Regards,
Badger
Reply With Quote
Reply

Thread Tools

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 06:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14671 seconds
  • Memory Usage 2,312KB
  • 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
  • (6)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