sandeepail
Forum Replies Created
-
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Subscribe to unlock – a tricky problemHi Danny
Thanks for responding so quickly. I was hoping i could put this code somewhere in your plugin. For instance, on form submit your plugin checks for status and gives a message if already subscribed. Does it check for this status, even if auto-update list setting is on?
If yes, can a redirection be set at this point? All other users can get a opt-in email and get redirected from there.
If this is possible, and you can help me with the appropriate tweaks then I can upgrade to pro and submit a support request there.
Hi Nobble
I have the same problem that online had 3 months ago… and i read this thread and tried to make the changes to ajax.php…. however it doesnt seem to be working… I was wondering if the changes you suggested still work or has the p2 code been updated since then?
I added
if ($post_cat == 'post') { $post_cat = get_cat_name( get_option('default_category')); }Under
$post_cat = ( in_array( $_POST['post_cat'], $accepted_post_cats ) ) ? $_POST['post_cat'] : 'status'; if ( !category_exists( $post_cat ) ) wp_insert_category( array( 'cat_name' => $post_cat ) ); $post_cat = get_category_by_slug( $post_cat );But the post just goes to the ‘post’ category???
Any suggestions?
Please… 🙂