Announcing the Wishads for CafePress Store plugin
(Note: This plugin does NOT work with Wordpress 2.8 or above.)
In beta testing. Now version 1.0 available at the Wordpress repository
Help file is included in the zip, but it’s pretty simple. Install the plugin and complete the settings including the CSS section (samples provided for you).
Then create a page or a post and put one of your complete store section urls between a “cpstore” shortcode or use the form that shows up on the post. Pretty simple!
You can rearrange the categories in the plugin file itself without any difficulty.
Please provide any feedback and bug reports.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Dec | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||
34 Responses for "Wishads for CafePress Stores"
If you are having error messages with the plugin please let me know what version of php you are running and what webhost. I’m finding people using php4 that do not have DOMXML enabled. This plugin reads an xml file from CafePress and needs to have DOMXML enabled on the server in order to work.
Actually, now I’m finding php4 versions with DOMXML enabled, but it works differently than in php5. So at this point, it might just have to require php5. I’ll keep working to find a solution for those of you running on php4.
I just uploaded a new version for testing. This version uses some code that tries a couple of different ways to access the CP api and uses a parser available to most php4 and php5 setups.
The download link above has been overwritten with the new version, so just do a redo and you should be good.
I am getting this error message.
“can’t create new cache file”
php = 5.2.6
Host = Mediatemple
Thanks for the help.
Jeff
Hey Jeff. I’ll look into this this evening. That’s usually a permissions issue. Check to make sure you have write permissions on the cache folder. Usually you don’t have to manually do this, but I’ve had cases where someone did have to change their permissions manually.
Let me know if that works or not.
Just found out that there may still be some sections not showing up depending on the product mix. Please email me at “info” at our domain name with any store section not showing up so I can pass it on to CafePress for bug checking.
This looks promising for what I want to do, but it’s not working on my site. Nothing displays when I insert the shortcode. I have wordpress 2.7.1.
Any thoughts?
Gretchen, which web host and what version of PHP are you using? The plugin needs some specific features working. For example, allow_url_fopen needs to be turned on.
Also, make sure that the cache folder created in the plugin directory is read/write access. Sometimes it will do that automatically on the install and sometimes you have to manually change it.
Get back to me and we can see about getting this worked out.
I use midphase. PHP is 5.2.6 I just chmod the cache to 777 (it was at 755) and that seemed to do the trick. I know have the products displaying. Can we change the order they appear?
Yeah for success!
You can change the order of the sections, but not the order of the products in each category section. Look at the top of the wishads-for-cafepress-store.php file and look for “Categories Order” around line 43. This section is what determines the order of the categories. Just rearrange to your heart’s content. I don’t need to remind you to make a backup copy.
Great - I will check that out - thanks!
Hello!
This looks like a great plugin but when I activate it, I get the following error.
My NOTICE [1024] get_settings is deprecated since version 0.0! Use get_option() instead.
What does this mean? Is this an error with this plugin?
Any help would be greatly appreciated.
Thanks,
Tyler
Tyler, email me directly at info@wishads.com and we can try to troubleshoot this without splattering your web undergarments on the internets.
can’t create new cache file
Tyler, “get_settings” isn’t in my plugin, sorry. Must be something else?
UTeez, need a little more info maybe. Did you upload the cache directory along with the files and are the permissions set for it to be at least 755?
I believe I did - here is a screen shot of my file dir
http://shopteez.com/images/CP-filesforWP.gif
cache-readme.txt is the only file in the folder
Can you email me the specific error message you’re getting to info@wishads.com? That will include line numbers and such.
Testing out the plugin. Pretty cool so far!
Is there a way to pull in items from other people’s stores? We have a lot of our own designs, but there are also some great designs in other shops on CafePress, so it would be great to be able to select some of those items and bring them in as well.
Carly, you should be able to paste any CafePress store section url and get a result. Let me know if you have any problems.
Is there a way to change the category names? I wanted to change the & to the word ‘and’ for validation purposes, but when I change it in the php file the link disappears on the site. Any idea?
hey great work but I am getting an error message
Fatal error: Call to undefined function curl_init() in /home/fabmarc/public_html/wp-content/plugins/wishads-for-cafepress-store/wishads-for-cafepress-store.php on line 703
What does the section URL look like? I tried using my cafe press store URL but I am getting a “can’t create local file” error message in WP
any idea why the store version doesn’t work in 2.8.4 wordpress? it doesn’t show anything when i enter my store url, for example [cpstore]http://www.cafepress.com/mystore[/cpstore]
Sylvia, a section url looks something like this:
http://www.cafepress.com/cafewish/2492125
k, I haven’t begun to look at wordpress 2.8. No time, less inclination. Sorry!
Gretchen, you can’t change that. It’s the category name as it appears in the CP API feed, so it needs to be that character in order to match up with the CP Category. I’ll keep that in mind for future versions though.
Please fix it if you can
the earlier wordpress versions are susceptible to hack attacks ..
I am trying to add my store to the website, but it is capping me at 2 items per page. I have changed the in post [cpgrid] and the default in the setting section to show more. No matter what I do, I get 2 items per page.
I want to show all 34 items on the same page/post. What am I doing wrong?
Simply isn’t working. Eg http://robertandrews.coolpage.biz/?page_id=214 using [cpstore]http://www.cafepress.com/storeid/1234567[/cpstore] and a correct key.
Heck of a shame.
For your store version, what do you consider the section url to be? Do you have to have a paid store or can you use the free store?
I only see the following options:
http://www.cafepress.com/shopid
http://www.cafepress.com/shopid/itemid
Am I missing something obvious?
Thanks
sorry had that wrong…it’s showing
http://www.cafepress.com/shopid.itemid
Also where can I verify if allow_url_fopen is turned on?
Thanks!
Should we consider the development of this plugin terminated?
The store versione doesnt work with 2.8+ (we are now at 2.9.1).
The plugin is just not showing anything in pages… which makes the plugin obsolete and useless now
Any chance you could look into WP 2.9+ and make it work?
Ive never had the chance to use this plugin
Anyway, thank you for your time, Im sure it used to be a cool plugin!
I’m afraid so. The amount of time I put into it vs. what I got out of it and the demands on my time now simply aren’t worth it. I got pretty jaded that a new release killed the functionality, and I just am not thrilled about the thought of spending another 20 hours of programming just to have the same thing happen again. I’m more than willing to let someone have the code to continue development.
I really enjoyed the process and learning to do my first WP plugin, but having it not work after two minor releases bit hard. Thank you.
I’ll see about clarifying that it doesn’t work on 2.8+ so people don’t kill themselves trying to install and troubleshoot it.
Yep, just killed myself trying to install and troubleshoot it.
Leave a reply