How do you restrict user names when a user is joining? Seems like some names conflict with site.
Thank
How do you restrict user names when a user is joining? Seems like some names conflict with site. Thank |
Naturally there should be a list of unacceptable names such as Admin, Administrator, Root, etc. And then mod-rewritten names should be vorboten as well such as forums, blogs, ads, etc. I havn't look very hard for it but I do know it's not under Advanced Settings > Profiles where it should be :)
|
Can't seem to find it. I must be overlooking it... Thanks |
good luck finding it (Nick restriction does not exist in Dolphin) |
Great. So when a user signs up as blogs, it conflicts with the site. |
good luck finding it (Nick restriction does not exist in Dolphin) Don't know of it existing yet in D7, but it actually does exist in D6. If you added a word filter to D6 then it also enabled a nickname filter to prevent certain words from being used as nicknames. Might have to start looking at one for d7 just to take care of this issue. |
It does interfere with the site regardless if a profile is created or not as I pointed out earlier today. Any url without a trailing / is treated as a profile request. But domain.com/blogs/ should always goto blogs etc.
But, Names that could be used to solicit information from another member definitely needs to be blocked during the Join process... namely, Admin, Administrator, Root, etc. |
A easy fix;
Open .htaccess in your root directory.
Copy & Paste the line that call the home of each forum section.
EXAMPLE: Currently blogs is called thusly; RewriteRule ^blogs/{0,1}$ modules/boonex/blogs/blogs.php [QSA,L]
Copy that line, paste it above or below the original it and change it like so RewriteRule ^blogs{0,1}$ modules/boonex/blogs/blogs.php [QSA,L]
Notice I removed the trailing slash after the first blogs.
Now, do that for each portion of the site. Forums, Ads etc.
I'll run through and see if this breaks anything, we might need to drop the {0,1) as that means include other parameters, but you get the point. |
there's a free mod. from www.modzzz.com (Restricted NickNames) it's for d6 but you can make it work with d7 tested on d7 RC3 |
prolaznik can you pm that link to the modz mod for that this is likely another issue that will go ignored by boonex. |
prolaznik, can you pm me the mod as well. thank |
sure i can but keep in mind it's for d6 don't expect it to work right out of the box without making few changes i did post two imgs. so you guys can see that it's working fine on d7 :) |
Glad to see a ticket for this. I suggested this in a ticket about 4 months ago, and it was ignored. This is very basic functionality. I really hate to think that such a rudimentary feature would require a mod. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Thanks. What's the ticket number? |
Nothing to see here |
Thanks Chris.. Checked under my tree this morning, still no present.. http://www.boonex.com/unity/blog/entry/BoonEx_is_getting_ready_to_celebrate_Christmas_ LOL |
regex and/or pregmatch are used there...you have to do some research on how to use the functionality thats there... this goes into your fileds builder/join/nickname/advanced 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,"fuck") and !strstr($arg0,"cunt") and !strstr($arg0,"webmaster") and !strstr($arg0,"guest")); I have video tutorials to help you mrpowless.com |