How to remove the Media Library tab in the WordPress media uploader

October 8, 2010 12:09 PM by Ann

By default, WordPress allows a user with the “upload_files” capability to view all items in the media library. Here’s how to remove the Media Library tab in the WordPress media uploader completely (e.g. for contributors without the “edit_others_posts” capability).

Copy and paste the following code into a plugin or the theme functions.php file:


function remove_medialibrary_tab($tabs) {
  unset($tabs['library']);
  return $tabs;
}
if(!current_user_can('edit_others_posts'))
  add_filter('media_upload_tabs','remove_medialibrary_tab');

Horrifying

April 20, 2010 2:12 PM by Ann

Man fetus… WTF?!!!!!!!

http://www.cracked.com/article_18470_the-7-most-horrifying-things-ever-discovered-in-human-body.html

Introducing Google Voice (formerly GrandCentral)

March 18, 2009 11:17 PM by Ann

I’ve been a heavy user of GrandCentral‘s phone/voicemail service since some time before they were acquired by Google. I found it especially handy for allowing me to have a San Francisco area code (415) phone number that forwards calls right to my original Hawaii cell phone number, which is pretty much the only phone I ever use. I’ve also used it to screen out those really annoying car warranty expiration spam calls.

Earlier today I got an email from Google saying that my GrandCentral account was finally ready to be upgraded to the new Google Voice service. Naturally, I had to upgrade and check out the new features! After only a few minutes I had already decided that the new service was much better than the old.

The new interface is very similar to Gmail’s and much easier to navigate than the GrandCentral interface. Google Voice now allows incoming calls to go straight through to you rather than being interrupted by the voice menu that used to force you to manually choose how to route the call every single time (this was my biggest complaint with the old service). They’ve also expanded their SMS features significantly. You can receive SMS messages at your Google Voice number and view/reply to them from the Google Voice web interface. Additionally, you can have SMS messages forwarded to your mobile phone and reply from there as usual. I was able to receive SMS messages sent from mobile phones just fine, but unfortunately test messages sent to my Google Voice number from AIM were never received.

Google has also added a voice to text service for voicemail messages. Although it’s a sweet feature for sure, I suspect that it will be pretty useless for actual use.

The test voicemail message I left: “Hello, how are you? What are you doing? Goodbye now.”

Google Voice’s text translation: “hey bill how are you went are you doing good site now”

But hey, what can you expect for free? It looks like the only feature they did away with was the ability to set custom ringtones, which I never used anyway. The one thing I thought they should have added is the ability to receive voicemail in your email as an attached audio file rather than just receiving a link to play it back online, along with their crappy text translation. Still, aside from charging for credits to place international phone calls (another new feature) the service is completely free, so I won’t be complaining…

Unfortunately for those of you who don’t already have GrandCentral accounts, there are no open signups yet for Google Voice. They are, however, currently taking requests for invites on their site.

WordPress 2.6 / 2.7 + bbPress 0.9 cookie integration plugin

February 26, 2009 12:01 AM by Ann

This plugin is for WordPress 2.6 or 2.7. It enables WordPress to generate cookies that work with bbPress 0.9 so that single sign-on can be accomplished between the two. Follow the usual integration instructions and enable this plugin in your WordPress installation. I also advise clearing your cookies.

The integration is all up and running on my site at BayAnime.com. I’d like to add that I was able to put the plugin together without writing a single line of code! It’s literally all the necessary functions cut and pasted directly from WordPress 2.5.1 pluggable.php, so kudos to WordPress for making it easy!

Download this plugin at WordPress.org.

When you do cookie integration please keep in mind that there are some login hooks in pluggable that might not be called in either WP or bbPress depending on which side your user logged in from. This might affect the functionality of some plugins.

For example, after rerouting all my bbPress logins to WP I realized that the ‘bb_set_current_user’ action hook on a bbPress plugin I used was no longer being called, so I had to incorporate it in on the WP side using the ‘set_current_user’ hook.

bbPress 1.0 users should use this plugin instead.

WordPress Plugin: Separate Feed Comments and Trackbacks

October 2, 2008 11:40 PM by Ann

I couldn’t find anything out there that separated comments and trackbacks from the sitewide and post comments feeds in WordPress, so I had to take a peek at the source to figure this one out. Luckily there’s an (undocumented) hook “comment_feed_where” that makes it easy! Woo!

