Advertisement:

Author Topic: Use of Username in plugins instead of real registered name (ie contact name)  (Read 614 times)

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
I just added a new function for hItem which I hope will be put into the core:
http://forums.osclass.org/general-help/extra-helper-function-hitem-php/

And now I hope plugin owners will have a look at their plugins to see if they want to start using the username instead of real_name in case of registered users. Non-registered users can only give one name when posting and this will usually be some kind of nickname also for privacy reasons.

The Voting-Plugin for example uses the registered name instead of the username.
The helper function will prefer username else show registered name (or item contact name)


Regards,
Eric