Archive for October, 2009

Another solution for WordPress’ “You do not have sufficient permissions to access this page.”

October 18th, 2009

Many WordPress users have run in to the error “You do not have sufficient permissions to access this page.”

Sometimes, it is because you changed the table prefix and the solution is a database change.

For other folks, it was due to old plugin incompatibility. To fix it, you need to replace admin_head with admin_menu.

Unfortunately, neither solution worked for me. However, the latter (and some digging) pointed me in the right direction.

In my case, I had to change the parameters to—and order of—the add_submenu_page() and add_menu_page() calls.

Here’s the old code:

function thgs_add_menus() {
 add_submenu_page(__FILE__, "Heather Gold Show", "Shows", 8, "thgs/shows.php");
 add_submenu_page(__FILE__, "Heather Gold Show", "Venues", 8, "thgs/venues.php");
 add_menu_page('Show Management', 'Shows', 8, __FILE__);
}

And here’s the fix, which works with WP 2.8.4:

function thgs_add_menus() {
  add_menu_page('Show Management', 'THGS', "administrator", "thgs/shows.php");
  add_submenu_page("thgs/shows.php", "Manage Shows", "Shows", "administrator", "thgs/shows.php");
  add_submenu_page("thgs/shows.php", "Manage Venues", "Venues", "administrator", "thgs/venues.php");
} 

New AirPort base station?

October 17th, 2009

The apple.com search engine seemed to have a spot of trouble with this one.
apple search fail

Designing Obama

October 1st, 2009

Scott Thomas, the design director for Obama for America (and the guy who kicked my butt every day for two months to make sure Vote for Change was as good as it could be) has put together Designing Obama.

This a fantastic book chronicling the art both from and inspired by the Obama campaign.

Here’s how Scott describes it:

The Obama presidential campaign was innovative. For the first time in American politics, a candidate used art and design to bring together the American people—capturing their voices in a visual way.

The Design Director of the Obama campaign, Scott Thomas, has collaborated with artists and designers to create Designing Obama, a chronicle of the art from the historic campaign. Get the inside story on how design was used by the campaign, and scope out the pieces, created unofficially, by grassroots supporters.

The 360-page book is full-color and hardbound, highly crafted with an embossed sleeve. Forewords written by Steven Heller and Michael Bierut.

Like the campaign, this book is relying on small contributions to fund it. It will only get made if enough preorders are in place by November 5, 2009.

Reserver your copy today.

Jon Stewart eviscerates spineless democrats

October 1st, 2009
The Daily Show With Jon Stewart Mon – Thurs 11p / 10c
Democratic Super Majority
www.thedailyshow.com
Daily Show
Full Episodes
Political Humor Ron Paul Interview