Undefined index: ratings_score …/wp-postratings.php on line 994

when ever you expect something to be an array, it’s good practice to check to see if it is first before proceeding. so the new code might read like this: if(is_null($post_ratings_data)) { $post_ratings_data = get_post_custom($post_id); if ( is_array( $post_ratings_data[‘ratings_users’] ) ) { $post_ratings_users = intval($post_ratings_data[‘ratings_users’][0]); $post_ratings_score = intval($post_ratings_data[‘ratings_score’][0]); $post_ratings_average = floatval($post_ratings_data[‘ratings_average’][0]); } }

Engadget Like most commented plugins

You could use a plugin like http://wordpress.org/extend/plugins/wordpress-popular-posts/ to get a widget based on popular posts (I’ve never personally used that one) or write your own. Everything else is just HTML markup and CSS.

Google Maps with categories

Mapsmarker looks pretty robust. On their feature list page they state that you can organize your markers in layers, so maybe that work for categories. I have not used it. I have used Mappress which allows you to add custom markers and you can create different maps on different pages if you want to categorize … Read more

BuddyPress admin bar links are broken [closed]

Buddypress requires pretty permalinks to function properly. If you have set them up already try to go to the permalinks admin page and resave them and see if that helps. If your host won’t let wordpress write to an .htaccess file, that page will also show you what should be in it. http://codex.buddypress.org/troubleshooting/navigation-links-return-404-errors/ http://codex.buddypress.org/getting-started/before-installing/

How can I create a page as a draft from my plugin?

You can use the function wp_insert_post for this http://codex.wordpress.org/Function_Reference/wp_insert_post $my_post = array( ‘post_title’ => $title, ‘post_content’ => $content, ‘post_status’ => ‘draft’, ‘post_type’ => ‘page’, ‘post_author’ => $author ); wp_insert_post( $my_post ); then you can use wp_mail(); to notify someone. http://codex.wordpress.org/Function_Reference/wp_mail