Thread: Integration with vBulletin - Cafe Press
View Single Post
  #104  
Old 07-10-2008, 07:35 AM
Dylanblitz Dylanblitz is offline
 
Join Date: Oct 2005
Location: OC, California
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Soliloquy View Post
Just installed and was amazed at the ease of use. A few things though:

1. I see in the code it's supposed to display the forum name in the title before "Cafe Press Store", but that part isn't showing up. I added my forum name manually.

2. Like a previous poster, clicking on a category link still displays all products.

3. Also, on the category page all the store names are displayed in the navbar, stretching out the page. (See screenshot, first arrow.) It would be better to have the store name as set in the control panel.
1. Can you post the code that you edited? It should be showing the forum. It also might of messed with the code and caused #3 because I don't have the store id showing up there at all. The store name should be showing down below, not even with the forum name like you have it.

2. I'm working on these, trying to figure out a decent way to get it done.
I've attached what I see when I use your shop info



Quote:
Originally Posted by Soliloquy View Post
Suggestions:
1. I'd like to install this on a couple other forums, but I have a bunch of young kids on one and their parents would not take kindly to having the Intimate Apparel category there, even if it's empty. It would be nice if we could remove links to the categories we don't use.

2. A way to disable logo display would be nice as well. Since I have it in my forum header, it looks silly displayed on the page.

3. Showing all the products on the first page makes for a very long page, both in length and time to load. Maybe you could add a way to display only a few select items (say, four or six) there, specified in the control panel options by ID number? Or a few random items?

Thanks!:up:
A lot of these things I cannot do. It's just a lack of usable code.
Here is what the script does. The script basically sucks the code from your cafe press store like your looking at a browser into itself. I then strip off a chunk of it to get rid of the header and footer. Then I do some parsing to fix some links and stick that data in a vb template page.
If I could get xml or something else from cafe press then I could do some fancy stuff, but with what I have available, all I can do is present what you have on your storefront on a vb page.
The reason it's showing intimate apparel is because one of your stores, bananasplitny, has it as a category.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01189 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete