Wishads for CafePress Stores

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

Demo

Download Here

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.

34 Responses for "Wishads for CafePress Stores"

  1. WishAdmin March 8th, 2009 at 12:45 pm

    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.

  2. WishAdmin March 8th, 2009 at 9:58 pm

    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.

  3. WishAdmin March 12th, 2009 at 12:50 am

    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. :)

  4. Jeff Frey March 30th, 2009 at 7:46 am

    I am getting this error message.

    “can’t create new cache file”

    php = 5.2.6
    Host = Mediatemple

    Thanks for the help.

    Jeff

  5. WishAdmin March 30th, 2009 at 5:00 pm

    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.

  6. WishAdmin April 22nd, 2009 at 8:57 am

    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.

  7. Gretchen Cawthon April 27th, 2009 at 9:50 am

    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?

  8. WishAdmin April 27th, 2009 at 11:06 am

    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.

  9. Gretchen Cawthon April 27th, 2009 at 12:34 pm

    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?

  10. WishAdmin April 27th, 2009 at 1:04 pm

    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. ;)

  11. Gretchen Cawthon April 27th, 2009 at 1:06 pm

    Great - I will check that out - thanks!

  12. Tyler June 2nd, 2009 at 6:33 pm

    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

  13. WishAdmin June 5th, 2009 at 4:13 pm

    Tyler, email me directly at info@wishads.com and we can try to troubleshoot this without splattering your web undergarments on the internets. :)

  14. UTeez July 9th, 2009 at 5:53 pm

    can’t create new cache file

  15. WishAdmin July 10th, 2009 at 12:31 am

    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?

  16. UTeez July 10th, 2009 at 7:24 am

    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

  17. WishAdmin July 10th, 2009 at 10:40 am

    Can you email me the specific error message you’re getting to info@wishads.com? That will include line numbers and such.

  18. Carly July 27th, 2009 at 2:04 pm

    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.

  19. WishAdmin August 1st, 2009 at 6:33 pm

    Carly, you should be able to paste any CafePress store section url and get a result. Let me know if you have any problems.

  20. Gretchen August 6th, 2009 at 2:36 pm

    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?

  21. Fabian August 13th, 2009 at 11:55 pm

    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

  22. Silvia Stoyanova September 8th, 2009 at 8:25 pm

    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

  23. k September 10th, 2009 at 6:55 am

    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]

  24. WishAdmin September 10th, 2009 at 4:58 pm

    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!

  25. WishAdmin September 11th, 2009 at 3:52 am

    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.

  26. k September 11th, 2009 at 4:09 am

    Please fix it if you can :) the earlier wordpress versions are susceptible to hack attacks ..

  27. Jason September 25th, 2009 at 12:38 am

    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?

  28. Robert Andrews November 29th, 2009 at 4:42 am

    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.

  29. S January 10th, 2010 at 6:16 am

    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

  30. S January 10th, 2010 at 6:18 am

    sorry had that wrong…it’s showing
    http://www.cafepress.com/shopid.itemid

  31. S January 10th, 2010 at 6:31 am

    Also where can I verify if allow_url_fopen is turned on?

    Thanks!

  32. D January 31st, 2010 at 11:30 pm

    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!

  33. WishAdmin January 31st, 2010 at 11:55 pm

    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.

  34. G February 3rd, 2010 at 7:35 pm

    Yep, just killed myself trying to install and troubleshoot it.


Leave a reply