Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding new fields to User Registration

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic