WordPress.org

Ready to get started?Download WordPress

Forums

Add Custom Fields to User Profile & Registration Pages (17 posts)

  1. antoniamar
    Member
    Posted 8 years ago #

    Please add a "Add Custom Fields" button or feature for the User Profile and Registration information and allow the administrator to determine which fields are required to register. A username and e-mail address doesn't tell me anything about who my members. We're trying to use this blog as part of a global community outreach program and it would be a lot easier for us to get funding if we could produce some demographics. I imagine this would be helpful to a number of blog owners.

  2. WPChina
    Member
    Posted 8 years ago #

    yes, I need this too! I hope there is currently a way to do this...

  3. fatalcure
    Member
    Posted 8 years ago #

    Yes.. please do this... Just give us novices a way to add more fields to the profile pages...

  4. fatalcure
    Member
    Posted 8 years ago #

    Anybody know why someone hasn't made a nice plugin for this yet?

    I have read that many threads on it now and none of them seem to do it well.. usermeta/extra seem to be the closest fit..

    Why is it so difficult to add some extra fields that will allow users to fill data in for, hell if someone just wrote up a how to: add new tables etc to database and where to put them, and the php pages and how to edit them with those new db fields I'd do it.

  5. blogs4God
    Member
    Posted 8 years ago #

    Bump - yes, if anyone knows of a thread or plug-in where someone has actually accomplished this, I'd love the redirect.

  6. SC_
    Member
    Posted 8 years ago #

    I am wanting custom user fields as well.

  7. DanBollinger
    Member
    Posted 8 years ago #

    Me, too! I need demographics for funding, correlating. I wonder if this plugin couldn't be pressed into service for this screen?

    http://rhymedcode.net/projects/custom-field-gui

  8. fergbrain
    Member
    Posted 8 years ago #

    Hey all, I'll need the plugin for a site I'm developing and it shoudn't be too hard to code. I haven't had a chance to look at the code DanBollinger linked to, but it should provide some clues for hooking into the profile page.

    Anyway, check back in a day or so and I should have something halfway decent.

  9. fergbrain
    Member
    Posted 8 years ago #

    Alright. Good news and some almost good news. The good news is that there are two hooks that I can use to hook into the profile page. The almost good news is that I just about have some code that will be my proof-of-concept. Once that works, I'll code the real thing.

    I know what I want to add to the user profile page (a User Image), but what else might people be inserting? I only ask so that I can make the plugin as useful as possible.

    Oh, and before I forget, this will work for WP 2.0+ ONLY! The hooks I'm using are only present in 2.0 and above, hopefully that's not a major hurdle for everyone.

  10. fergbrain
    Member
    Posted 8 years ago #

  11. syncbox
    Member
    Posted 8 years ago #

    fergbrain, can you show an example where more than one array is added? I'm getting errors trying to modify your php file to do it.

    also, you mention "You'll need to manually add the field to your wp_users table." Do you mean adding a field that matches the inputName used?

    finally, is there a way to use something other than text or textarea to inputType? How would you code up a select menu or checkboxes or radio buttons?

    any insight greatly appreciated!

  12. fergbrain
    Member
    Posted 7 years ago #

  13. acabel
    Member
    Posted 7 years ago #

    fergbrain, I have a newbie question for you, pleae. I put your plugin into the appropriate folder and activated it, but I don't know what to do next. How do I 'start' or 'run' the plugin? Will it come up in the dashboard or do I need to refer to it from another page?

    Thanks, Andy

  14. kbf
    Member
    Posted 7 years ago #

    ferg, i have the same problem in not understaning your explanation...

    I have spent 17 hours searching for a hack to add custom fields to the profile, and, I've found some things that looked promising but ultimately didn't work....

    Am I in the twilight zone? : )

  15. raena
    Member
    Posted 7 years ago #

  16. lozprotazoa
    Member
    Posted 7 years ago #

    Userextra and usermeta plugins in combination work very well at providing the functionality you guys seem to require

    You can see it's use on http://www.teampyranha.com in the author profiles (team members on this site).

    However, i completly agree that it should be part of the standard features of wordpress

  17. dbasulto
    Member
    Posted 7 years ago #

    Wonder how to add more fields and make this appear on the user registration form, because as of now i only see the new fields in the user profile.

    Any way to add drop downs or radio checks with limited options? as in http://rhymedcode.net/projects/custom-field-gui

Topic Closed

This topic has been closed to new replies.

About this Topic