restrict some nickname

i don't want user to have certain nickname like events,articles,photos...etc..... how to restrict users from creating such nickname

Quote · 13 Jun 2008

this is good idea!

names such as ADMIN  or WEBMASTER or ROOT  shoul also be in the "blacklist"

I'll see what i can find on this.

Quote · 13 Jun 2008

User's name is unique... So, as an emergency solution, you can create some fake users with the nicknames you don't want to be used, then suspend the profiles you created.

 

Hope someone will come here with a more elegant solution ;-)

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 13 Jun 2008

by the way i came across the fix for this:

return ( preg_match( '/^[a-zA-Z0-9]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) and !strstr($arg0,"admin") and !strstr($arg0,"administrator") and !strstr($arg0,"owner") and !strstr($arg0,"webmaster") and !strstr($arg0,"info") and !strstr($arg0,"visitor")  and !strstr($arg0,"guest"));

Add the above code in Fields builder ->"NICKNAME" box -> Advanced -> Check.

basicly keep adding the line    and !strstr($arg0,"MYBADWORD")

and changing MYBADWORD to suit your need

-goodluck

Quote · 12 Aug 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.