Forums / Developer / unique user nickname registration

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

unique user nickname registration

Author Message

Robert Röttger

Monday 11 July 2011 4:37:34 am

hello all,

i have a quick question.

i would like to allow user to register only if the nickname they enter is not existing yet in database. i want a user to have a unique nickname. my "nickname" is a required text field attribute and it is also the name pattern of the user class.

currently i check it with a javascript but this is quite unsecure for me. what would be the better alternative? any solution? template based or combined with template operators would be cool. i dont want to start with redirects or module overwriting or so.. any chance?

thank you.

just found that thread: http://share.ez.no/forums/suggestions/unique-attributes

would be great if Exponential would support that out of the box!

Robert Röttger

Monday 11 July 2011 5:06:31 am

no need to answer on this one. if found my solution in a datatype.

http://projects.ez.no/ez_unique_datatypes

i can recommend this one. great thing!