I’m having a similar issue, in that nothing is happening. The form gives the submitted message, but nothing shows on the emma side. Has anyone found a solution to this or has this plugin just become obsolete?
I guess I should mention that I’m using 3.1.
I’ve fixed this problem with some help from Emma. The new form requires an AccountID also. Here are the changes that I made to the code:
Line 51 add
$accountid = get_option('emma_accountid');
Line 57 add
$accountid = $_POST['emma_accountid'];
Line 61 add
update_option( ’emma_accountid’, $accountid );
Line 74 add
<p><?php _e("Account ID:", 'emma-email-signup' ); ?>
<input type="text" name="emma_accountid" value="<?php echo $accountid; ?>" size="20">
</p>
line 107 change to
define('POSTURL', 'https://app.e2ma.net/app/view:Join/signupId:' . get_option('emma_signupid') .'/acctId:' . get_option('emma_accountid'));
I can’t seem to find where to make these changes. I’m in the PHP, but they didn’t seem to work for me. Any help?
These changes should be made the to file emma_email_signup.php or emma_email_signup_php5.php
What kind of error are you getting?
I made the changes to emma_email_signup.php expect I assume the change to line 107 is supposed to be line 106, replacing the similar code. But when I update the file nothing changes and testing the form still doesn’t work. I didn’t get an error though. Should an option show up to add an Account ID as well in the widget dashboard? Thanks for your help.
An option for Account ID should show up on the dashboard. Have you tired deactivating and reactivating?
De and reactivated. Deleted and uploaded. Still just a Signup ID. Oddly it remembered the Signup ID I had entered before doing all that.
Hmm. Well it worked for me. Sorry.
Can you post some of your code? I really can’t do anything more at this point.
[Code moderated as per the Forum Rules. Please use the pastebin]
Did you make these changes to emma_email_signup_php5.php also?
No I didn’t I don’t even have that file. Where is it?
Thanks for the fix jpilantrose. That worked perfectly.
Just wondering if you or anyone else knew how to add the contact into a specific group? I have the group ID, but unfortunately I only know just enough PHP to get me into trouble. Any help would be appreciated. Cheers!