aspose file tools*
The moose likes JForum and the fly likes Adding new fields to User Registration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
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