Wordpress Storing User Data

I am looking to create a page that asks users for arbitrary text data and then stores that data in a table. This table is then viewed by administrators (ie, not immediately posted online), perhaps through some kind of clean view allowing us to delete entries. Is there a way to do that in Wordpress?

I know MySQL and PHP fairly well, but wanted to know if there was a cleaner WordPress way.
pzkhanAsked:
Who is Participating?
 
Jason C. LevineConnect With a Mentor No oneCommented:
No, I misunderstood what you wanted.  

Based on your reply, you actually want a form plugin that allows you to easily capture all of this information and display it on the backend to admin users.  

I highly recommend Gravity Forms (http://www.gravityforms.com/) or Formidable Pro (http://formidablepro.com/).  Neither one is free but the amount of features they give you for the payment is absolutely worth it.  A free plugin that does a pretty good job is Contact Form 7: http://contactform7.com/

If you are using the latest version of the Jetpack plugin, it also comes with a contact form system that probably could handle your requirements but it's the least capable of the bunch.
0
 
Jason C. LevineNo oneCommented:
The easiest way is to use a plugin that allows you to define extra fields that get stored in usermeta.  Cimy User Extra Fields is a good example of this:

http://wordpress.org/extend/plugins/cimy-user-extra-fields/

If you want to do it via functions and skip the plugin:

http://justintadlock.com/archives/2009/09/10/adding-and-using-custom-user-profile-fields

Data management can be done through the Users tab and profile pages...
0
 
pzkhanAuthor Commented:
Jason1178, ta seems to be for user profiles. I wasn't looking to do profiles.

The end goal is to allow random unregistered people to be able to submit a story online (ie long text field) through a forum and that story be logged in a DB.

In addition to the story, we'll probably also want to log a few custom fields (ie, Email address, name, title of the story, IP address of submitter, etc)

Does the solution you suggested do that or did I misunderstand? Please explain.
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
pzkhanAuthor Commented:
With Contact Form 7, I installed the "Contact 7 to Database" plugin, but the plugin still seems to be sending emails AND logging it to a database.

I'm hesitant to testing out GravityForms without being certain of its results.
0
 
Jason C. LevineNo oneCommented:
In what sense?
0
 
pzkhanAuthor Commented:
Contact 7 seems to insist on sending emails. That isn't what I wanted.

I wanted it to log to a DB. I googled and found that there's a Contact 7 to DB plugin. However, Contact 7 is still trying to send me an email with the message - currently I am testing this out on a VM, and my Home ISP doesn't allow me to send outbound emails on port 25, so I receive this error when I click the "Send" button in a Contact 7 form:

"Failed to send your message. Please try later or contact the administrator by another method."
0
 
Jason C. LevineNo oneCommented:
Okay.  I'm not as familiar with Contact Form 7 as I am with Gravity Forms and Formidable.  Both of those can be configured to send or not send email on a form to form basis.
0
 
pzkhanAuthor Commented:
Exactly what I wanted.
0
All Courses

From novice to tech pro — start learning today.