vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Cafe Press reloaded (https://vborg.vbsupport.ru/showthread.php?t=195858)

aproape 11-09-2008 10:00 PM

Cafe Press reloaded
 
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

iogames 11-09-2008 11:28 PM

We are back on business! :D

Digital Jedi 11-09-2008 11:59 PM

I'll be sure to give a try a little later this week.

mmurtha 11-10-2008 05:27 AM

Quote:

Originally Posted by Digital Jedi (Post 1662652)
I'll be sure to give a try a little later this week.

Hey Jedi,

I was checking out your forum and ran into this error when I clicked the "forum" link on the Navbar:

Quote:

Unable to add cookies, header already sent.
File: /home/eonpres/public_html/cogonline/forums/tabrecentthreadsexp.php
Line: 1
Thought you'd want to know. ;)

cykelmyggen 11-10-2008 05:36 AM

Great work, seriously considering this one:up:
Screenshots anyone?

aproape 11-10-2008 05:41 AM

Hi there cykelmyggen,

Quote:

Originally Posted by cykelmyggen (Post 1662771)
Great work, seriously considering this one:up:
Screenshots anyone?

You can find screenshots on the original thread [mentioned at the beginning in the description].

If anyone else wants to post some - now that it works - feel free.. I can add them to the top.


Cheers,
aproape

Hornstar 11-10-2008 09:57 AM

Thanks, just intime for me to get my latest shirt for sale on my site.

ArnyVee 11-10-2008 12:47 PM

Yippee! :D

Going to try this out and hope it works well! :)

ArnyVee 11-10-2008 01:10 PM

Works great! Thanks for the help in getting this done! :D

I've attached a screenprint for an example of what it looks like on WaltDisneyBoards.com

aproape 11-10-2008 02:00 PM

Hi there ArnyVee!

Glad to hear it ;-)

I've added your screenshot at the top.. thanks for the contribution.


Cheers,
aproape


Quote:

Originally Posted by ArnyVee (Post 1662898)
Works great! Thanks for the help in getting this done! :D

I've attached a screenprint for an example of what it looks like on WaltDisneyBoards.com


soundbarrierpro 11-10-2008 03:22 PM

What's different? The other wasn't abandoned. It's right here. I have it working on my site.
https://vborg.vbsupport.ru/showthrea...182424&page=18

ArnyVee 11-10-2008 03:30 PM

soundbarrierpro, did you happen to have a 'pro' store?

That mod stopped working for everyone with a 'basic' store setup. As you can see from the multiple posts about that towards the end of that mod's thread.

LCN2007 11-10-2008 04:59 PM

yes its back thanks ill have to install this tonight when i get home.

Thanks for your hard work.

valdet 11-10-2008 06:53 PM

Perfect. Thanks so much.

v12kid 11-10-2008 07:45 PM

well done, I will install this once the redirect fix is added :)

hooray for community!

Digital Jedi 11-10-2008 09:23 PM

Quote:

Originally Posted by soundbarrierpro (Post 1662963)
What's different? The other wasn't abandoned. It's right here. I have it working on my site.
https://vborg.vbsupport.ru/showthrea...182424&page=18

There's also this comment at the very top of that mod:

Quote:

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.

4x4 Mecca 11-10-2008 10:09 PM

Mine is a premium shop, but it looks funky at my site http://www.4x4mecca.com/forum/shop.php any ideas?

aproape 11-10-2008 10:53 PM

Hi there 4x4 Mecca!

Quote:

Originally Posted by 4x4 Mecca (Post 1663184)
Mine is a premium shop, but it looks funky at my site http://www.4x4mecca.com/forum/shop.php any ideas?

Was your site / add-on working prior to upgrading to v2.1? If yes, please revert back to v2.0.8.

This upgrade [v2.1] was meant ONLY for basic/free shops which stopped working since ~ Jul 2008.

---

Let us know - thanks!


Cheers,
aproape

Digital Jedi 11-11-2008 05:56 AM

Maybe you and Dylan should rename your respective threads CafePress Basic Shops Integration and CafePress Premium Shops Integration, as that seems to be a more accurate differentiation of the two mods then 2.0 and 2.1.

aproape 11-11-2008 10:12 AM

Hi there Digital Jedi,

No worries - we can make it work with Premium shops as well - :-)

[just finishing the product detail page at the moment.. and then premium is next]

===

I think it's best to go that route and eliminate any confusion between versions..

Plus - for premium shops - there are several templates which can be looked at... and it shouldn't be to difficult to make it work with most/all of them - as long as we have examples to troubleshoot.

[hence I left v2.1 still in 'beta' ;-)]

Cheers,
aproape

mousegeek 11-11-2008 12:26 PM

I keep getting this error message when I go to the page:

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 291

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 293

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 294

iogames 11-11-2008 02:49 PM

Let's keep the good spirits and look forward :)

