Forum Moderators: coopster

Message Too Old, No Replies

Adding more questions to Wordpress blog mu's registration form?

Adding more questions to Wordpress blog mu's registration form?

         

patmagpantay

11:57 am on Dec 11, 2007 (gmt 0)

10+ Year Member



I am creating a blog for multiple people/users using wordpress blog mu, It works great! But I would like to tweak it a little, how do I add additional questions on the registration form? And how do I access the information gathered from the database? I would like to add the to the registration form things like the users age , state , birth date, hobbies, etc. After they have filled up the form I want to have access to this information as well.

coopster

9:12 pm on Dec 16, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I'm not a WP user, but here is the approach I suppose I would take ...

how do I add additional questions on the registration form?

Locate the registration form and add the HTML <input> variables you would like to begin tracking. Then, using the form "action" attribute to follow the logic of a user submission, locate the place where the database is updated. I would likely create a parallel file as opposed to modifying the original to store my additional form values (makes WP upgrade processes a little cleaner/easier to maintain).

And how do I access the information gathered from the database?

Locate the process that is displaying the information in HTML where you would like it displayed and add your query to the process to get the new additional information. Otherwise, develop your own process that retrieves and displays the information.