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 reloaded Details »»
Cafe Press reloaded
Version: 2.5, by aproape aproape is offline
Developer Last Online: May 2014 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.x Rating:
Released: 11-09-2008 Last Update: 12-01-2008 Installs: 94
Uses Plugins Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

Good morning everyone!

*** Second premium shops fix provided ***

*** New cafepress template fix for product detail page and jCarousel ***

*** Premium shops fix provided ***

*** Product details page is now fully functional AND enhanced ***

IMPORTANT: If you have a premium shop and the v2.0.8 add-on is working without problems, please backup your installation before upgrading to v2.5.

Post more info about your forum [URL, php version, type of shop/templates] - when encountering an issue.

This version has been updated for basic/free shops which stopped working since Jul 2008. It should work for both basic/free shops as well as premium shops with the default template.

===

This is a reworked version of the abandoned Cafe Press mod done by Creed and Dylanblitz:

https://vborg.vbsupport.ru/showthread.php?t=182424

The original text for the mod follows:

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

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

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

Install/update instructions for v2.5

Step 1. Overwite the shop.php file with the one from the archive
Step 2. Enjoy!

Install/update instructions for v2.3

Step 1. Install Cafe Press v2.0.3 or higher [if you don't have it already installed]
Step 2. Replace shop.php with the one from v2.3
Step 3. Copy the contents of the /clientscript/ folder from the /upload folder into your forums' root [clientscript] directory, overwriting the existing files.
Step 4. Enjoy!

[the basic/free shop should be working now - and see the [Notes] section below for limitations/more information]

NOTES:

- if you have at least v2.0.3 installed then the only change needed is to replace the shop.php file and the cafe_press folder. You do not need to reimport the product.

- this new release fixes the issue with new templates on cafepress.com for the basic/free stores.

Known issues:

- version 2.5 only contains the files shop.php and /clientscript/cafe_press folder. It is NOT a full product install and requires you to have cafepress mod v2.0.3 or higher installed already.

- no other issues so far ; )

Let me know if you have any questions or encounter any problems with it.. thanks!


Cheers,
aproape

P.S All thanks go to V for contributing to this ;-)

P.P.S. Thanks to ArnyVee for the screenshot. :-)

Version History
v2.5 - [Tue Dec 02nd 2008]
- Premium shops fix for jCarousel/product details page

Version History
v2.4 - [Mon Dec 01st 2008]
- New cafepress template fix
- Product detail/jCarousel error messages fix

Version History
v2.3 - [Wed Nov 19th 2008]
- Premium shops fix
- Code optimization/cleanup

Version History
v2.2 - [Thu Nov 13th 2008]
- Product details page is now fully functional AND enhanced
- Shop name is now taken from the database

Version History
v2.1 - [Sun Nov 09th 2008]
- Basic/free shops are working again with the new Cafe Press template

Show Your Support

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

Comments
  #42  
Old 11-14-2008, 04:42 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The install instructions say to delete the CSS file in the clientscript folder, but I notice there is no replacement CSS file, which is why Arny's store was displaying vertical. Will you be coming up with a new CSS, and if so, will you keep it bare bones so we don't have to do too much editing of the file if we have a darker style?
Reply With Quote
  #43  
Old 11-14-2008, 05:17 AM
Soliloquy's Avatar
Soliloquy Soliloquy is offline
 
Join Date: Mar 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this today and found it only supports a single basic store, while the old version (despite its flaws) used to display the merchandise from all the stores listed in the control panel options. If you try to add more than one store, the header and footer of the page load, but none of the merchandise.
http://www.ice-cream-forum.com/shop.php
Reply With Quote
  #44  
Old 11-14-2008, 05:22 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Soliloquy View Post
I installed this today and found it only supports a single basic store, while the old version (despite its flaws) used to display the merchandise from all the stores listed in the control panel options. If you try to add more than one store, the header and footer of the page load, but none of the merchandise.
http://www.ice-cream-forum.com/shop.php
I don't think it's the modification. CafePress doesn't seem to be allowing comma seperated stores anymore: www.cafepress.com/bkss,cogonline.

EDIT: Yeah, you cant string your stores anymore: http://forums.cafepress.com/eve/foru...8062#803108062
Reply With Quote
  #45  
Old 11-14-2008, 05:31 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
I don't think it's the modification. CafePress doesn't seem to be allowing comma separated stores anymore: www.cafepress.com/bkss,cogonline.

EDIT: Yeah, you cant string your stores anymore: http://forums.cafepress.com/eve/foru...8062#803108062
aproape, on the old mod I used to be able to go in and edit the store ID within the PHP file. That way I could just change the name of the PHP file and references to it and have multiple shops with different names. Is that still possible by editing the reference to the shop ID?


Code:
 
$stores = $vbulletin->options['cafepress store'];
EDIT: I should really just try stuff before posting. Yes, this seems to work. I just replaced the entire $vbulletin variable with my Store ID and it seems to work just fine. Now, is there anything in the file I might be overlooking? I only changed 9 instances of "shop" to "store" and it seems to work, but I'm noticing some color issues which I've assumed are CSS related.
Reply With Quote
  #46  
Old 11-14-2008, 06:41 AM
Soliloquy's Avatar
Soliloquy Soliloquy is offline
 
Join Date: Mar 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess that's CafePress' way of encouraging us to spring for a Premium shop. Maybe I'll go the multiple copies route as Digital Jedi suggested and just make a page to link to them all...
Reply With Quote
  #47  
Old 11-14-2008, 06:59 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Soliloquy View Post
I guess that's CafePress' way of encouraging us to spring for a Premium shop. Maybe I'll go the multiple copies route as Digital Jedi suggested and just make a page to link to them all...
This is not finished yet, but this is the way I'm going. Now, I notice the CSS stops working after I edit the PHP file, but hopefully that will be fixed soon.

http://www.cogonline.net/forums/forumdisplay.php?f=845
Reply With Quote
  #48  
Old 11-14-2008, 08:52 AM
F0xy's Avatar
F0xy F0xy is offline
 
Join Date: Mar 2008
Location: Ireland
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the new upgrade looks really grade and no problems installing
http://whatsyourview.net/forum/shop.php
Reply With Quote
  #49  
Old 11-14-2008, 01:24 PM
aproape's Avatar
aproape aproape is offline
 
Join Date: Dec 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good morning ArnyVee!

Quote:
Originally Posted by ArnyVee View Post
The first screenshot (which you still have on the first post) shows how it 'used' to show.
We took a quick look at your shop.. and found

http://www.waltdisneyboards.com/clie...cafe_press.css

This file was supposed to be removed - and replaced by /clientscript//cafe_press/cafe_press.css

Did you add it after or.. ?

Please let us know - thanks!


Cheers,
aproape
Reply With Quote
  #50  
Old 11-14-2008, 03:02 PM
nascartr nascartr is offline
 
Join Date: Jun 2008
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great here!

http://diecastcrazy.com/community/shop.php
Reply With Quote
  #51  
Old 11-14-2008, 03:29 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aproape View Post
Good morning ArnyVee!



We took a quick look at your shop.. and found

http://www.waltdisneyboards.com/clie...cafe_press.css

This file was supposed to be removed - and replaced by /clientscript//cafe_press/cafe_press.css

Did you add it after or.. ?

Please let us know - thanks!


Cheers,
aproape
I think this is where I made a similar mistake. I read step 3 and deleted the file I just uploaded.

Quote:
Step 3. Delete the file [foorum_root]/clientscript/cafe_press.css (if the file exists)
If I alter the PHP any, will I need to change anything to make sure it still points to that file? I'm still not getting any formating.
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:00 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.04907 seconds
  • Memory Usage 2,318KB
  • 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
  • (1)bbcode_code
  • (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