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
  #222  
Old 01-11-2010, 06:28 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 biggeorge View Post
Still looking for some help with this please.
Since it's usually locally a problem, I'm afraid you just have to tweak the CSS until you track down the problem, as it's going to be unique to your forum in most cases.
Reply With Quote
  #223  
Old 04-18-2010, 05:57 PM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dianna View Post
Would love to know if this works on 4.0
Been playing around with it and store part works but have two errors showing on top of page


Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3957

Parse error: syntax error, unexpected T_STRING in /home/xxxxxxx/public_html/forum/shop.php(108) : eval()'d code on line 1

As the first error shows the navbar is not displaying on the shop page.

Anyone got any ideas?
Reply With Quote
  #224  
Old 04-18-2010, 07:09 PM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got rid of the errors by finding in shop.php:

eval('$navbar = "' . fetch_template('navbar') . '";');

Replaced with this:

$navbar = render_navbar_template($navbits);

No more errors showing on top of page.

Now just have a few problems with the premium store, cant change color of an item or view larger.
Reply With Quote
  #225  
Old 05-25-2010, 02:11 AM
silentranks silentranks is offline
 
Join Date: Apr 2010
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so, does this work on 3.8.5?
Reply With Quote
  #226  
Old 07-07-2010, 08:00 PM
SuperGLS SuperGLS is offline
 
Join Date: Nov 2004
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

kylek, did you get all the stuff worked out? Can you put together a complete list of what you did? Am I asking too much?
Reply With Quote
  #227  
Old 08-26-2010, 04:54 PM
wmguk wmguk is offline
 
Join Date: Feb 2010
Location: UK
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I've installed the script, I installed a new shop, 2.0.8 then installed this - but I get

Quote:
Could not parse the CP.com content. Please contact the adminitrator.
Any ideas?
Reply With Quote
  #228  
Old 04-16-2011, 07:41 PM
interfx interfx is offline
 
Join Date: Dec 2001
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with VB4.x?
Reply With Quote
  #229  
Old 05-23-2011, 02:33 AM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kylek View Post
Got rid of the errors by finding in shop.php:

eval('$navbar = "' . fetch_template('navbar') . '";');

Replaced with this:

$navbar = render_navbar_template($navbits);

No more errors showing on top of page.

Now just have a few problems with the premium store, cant change color of an item or view larger.
I get the store, but when you select an item to go to details, get the "add to cart" button, etc, I get nada.

Anybody know why this might be?

I may have to just give up on cafepress if this continues... I've removed the link on my site, but if you go here: http://www.justplainpolitics.com/shop.php you can see what I am talking about. You can see t-shirts, etc. But if you click on an item it gives you nothing...
Reply With Quote
  #230  
Old 06-19-2011, 05:27 PM
ThunderVamp9 ThunderVamp9 is offline
 
Join Date: Oct 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phaedrus View Post
I get the store, but when you select an item to go to details, get the "add to cart" button, etc, I get nada.

Anybody know why this might be?

I may have to just give up on cafepress if this continues... I've removed the link on my site, but if you go here: http://www.justplainpolitics.com/shop.php you can see what I am talking about. You can see t-shirts, etc. But if you click on an item it gives you nothing...
Exact same issue I have. I'm hoping there's a solution somewhere
Reply With Quote
  #231  
Old 11-28-2011, 02:03 AM
interfx interfx is offline
 
Join Date: Dec 2001
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone apply this to a VB4.x version site yet? Looking for this same mod for VB4...

Thanks in advance -
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 05:14 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.10153 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
  • (5)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
  • (3)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