jQuery in Action, 2nd edition
The moose likes JForum and the fly likes Adding new fields to User Registration Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JForum
Reply Bookmark "Adding new fields to User Registration" Watch "Adding new fields to User Registration" New topic
Author

Adding new fields to User Registration

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
First of all, Congratulations for your "open" work.

I'm testing the application and I'd like to change the fields the user has to enter during the registration process. I mean, I'd like to include new fields and remove others.

Is it possible to do it without changing Java classes? If so, how can I do it? If It not possible, anybody could tell me what files should I change to be able to do it?

Thank you very much in advance!!
[originally posted on jforum.net by javier.lucas]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I'm going to answer myself. The files that I had to change were:
- net.jforum.dao.generic.GenericUserDAO.java
- net.jforum.entitites.User.java
- WEB-INF/config/database/generis/generis_queries.sql => UserModel.update
- MySQL => Add a new field in jforum_users table
- templates/default/user_form.htm => Add a new input for the new field
- net.jforum.view.fourm.common.UserCommon.java

I hope It can help anybody. Bye

[originally posted on jforum.net by javier.lucas]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding new fields to User Registration
 
Similar Threads
HOWTO: new users to be activated by Admin?
Resetting Values
SSO new user registration
dynamically disabled field lost its content after submitting form
Javascript in JEditorPane - Best practises?