vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Amazon Store Integration (https://vborg.vbsupport.ru/showthread.php?t=161576)

pecheney 02-02-2008 10:15 PM

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

pecheney 02-04-2008 06:20 PM

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

pecheney 02-04-2008 07:14 PM

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 (Post 1375242)
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.


Stryker412 02-06-2008 12:21 PM

Off topic but does anyone know how to integrate an a-store in Who's Online? (PM me if you do, thanks).

mikelbeck 02-10-2008 02:15 PM

Quote:

Originally Posted by pecheney (Post 1436326)
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?

mikelbeck 02-10-2008 02:19 PM

Quote:

Originally Posted by xboxliveclans (Post 1434125)
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.

kevcj 02-12-2008 11:44 AM

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!

SpreadingLight 02-15-2008 12:01 PM

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.

okeanos 03-01-2008 08:39 AM

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 (Post 1404082)
- 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 :D

BadgerDog 03-07-2008 11:06 AM

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

Thanks ... :)

Regards,
Badger


All times are GMT. The time now is 05:11 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.01344 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete