Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Not displaying username in forum messages

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

In some cases, displaying the username, that is part of the security credentials of the user, is considered a security risk, but JForum does not have another field like "Descripcion, Full name,...." to be shown instead.

Wouldn't it be nice to have an extra field so you can display THAT information in the forum topics & messages, instead of displaying the username of the authors of the topics/messages?

It ocurred to me as we would like NOT to display the username of our forum users, given that it is shared with other applications and in fact it is not representative of the user's identity (it can be a encoded string that actually tells nothing about the name of the user).

What do you think?
[originally posted on jforum.net by GreenEyed]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, a "Real Name" field is necessary. I'll try to put it until 2.1.5

Anyway, displaying the real name may be also dangerous, since I may change my name to "GreenEyed" and therefore confuse other users.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm attempting to implement the extra field for the Real/Nick name in my jforum. Can someone point to me the essential java files (those inside DAO folder?) that I need to modify to set and get the string data from this extra field? I'm using Ver2.15. Thanks!
[originally posted on jforum.net by munhin]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
GenericUserDAO.java, basically. You'll also need to add your field to User.java

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Rafael! Got my new field inserted! My next question is which HTML (almost all of them I think) & java files I need to modify to display the new Real/Nick name in place of the user name displayed inside the forum?

[originally posted on jforum.net by Anonymous]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic