Great plugin! Thank you so much.
I have it installed and working correctly – it sends me an email when a submission is made. And it redirects the visitor to the correct page after they submit.
What I need to know now is how to get the names and emails to go into a database so I can send emails to the list of people who have submitted my form. I've searched high and low to figure this out and just am not seeing something.
I'm using WP 2.2 and cforms 530. My url is mobilemarketingprofits.com, but the form is not live on my site yet. I am still using it in preview mode. I'm using Firefox 22.214.171.124. THe only plugins I have activated are Askimet, cforms, Contact Form ][ and Feedburner Feed Smith.
Thanks again for such a terrific plug in.
March 6, 2005
Under Plugin Settings you should be able to activate DB Tracking which essentially collects all your users submissions into the WP DB.
From there you could write a script that extracts all the names/email addresses of the people you'd like to send an email to (manually or programmatically). Take a look at the cforms-database.php file for code snippets…
OK, so once I turn on the Activate DB tracking, then how to get this to turn these users into Subscribers in the User panel. What I want to do is integrate cforms with the Private Email plug in.
What I want to happen:
Someone fills out the form on my site using cforms.They should be redirected to the proper page and an email should be sent to me with their data. (This is working as of now.) I would also like them to receive a copy of the same email. (I'm still working to make this part happen.)
Their submission automatically makes them be a Subscriber in WP.
I can then use Private Email to send newsletters to the people who have filled out the form on my site.
Is there a way for cforms to accomplish #2? If so, how? If not, then I should hire a script to be written, correct?
Thanks for any help you can offer.
March 6, 2005
nice application of cforms ;-)
seriously, this will require some custom coding, but it sounds doable.
1) is easy only configuration
2) a bit tricky, you coud use the cforms hook to 'catch' all user data and process it in a custom function of yours. See the Help page for more info and an example. Not sure what WP function calls need to be triggered to programatically add a new subscriber, but it can't be that hard.
Essentially, start with the demo on the Help page and setup your custom function and see if you successfully "intercept" the submitted form data and then find out what additional code you need to implement to use the data and setup subscriber accounts accordingly.
3) should work then, too.
Remind me Kim not to use your contact form knowing I'm just going to get spammed by your later on.
Think about the user first.
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3762
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)