4x4 Mecca 11-11-2008 03:12 PM

I didn't have it working before. This is closer than it was before, but not 100% yet.

aproape 11-12-2008 12:45 AM

Hi there 4x4 Mecca,

Is your shop using the default premium template or a different/custom template offered by cafepress?

Cheers,
aproape

aproape 11-12-2008 12:46 AM

Hi there mousegeek,

Quote:

Originally Posted by mousegeek (Post 1663491)
I keep getting this error message when I go to the page:

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 291

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 293

Warning: preg_replace() [function.preg-replace]: Unknown modifier '/' in [path]/shop.php on line 294

What php version are you running? Are you using a basic or premium shop?

May I have the URL/path to your shop.php?


Cheers,
aproape

4x4 Mecca 11-12-2008 12:58 AM

nope, normal template www.cafepress.com/4x4mecca you can see it there.

aproape 11-12-2008 02:17 AM

Hi there 4x4 Mecca,

We'll take a look at your page as soon as the product detail task is done..

Glad that at least works better than before : )

Cheers,
aproape

F0xy 11-12-2008 08:19 AM

there seems to be a problem in IE7 as you can see here http://whatsyourview.net/forum/shop.php

it says at the top page can't be found but the rest of the page can be seen.

edit: the problem is gone now

NeitherSparky 11-12-2008 08:57 PM

Quote:

Originally Posted by aproape (Post 1663450)
No worries - we can make it work with Premium shops as well - :-)

Okay good, I wasn't sure if you guys were going to. :)

aproape 11-12-2008 11:12 PM

Hi there NeitherSparky,

Quote:

Originally Posted by NeitherSparky (Post 1664486)
Okay good, I wasn't sure if you guys were going to. :)

Did you try it yet? Is it [not] working for you?

Are you using v2.0.8 successfully? Default or custom templates on the premium shop?

[I know, lots of questions.. ; )]


Cheers,
aproape

shadyninja 11-13-2008 02:39 AM

kind of a dumb question (please forgive me)
how do I add items to my page?
I must be missing something.
http://www.shadyninja.com/Vbulletin/shop.php
if my link is down , its because I'm working on it.

Quarterbore 11-13-2008 03:22 AM

Mine is looking like that too and I was not able to figure it out either:

http://www.timeshareforums.com/forums/shop.php

I just don't understand why the products are one long column...

shadyninja 11-13-2008 03:33 AM

I got mine figured out , but im having issues with the navbar link...
Ill keep working on it

NeitherSparky 11-13-2008 04:20 AM

Quote:

Originally Posted by aproape (Post 1664554)
Hi there NeitherSparky,



Did you try it yet? Is it [not] working for you?

Are you using v2.0.8 successfully? Default or custom templates on the premium shop?

[I know, lots of questions.. ; )]


Cheers,
aproape

Sorry no, I have not tried this particular mod. I am still using the old one with my premium shop and it is still working fine. When its announced here that premium shops are supported I will try it.:) I was under the impression that this mod so far only works with basic shops.

edit: Sorry, to be more clear: I have a premium shop with default templates (I am assuming as I've never changed them) and I am still using 2.08 with no problems.

aproape 11-13-2008 08:17 PM

Hi there NeitherSparky,

Quote:

Originally Posted by NeitherSparky (Post 1664683)
edit: Sorry, to be more clear: I have a premium shop with default templates (I am assuming as I've never changed them) and I am still using 2.08 with no problems.

Is it possible to try v2.1 on your site? [of course, backup the old version and try this one.. ?]


Normally - it should be compatible - we haven't changed any code for the premium shops.. so I am curious to find out if it works for you out of the box.


Cheers,
aproape

ArnyVee 11-13-2008 11:27 PM

So, 2.2 ready to be used for the 'basic' shops? :)

aproape 11-13-2008 11:30 PM

Hi there ArnyVee,

Quote:

Originally Posted by ArnyVee (Post 1665222)
So, 2.2 ready to be used for the 'basic' shops? :)

Indeed : )

It should work without any issues with basic/free and premium shops [with basic template].

Give it a try and let me know! ; )


Cheers,
aproape

P.S. You can add more screenshots if you have time - I'll upload them right away on the top ;-)

ArnyVee 11-14-2008 01:10 AM

Well, other than the products all being in a vertical line (is there a way to fix that?) , it seems to work! Screenprints to follow shortly. :D

EDITED: Screenprints added

aproape 11-14-2008 01:21 AM

Hi there ArnyVee,

Thanks for the shots - hmm

EDIT: I've seen your board - give us a day or so and we should be able to fix it ; )

Cheers,
aproape

ArnyVee 11-14-2008 01:24 AM

The first screenshot (which you still have on the first post) shows how it 'used' to show. :)


All times are GMT. The time now is 10:57 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.01435 seconds
  • Memory Usage 1,829KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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