Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-08-06 10:09:14

tollady
Member
Registered: 2006-12-06
Posts: 13

Collecting user data

How would I go about collecting site user data via a form on my textpattern site and collect this data in a database? Please forgive me if this is easy, I’m new to this database stuff. I can see how you can get contact forms happening and send data to an email address, but I’m unclear on how to send input form data to a database.

Thanks.

Offline

#2 2007-08-06 10:26:13

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Collecting user data

use the zem_contact_reborn plugin and write a plugin to hook into the submit callback event and write the data to a database.

Offline

#3 2007-08-06 10:31:58

tollady
Member
Registered: 2006-12-06
Posts: 13

Re: Collecting user data

Thanks. I’m sure that’s the way to do it but I don’t have any idea how to write a plugin. I’ll look into it, but in the meantime does anyone know if one is already in existence?

Offline

#4 2007-08-06 10:55:26

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Collecting user data

Would you be able to create the database table yourself, so the plugin would only have to store the information?

Offline

Board footer

Powered by FluxBB