Anyway, here’s the plugin in case anyone else might be interested…

Download this plugin at WordPress.org.

Revolution

July 31, 2008 2:10 PM by Ann

Inspired by the return of my favorite childhood anime (after Dragon Ball), I have finally emerged from my dark foggy underground cave to unleash a brand new website upon this world (wide web): BayAnime.com. Using only the primitive tool known as a “laptop” connected to the “internet” I have so far put nearly TWO WHOLE DAYS worth of work into it. Yes! Almost done!(?)

YAY!

Any local Bay Area anime fans interested in helping out? Let me know!

Oh, and I also finally got a Wii!!!

YAYAY!

Now I’m off to buy a ridiculous amount of accessories and try to track down a copy of Mario Kart. But first I must transfer my Mii to my computer

Thom Yorke + Yoda = Funny looking, yet it fits…

April 6, 2008 7:19 PM by Ann

Morphthing.com, another free web app dedicated to mindless entertainment…

Thom Yorke's Face Combined with Yoda -

Google Checkout shopping cart beta

March 24, 2008 2:06 PM by Ann

Having just got an email in my inbox announcing a Google-provided shopping cart widget just a few hours ago, I decided to check out their demo:

http://checkout.google.com/seller/gsc/beta/demo/index.html

On first glance it all looks pretty nice and appears to work simply as expected. However I quickly noticed a couple of problems that render it unusable in its current state… Anyway, here’s what’s wrong:

- Add an item
- Go to checkout
- Hit back on the browser
- Add another item

Problem: cart widget removes the first item (and any previously added items), and shows newly added item(s) only

- Go to checkout

Problem: error!

Oops!
Google Shopping Cart Demo has sent Google a shopping cart with errors in it. We’ll contact them to ask that they fix this problem. As this could be a temporary issue, you can go back in your browser to try checking out again.

Hmm… looks like QA missed something…

Firefox 3 Beta 4 for Mac

March 14, 2008 9:44 PM by Ann

… is surprisingly GREAT! I’ve been using it HEAVILY for a few days now and in addition to the updated UI that gives it a performance boost over previous versions of FF, it’s actually WAY more stable and responsive than any version of Safari or Camino ever was on my Powerbook G4 (running OS X 10.4, since I really don’t feel the need to pay for bloat in an OS upgrade).

I’ve been complaining for years about the lack of a decent browser for OS X… that is, one that doesn’t crash every hour… or make that every few seconds when browsing ugly hacks like customized myspace profiles. FF3 has crashed only a couple of times somewhat randomly in the past few days which already makes it pretty awesome in my book, especially since it’s still in beta.

Anyway no matter what you’re running you should definitely check it out:
Firefox 3 beta 4 now available for download

By the way, I’d just like to say that Safari is absolute GARBAGE! Shame on Apple!

In other completely unrelated news… how is this possible?!
Woman Pried From Boyfriend’s Toilet After Sitting on It for 2 Years

Comcast blocking access to website

February 29, 2008 3:32 PM by Ann

I have Comcast broadband service at home and have determined that it is surely blocking my access to the website of one of my clients. I thus decided to contact Comcast tech support through live chat to try to remedy this. However I only succeeded in getting someone clueless who claimed it was a problem with my computer and kept repeating “Comcast does not block websites” when clearly my lack of connection while on Comcast to a website that I have verified is actually up and running and accessible while NOT on Comcast should be proof that they in fact DO have some kind of problem on their end, either a block or more likely (since they do not block websites!) some kind of routing issue.

I even pointed to MANY confirmed cases of others experiencing the exact same problem, all on Comcast:

A Letter To Comcast- You Blocked My Site!

WoW Forums -> WoW Website and Comcast Problem

But it was all to no avail. When I realized that she would not put in any sort of inquiry or request to try to get someone smarter to look into the situation (surely someone in their company with some knowledge must exist), and in fact wouldn’t provide any support other than to tell me to empty my browser cache (but “only on Internet Explorer as we do not support any other browser”) I angrily typed:

Me > This is worthless
Me > where can I file a complaint?
Me > I would like to file a complaint for your service

To which the response was:

Dawn > Analyst has closed chat and left the room
analyst Dawn has left room

It’s almost funny, really…