324 reputation
1212
bio website
location
age
visits member for 2 years, 8 months
seen Jul 4 at 10:05

Jun
17
awarded  Famous Question
Apr
23
awarded  Popular Question
Feb
26
comment Different on_sent_ok based on CF7 form data?
I also tried header('Location: '.get_bloginfo('wpurl') but i guess there's already output so php jams
Feb
26
comment Different on_sent_ok based on CF7 form data?
i am using add_action('wpcf7_mail_sent', 'test_thankyou'); Now i am trying this, but it looks like it's jamming (not redirecting although with inspector i see the thank-you page as response. But the browser stays on the form page with a spinner function test_thankyou(){ if ($cf7->id == 14) { if ($cf7->posted_data['sport'] == "rugby") { wp_redirect(get_bloginfo('wpurl') . '/rugby/thank-you/'); } elseif ($cf7->posted_data['sport'] == "soccer") { wp_redirect(get_bloginfo('wpurl') . '/soccer/thank-you/'); } } }
Feb
26
asked Different on_sent_ok based on CF7 form data?
Feb
22
revised contact form 7 modify data and action url?
added 57 characters in body
Feb
22
revised contact form 7 modify data and action url?
added 661 characters in body
Feb
22
revised contact form 7 modify data and action url?
added 478 characters in body
Feb
22
asked contact form 7 modify data and action url?
Feb
21
asked How to get past purchase details, like cart items?
Feb
20
revised Using <?php echo get_num_queries(); ?> queries in and i see 7000+queries?
added 52 characters in body
Feb
20
asked Using <?php echo get_num_queries(); ?> queries in and i see 7000+queries?
Feb
19
asked Trying to use qtranslate in WPSC checkout form?
Feb
14
comment Like to store multiple passwords in db table wp_posts field post_password?
@s_ha_dum i meant to say "i am not using a sexy or secure password processing" trying to be sarcastic/cynical too myself ;)
Feb
13
comment Like to store multiple passwords in db table wp_posts field post_password?
@s_ha_dum i just needed a post to be access only by selected passwords. I ended up with a function and a custom db table. I then create shortcode for the function which checks if the password is valid and shows the content else it doesn't. btw now sexy or save password lookup, just straight away.
Feb
13
asked Like to store multiple passwords in db table wp_posts field post_password?
Feb
13
comment Use WordPress as authentication for custom app
Maybe use an default WP install on application and not connecting to the application db but the actual WP database and with wp-load.php you may use most of the functions in your application, my $0.02
Feb
13
awarded  Critic
Feb
13
asked Which hook can i use to have multiple passwords access a page?
Jan
24
asked <WPSC> How to enable the buy button only if product X is in the shopping cart?