The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cafe Press Details »» | |||||||||||||||||||||||||
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
|
Comments |
#132
|
|||
|
|||
Quote:
The reason I asked about the install is because the lines that errored are the only lines that use the store id variable. It's like it's not seeing that variable. I just checked again and it is picking up the store name variable, weird. |
#133
|
||||
|
||||
No, it's not free.
However, I hard coded my store id into store.php and it seems to be working now. *shrug. Looks like $vbulletin->options['cafepressstoreid']; wasn't being passed for some reason. |
#134
|
||||
|
||||
now, how to make the background white?
|
#135
|
|||
|
|||
It uses the forum style for it's background. For your shop, I think you could edit line 297 from
echo "<td valign=\"top\">\n"; to be echo "<td valign=\"top\" bgcolor="#FFFFFF">\n"; and it should work. |
#136
|
||||
|
||||
Hi there Dylanblitz!
Thanks for this upgrade - wonderful add-on! One observation though - after using it for about 5 minutes.. if you click on the LINK of the product [NOT the product image] - the target is the cafepress site.. I thought you might want to know and replace that to always show the same site not cafepress :-) [at least not until checkout etc] Cheers, aproape |
#137
|
|||
|
|||
Quote:
|
#138
|
|||
|
|||
OK, I got this installed. I have a basic shop for now. When I run it, I get the following error:
Warning: fclose(): supplied argument is not a valid stream resource in [path]/shop.php on line 211 Ideas? |
#139
|
|||
|
|||
Quote:
Hmm only thing it's doing at 211 is closing the connection after the initial connection to cafe press. Can you send me the shop page link and your store id so I can test further? |
#140
|
|||
|
|||
Quote:
My like is at http://www.hidingplace.com/forums/shop.php ID is hidingplaceshop |
#141
|
|||
|
|||
Weird. I just loaded the page again and now it is working.
It is breaking the style tho. How do I fix that? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|