Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
Mod Name / Version: Cafe Press Random Item Display Palbox

Description: I found this code by Andrew Collington that calls up a random item out of your cafe press store. I put it into a pal box and made it look a little bit prettier.

Working Under: UBB.Threads 6.3

Mod Status: Finished

Any pre-requisites: a Cafe Press shop

Author(s): Andrew Collington, modded by Calpy

Date: 04/26/04

Credits: Andrew Collington

Files Altered: customboxXpal.php

New Files:

Database Altered:

Info/Instructions: Just change the name of the shop to yours in the code. You can see it in action at my forum's "Entrance Page" with the login "threadsdev" and password is "password"

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Attachments
112401-custombox6pal.zip (0 Bytes, 30 downloads)

Sponsored Links
Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
Ugh - stay away from CafePress at all costs...

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
ouch?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Unless it's changed recently cafepress's quality is real nice. The prices are kinda expensive, but the quality is good.

Thank you for the mod


- Allen wavey
- What Drives You?
Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
I had a storefront on CafePress for years. One day they tell me that all my content is being removed. The reason: the cartoons used on my items were "similiar" to an actual automobile. While the cartoon used no logos or other copyrighted/trademark items, they felt the similiarity was enough to close me down.

I switched to www.zazzle.com and haven't looked back. Zazzle has better output (images on back are almost twice the size!) and the quality of the shirts is even better. After getting some samples I order 36 tshirt for myself (am wearing one right now, in fact!).

I highly recommend you check out Zazzle and ditch cafepress.

Sponsored Links
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Does this mod not work with premium shops? I got it to work with a regular shop, but when I try to use it with a premium shop it tells me that no products were found. Nothing is mentioned at Andy's site about supporting premium shops or not.

Joined: May 2004
Posts: 1
Lurker
Lurker
Offline
Joined: May 2004
Posts: 1
There was some discussion on the script's message board about premium shops:

http://php.amnuts.com/forums/viewtopic.php?t=59

If that doesn't work for you then you may need to alter your regular expression pattern, which can be done with the setPattern method.

Joined: Dec 2002
Posts: 67
Power User
Power User
Joined: Dec 2002
Posts: 67
* My shop is a premium shop and it works for me...

Joined: Jun 2004
Posts: 10
Newbie
Newbie
Joined: Jun 2004
Posts: 10
Wow this is a nice hack. But please note that you must download the "class.cafepressbox.php" from the link in first post or here: /http://php.amnuts.com/index.php?do=view&id=13 This file goes into the "pals" folder. Hope this helps someone out(I went round and round for about half an hour trying to figure it out. lol)


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)