Support Center/Announcements/Announcements

Wordpress Plugin v3.2 Is Live!

The Uprising Creative
posted this on August 03, 2011 11:13 am

To all Topspin users who are using or contemplating using the Official Topspin Wordpress Plugin, we've just finished the new v3.2 of the Wordpress plugin.  It's available now through Wordpress.org (http://wordpress.org/extend/plugins/official-topspin-wordpress-plugin/), GitHub (https://github.com/topspin/topspin-wordpress), and via an automatic upgrade within your Wordpress install if you're already using it.    

This new version deals with a lot of various bug fixes, particularly with tag-based store pages.  Thanks to the help of various members of the Topspin community we were able to isolate some issues with how Tags were being read and dealt with in the plugin's database cache.  This resulted in a major rewrite of the Tag-based system and it should be pretty bug free now so we definitely recommend upgrading.  We've also added a new admin UI element when creating or editing a Store Page that now shows a preview of the products on the store page based on the sorting method, offer types, and tags selected (previously it only showed this if you selected Manual sorting).  This way you can see what products are going to show up on the store without the guess work.  

 

Additionally, there are a bunch of great new features like: 

  • Ability to show all additional images for an offer in the More Info lightbox
  • Ability to embed individual offers directly into any post on your site using individual product shortcodes
  • Ability to provide hash-based permalinks directly to a specific product's More Info lightbox on a store page 
  • Ability to add the full item details and additional images into your custom theme wherever you want using new template tags 
  • Ability to have as many Featured Items as you want on a page instead of just one
(It should be noted that some of the new template / front-end functionality like the additional images and permalinks require an upgrade of the template files.  If you're using the default templates located in the plugin directory, this will be updated automatically.  But if you're using customized templates in your Theme's directory, you'll need to either a) manually add in the new code elements from the new templates or b) copy over the new templates and re-style as needed.  No way around this unfortunately, but should be pretty painless overall.)
  
Be sure to check out the revised readme.txt file (or the docs on Wordpress.org) for details on the new templates, the new shortcodes, changes, etc.  
  
  
Additionally, if you're a developer and you want to add some functionality or fix some bugs in the plugin, by all means go for it!  It's completely open-source and Topspin is actually paying $150 to any developer who successfully commits a new piece of functionality or bug fixes.  Just go to GitHub (https://github.com/topspin/topspin-wordpress), grab a fork, and go to town!  Also, if you find any bugs and don't feel comfortable squashing them yourself and committing those fixes back, feel free to report them over on GitHub (https://github.com/topspin/topspin-wordpress) and we'll take a look as soon as we're able. 
  
Thanks, 
Jeff Nicholas 
The Uprising Creative - http://theuprisingcreative.com
 

Comments

User photo
John Jacobus
My only issue with 3.2 is that the featured item's CSS (and the store array, to a lesser extent) doesn't resize dynamically. I'm using CSS3's view port:device width call on my site and on mobile, all you see is the featured items image with a ton of blank space below before the store array. Go to http://tricil.net/store and resize your window to the skinniest it will go to reproduce.
August 03, 2011 11:39 am
User photo
The Uprising Creative

Good find, and I see what you're saying.  We may do a quick fix on that to make the featured item's image and info more fluid actually.  

 

Separately, I'm noticing your nav is doing the same thing. 

August 03, 2011 12:17 pm
User photo
John Jacobus
Indeed. That's a trade off of having a header image instead of text. I could have both but then content is pushed below the fold.
August 03, 2011 12:25 pm
User photo
John Jacobus
FWIW, the new Color box is rendering on ANY link that has a # in it (like #comments). Any ideas how to fix this? Is this related to the new permalinks?
August 05, 2011 10:49 am
User photo
The Uprising Creative

Both of these have been addressed in v3.2.1 that was just pushed.  Thanks for the debugging!

August 05, 2011 02:58 pm
User photo
John Jacobus

At your service, thank you!

August 05, 2011 03:00 pm
User photo
Harley

Hey there

Not quite sure if I'm in the right spot to write this but figured I'd try.  I upgraded to the 3.3 plugin and for some reason my store hasn't seemed to work since.  I've tried messing around with it to fix it but I feel like everything I do digs me into a deeper and deeper hole.  

When I click to see my store on my site it gives me a bunch of code that I totally don't understand but I'm not sure how to fix it...  You can check out the code it gives me here...

www.hj-blog.com/hjstore/hjstore

Also when I set up a page to make the store in wordpress then try to actually set it up or "Add new store" in the plug in it devideds my store into a sub store or sub menu making it hjstore/HJSTORE not sure why it's doing that either.  Sorry if I sound like a total idiot, I'm lost.  It worked fine with 3.2

When I go to the topspin plugin set up in my dashboard to "View Most Popular" or "View Orders" I get this...


Warning: include(page/settings_viewmostpopular.php) [function.include]: failed to open stream: No such file or directory in/home/content/94/7781694/html/wp-content/plugins/official-topspin-wordpress-plugin/topspin.php on line 25

Warning: include() [function.include]: Failed opening 'page/settings_viewmostpopular.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in/home/content/94/7781694/html/wp-content/plugins/official-topspin-wordpress-plugin/topspin.php on line 25

When I click add store and try to set it up it tells me I have no items and there is nothing to preview...

Ok i'm don'e rambling, any idea how to fix it?

Thanks guys!

Harley

September 26, 2011 12:51 am
User photo
Tris

Issues here too.  I just wound back to 3.2.3 but these are the error messages I got upgrading from 3.2.3 to 3.3.

Here is what I get on my store page:

Warning: Division by zero in [...]wp-content/plugins/official-topspin-wordpress-plugin/topspin_shortcodes.php on line 72

Warning: Invalid argument supplied for foreach() in [...]wp-content/plugins/official-topspin-wordpress-plugin/classes/Topspin_Store.php on line 1105

Warning: Invalid argument supplied for foreach() in [...]/wp-content/plugins/official-topspin-wordpress-plugin/classes/Topspin_Store.php on line 1116

Warning: Division by zero in [...]wp-content/plugins/official-topspin-wordpress-plugin/topspin_shortcodes.php on line 89

In the back end, when I try to recreate my store, no items show up and when I save it I get:

Warning: Division by zero in [...]wp-content/plugins/official-topspin-wordpress-plugin/topspin_shortcodes.php on line 72

Warning: Invalid argument supplied for foreach() in [...]wp-content/plugins/official-topspin-wordpress-plugin/classes/Topspin_Store.php on line 1105

Warning: Invalid argument supplied for foreach() in [...]wp-content/plugins/official-topspin-wordpress-plugin/classes/Topspin_Store.php on line 1116

Warning: Division by zero in [...]wp-content/plugins/official-topspin-wordpress-plugin/topspin_shortcodes.php on line 89

 

...plus a couple more that I didn't copy (too busy uninstalling).

September 26, 2011 10:19 am
User photo
Tris

3.2.3 is great though :)

