cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Using cforms to build email list
August 8, 2007
1:36 am
Kim Dushiski
Guest

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 2.0.0.6. THe only plugins I have activated are Askimet, cforms, Contact Form ][ and Feedburner Feed Smith. 

Thanks again for such a terrific plug in. 

August 8, 2007
7:25 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

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…

August 8, 2007
7:31 pm
Kim Dushinski
Guest

Oliver:

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:

1)
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.)

2)
Their submission automatically makes them be a Subscriber in WP. 

3)
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. 

August 8, 2007
10:45 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

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.

 

November 13, 2007
8:41 am
Ken Savage
Guest

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.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
29 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5361

Posts: 18742

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)