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

Reply
 
Thread Tools
Cafe Press Details »»
Cafe Press
Version: 2.0.8, by Dylanblitz Dylanblitz is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.x Rating:
Released: 06-13-2008 Last Update: 07-21-2008 Installs: 97
Re-useable Code Additional Files  
No support by the author.

At this time this mod is not functioning correctly. Cafepress has redone their free site template and it will take a rewrite of this mod to get it to work again. Not extremely difficult, just time consuming. Unfortunately, 2 jobs, a sick kid and commercial work leaves free time few and far between nowadays. I will try and work on it when I can. If any other coder out there is interested they are free to take what I have and run with it, just like Creed posted on his original code.


This is a reworked version of the abandoned Cafe Press mod done by Creed.

This add-on will allow you to add all the items from any of your Cafe Press store's or multiples if you so choose. If you have multiple stores you are going to use, make sure you separate each store name with a comma.

This add-on works with Cafe Press basic store, as well as with premium stores.

Two files to upload.
One (optional) Template Edit.

Basic Store Demo

Basic Store Single Item Demo

If you have at least 2.0.3 installed then only change needed is to replace the shop.php file. You do not need to reimport the product.

PREMIUM OWNERS PLEASE READ!!
I will not be able to officially support the shops of premium owners. The main problem is that there is no standardization on the templates available to premium users, especially in the css and notes markup which is what I count on for the script, and it's unrealistic to try and code for each one. The shop works for premium shops with the default template and no css added. A lot of the templates mess up the formatting.

I will help with what I can but there is only so much I can do.
When asking for help please include the following:
path to your shop.php file
store id
template used (if possible)


Version History
v2.0.8 - [Tue 22th July 2008]
Removed Call-time pass-by-reference
Modified code to be xhtml valid (Thanks Enclave)

v2.0.7 - [Fri 11th July 2008]
Fixed category links

v2.0.6 - [Fri 27th June 2008]
Fixed link to create your own online shop

v2.0.5 - [Fri 27th June 2008]
Moved View Cart button to get it out of the Add to Cart form
Fixed hard code from store.php to shop.php
Added security for GET variable *Thanks Tim

v2.0.4 - [Fri 27th June 2008]
Removed cream background color on item view
Added navbar link to go back to main shop
Fixed mouseover color changes
Fixed Larger Image link

v2.0.3 - [Thur 26th June 2008]
Changed into a VB Product
Moved settings to AdminCP
Added AdSense capabilities
fixed bug with accessing some images on local drive instead of cafepress

v2.0.1 - [Sat 14th June 2008]
Changed qualification to pull in content to deal with multiple page types
(shop.php File Change only, nothing else needed)

v2.0.0 - [Fri 13th June 2008]
Initial Release

Show Your Support

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

Comments
  #142  
Old 08-08-2008, 08:34 PM
Tharos Tharos is offline
 
Join Date: Aug 2007
Location: VALPARAISO / CHILE
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, and it is perfect for a business website
Reply With Quote
  #143  
Old 08-08-2008, 09:05 PM
Dylanblitz Dylanblitz is offline
 
Join Date: Oct 2005
Location: OC, California
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PGAmerica View Post
Weird. I just loaded the page again and now it is working.

It is breaking the style tho. How do I fix that?
Your logo is taking only one table cell and it's pushing everything else to the right. Try using this one, should work for you better.
Reply With Quote
  #144  
Old 08-08-2008, 09:28 PM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet! It is perfect now. Thank you so much!

Now if only I can get CafePress to lower their prices so I can lower mine. Lol. Like that's going to happen.

BTW, are you planning on adding more features? I would love to see an option to show the store categories on the first page and then have an option to show all. Then I can build a drop-down menu with an option for each of my stores or categories.

Maybe even an option to have multiple stores.
Reply With Quote
  #145  
Old 08-08-2008, 09:30 PM
AuroraStorm's Avatar
AuroraStorm AuroraStorm is offline
 
Join Date: Nov 2006
Location: ATHell
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be really cool to have if I wanted to sell, oh let's just say...grown up stuff...
Reply With Quote
  #146  
Old 08-08-2008, 09:31 PM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed another problem. Goto http://www.hidingplace.com/forums/sh...shop.292652450 and see for yourself. Everything is whacked, but only in one of my styles.

If you don't see what I am referring too, look at the attachment.
Reply With Quote
  #147  
Old 08-10-2008, 03:32 PM
Melissa Miller Melissa Miller is offline
 
Join Date: Aug 2006
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im getting this same error also. In more than one style.
Warning: fclose(): supplied argument is not a valid stream resource in [path]/shop.php on line 211
Reply With Quote
  #148  
Old 08-10-2008, 04:04 PM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Melissa Miller View Post
Im getting this same error also. In more than one style.
Warning: fclose(): supplied argument is not a valid stream resource in [path]/shop.php on line 211
Try the shop.php file that was provided to me in post #142

That solved my problem. I am still having another layout issue on one style tho.
Reply With Quote
  #149  
Old 08-10-2008, 08:37 PM
Melissa Miller Melissa Miller is offline
 
Join Date: Aug 2006
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uploaded that file and get the same error. I actually tried it before I posted, then just tried it a second time.

Normally I can fix minor things, but I don't have a clue what this error means or how to fix it.
Reply With Quote
  #150  
Old 08-10-2008, 11:28 PM
Dylanblitz Dylanblitz is offline
 
Join Date: Oct 2005
Location: OC, California
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Melissa Miller View Post
I uploaded that file and get the same error. I actually tried it before I posted, then just tried it a second time.

Normally I can fix minor things, but I don't have a clue what this error means or how to fix it.
On like 202 can you remove the @ so the line reads

$socket = fsockopen("www.cafepress.com", 80, $errno, $errstr);

Run it like that and see if it gives you an error.
Also, can you send me the link to your shop script and the shop id. PM or reply on here with it so I can troubleshoot more.
Reply With Quote
  #151  
Old 08-12-2008, 03:29 AM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PGAmerica View Post
I just noticed another problem. Goto http://www.hidingplace.com/forums/sh...shop.292652450 and see for yourself. Everything is whacked, but only in one of my styles.

If you don't see what I am referring too, look at the attachment.
Is there any answer to my problem?
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 07:09 PM.


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.07681 seconds
  • Memory Usage 2,315KB
  • Queries Executed 27 (?)
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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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