September 26, 2011 10:19 am
User photo
John Jacobus
Yep, same errors here. Just killed my store. Oops. :)
September 26, 2011 10:29 am
User photo
The Uprising Creative

Hey guys, we're really sorry for the errors here.  Apparently 4-5 of the core plugin files didn't get pushed correctly when we pushed v3.3, which broke the plugin.  Best to roll back to v3.2.3 for now, and/or give us about 30-45min and we'll push 3.3.1 which includes the correct files, along with a couple of other bug fixes discovered when testing v3.3.  

 

Thanks!

September 26, 2011 10:33 am
User photo
The Uprising Creative

Actually, if you've upgraded to v3.3 already and can sit tight for 30-45min, I'd wait for v3.3.1 rather than rolling back to v3.2.3.  If you can't wait because your store is down or you have to split, then a rollback to v3.2.3 might be best and then upgrade from there to v3.3.1 later today.  

Again we apologize for the bumps in the road this time.  

September 26, 2011 10:35 am
User photo
John Jacobus
I'll sit tight. Ping me when it's up, I'm at work I can't push a roll back anyways :)
September 26, 2011 10:37 am
User photo
The Uprising Creative

v3.3.1 is up in the repository.  It might take a bit to propagate to the automatic upgrade in everyone's Wordpress install, but you can head over to wordpress.org and grab it if needed: 

 

http://wordpress.org/extend/plugins/official-topspin-wordpress-plugin/

September 26, 2011 11:58 am
User photo
Jeff M

I'm on the latest version of wordpress (3.3.1) and have the latest version of the plugin (3.3.3.3) installed. When i insert the shortcodes for a store on a page, or use the "do_shortcode" i get an error on the website.

specifically: Warning: Division by zero in /home/*******/public_html/wp-content/plugins/official-topspin-wordpress-plugin/topspin_shortcodes.php on line 92 (replaced the site folder with stars).

This happens only when the shortcode is loaded on my index.php file / or a page is included in it (with improved include page). If the shortcode is loaded on its own separate page it seems to work fine (though i have no product on the store yet so i can't tell if its really functional yet).

I did also notice there were some other errors upon activating the store plugin in wordpress, but i can't reproduce the errors anymore. Is this a well known issue? is there a known fix? Thanks for your help.

March 14, 2012 03:11 pm
User photo
Jeff M

I forgot to mention that I've also tried disabling every other plugin i have installed (mostly google analytics and seo related stuff), as well as clicking the rebuild and fix buttons in the topspin plugin. nothing has helped yet.

March 14, 2012 03:13 pm
User photo
Jeff M

After re-examining the code i had, it looks like i may have messed up one of the shortcode IDs. Looks like user error afterall!

March 14, 2012 10:51 pm