WP Post Revisions&WP-Ecommerce

wpsc, an abbreviation of wp-shoppingcart, a plugin for WordPress.
Post Revisions Buggy-ness & WP-Shoppingcart plugin
Most people get nervous when it comes to mySQL database tables.So I was glad to find a way to fix this bug without having to use phpmyadmin.

After I upgraded to WP 2.6 and upgraded the wpsc cart plugin to version 3.6.8 I noticed that revision-71 was being inserted into my single product urls. 71 being the id of the edited page.
This bug also happened with WP 2.6 and wp-shoppingcart 3.6.7.It only happened to pages containing wpsc short code:
[shoppingcart ] [productspage ] [tranactionresults ] [userlog ]

I did some forum searching and found this plugin by Jeremy Clark.
Re creating the bug was easy enough to do. All I had to do was deactivate the disable posts revisions plugin and edit a wpsc page. Voila: revision-pageid reappeared in the single product urls all over again.

** Note**
I’m actually using this plugin: Disable Revisions and Autosave
Link: http://exper.3drecursions.com/2008/07/25/disable-revisions-and-autosave-plugin/
Description: Disable the Revisions and Autosave functions. Original idea and code by Lester Chan and Untwisted Vortex. But Jeremy’s does the same thing. Use either one.

I re activated the plugin and deleted the product listing page. I created a new page, pasting the productspage shortcode into it. Then I checked the Admin in Settings and noticed that not only the product listing page link was messed up-the Verify Your Order link was also messed up, because I had edited that page as well after I deactivated the disable post revisions plugin.

Fixing stuff
Get this plugin
Test for whether or not you can just activate this plugin to get rid of the bug without having to delete the page containing some shortcode.If this fixes the bug you don’t need to delete pages.
If the problem still exists delete the page,copy the short code into the new one and publish it.
Check Admin in Settings in Ecommerce to see if your page urls are correct.
If they contain revision-pageid, correct the url and hit Update Page Urls.
Reload the Admin page in Settings>Ecommerce to make sure the corrected link(s) “stick”.
To make absolutely sure this is fixed go back and edit a page containing wpsc short code (just hit save).Then view the page and see if the single product links work.

One of the Pains in My Ass

Just one.That’s all you can handle,right?

Plugin authors have had a pain in their collective asses,too because they have to remember to do this: wp_enqueue_script(‘jquery’); when using jquery in their plugins if it’s going to be used in the site admin section (the dashboard) because a lot of jquery is used there. But not all of the plugins I was using at the time of this writing did this. Following one plugin author’s instructions I tried to edit a plugin file but got a syntax error. So I said fooey and just edited it to use the jquery version in /wp-includes/js/jquery.

Now I can use Custom Fonts and upload images. Awesome.

I am an SEO Master!

SEO Master – 87%

Are you an SEO Expert?

I took this quiz and even though I only got a B+ and I have a lot to learn I think I am well on the way to being effective when it comes to helping my clients make more money with their websites.

I wrote recently on how I redesigned the web site for Lee Lee’s Valise which was already a much searched for and well trafficked though young website.This was my first and only experience redesigning a website that had sitelinks otherwise known as “breakout” site results in Google.I was worried that the action of recreating the existing pages in a WordPress as a CMS environment would wreck the sitelinks. Actually though, because of the ability to redirect old pages using .htaccess and those old page’s popularity, I needn’t have worried.

It took a few weeks and the help of 2 very important plugins for WordPress:the All in one SEO Pack and the Google XML Sitemap Generator to transfer the powerful juice of the old .htm URLs to the dynamically generated WordPress page URLs.Now the redirected URLs no longer get sitelinks generated by Google but the new WP URLs and more importantly the one for the new online store,do. And instead of just 3 sitelinks, Google now gives us 5!

Bad Hair Bad Chinese Food

While Bozzio and I were strolling to Williamsburg tonight I decided that if I found a salon that was still open I would go in and demand a haircut.There was not much risk involved being that it was after 7pm but I still think that if I had found one I woulda:

The Beehive Salon
115 N 7th St
Brooklyn, NY 11211
Phone: (718) 782-8376
Reputation:I hear good things
Clients:It’s in W’Burg and wburg is for the hip children

I have over-long hair.It’s a disaster.It frizzes up in humidity and makes me feel messy and uncool.I’d like to have the kind of hair that makes me look dressed up even when I am not.Ha ha.I have always had messy hair.I can put all different kinds of goop in it but it will still do whatever it wants.
Now that I often go out wearing glasses I feel even more self conscious about my hair,strangely enough.I think that having messy hair and wearing glasses does a lot of not good things to my appearance.
Recently on Saturday night I was walking home in my disheveled glory: no make up,glasses,messy hair and a rather butch outfit of a tee and cut off men’s cargo pants.I did not look nice.I did not have to look nice.I was just going up to the corner store and then going back to my house.I might have even been cleaning or something.I passed the bad Chinese restaurant where there were a few guys waiting for their chicken wings.
Recognizing an easy target when they saw one they began to call after me “Miss, miss I have to do a photo shoot and we are short a model!’ “One thousand dollars an hour!”
I didn’t think this was very nice at all.Not everyone has the time to put on nice clothes and brush their hair and put in contact lenses just to go to the corner store!The joke was on them because they were eating dogfood Chinese in one of the worst Chinese restaurants ever known to mankind.
Here is how to spot a restaurant of poor quality.
Look out for bullet proof plastic separations between you and the register.This means you are in a bad neighborhood and do not deserve to eat good food.Another sign of low quality is the faded pictures of good Chinese food dishes on the wall.You wish you could eat at the restaurant those dishes were prepared in but you live in a neighborhood once famous for crack and gunshots.The fact that you moved to this neighborhood means that it’s cleaned up it’s act but the people who own the restaurant remember the bad old days.

New Dragon Restaurant
47 N Oxford St
Brooklyn, NY 11205-1006
Reputation:The Worst Food You could Possibly Ever Eat(but you eat it anyway)
Patronage:The Very Very Lazy,People with dead taste buds,people who think chicken wings are a food staple.

In my Fort Greene,Clinton Hill neighborhood we only have bad Chinese food.
We have Sapolo,Yummy Yummy(Yucky Yucky, I call it) and a lot of others.Sapolo may be more edible than the others around here but not by much.They are not even really a Chinese restaurant because they serve Arroz con Pollo and Papas Fritas. We do have one Chinese restaurant better than the others; Kum Kau Chinese but they do not deliver… ever heard of a Chinese restaurant that doesn’t deliver? Now you have.
When I first moved here from 36 st and 9th avenue I was thoroughly used to the dogfood Chinese restaurant problem.But if the places closest to me were gross I was still near enough to a good neighborhood that I could order good Chinese food if I wanted it. I do not have that luxury here in fort Greene/Clinton Hill.Even when I was still living on 9th and 36th back in 2005 the neighborhood restaurants began to step up to the fact that it wasn’t all about drunks and crack and guns anymore.And sure enough some real cooks who knew how to prepare Chinese food without a single chicken wing on the menu came along and opened a decent establishment right between 38th and 37th on 9th. Sigh. Gentrification. Can’t live with it can’t have good Chinese food without it.