vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Restrict usernames to alphanumeric and underscore (https://vborg.vbsupport.ru/showthread.php?t=106877)

Reynaldovb 02-02-2006 04:43 PM

Quote:

Originally Posted by moonclamp
What happens to users who already have illegal characters? Will they still be able to login or update their info?

This mod only affects future registrations. Existing users would have to have their names changed.

If I remember correctly, I think I saw somewhere a piece of Search and Replace SQL code you could use to do a massive search and replace. Of course you would be wise to back up your database first and email the users letting them know about the change in their names.

moonclamp 02-02-2006 04:50 PM

Cool, I'm fine with the existing members, I just want to restrict people who use email addresses as usernames. Ideally I'd love to be able to stop people using all uppercase names too but I guess we can't have everything.

Also ... If I wanted to allow more than one character (EG ~ and -) would I seperate them with spaces or commas?

Anyway, thank you ... just installed :)

quanvo81 02-19-2006 07:54 PM

LOL
This is a cool hack.
You know what, I will creat alots more user names with space, @, uppercase....I think around hundreds of them, then install this hack.
The result is, the user names I created will be .... RARE . It means I can trade for something else if a member want that nick so bad . LOL, just like Yahoo ! rare nicks.
Lol, just a thought, I am not going have free time just to sit there and manual add users. But I will wait untill my board get busy and lots of users sign up, then I will installed this hack. At that time my board will be crazy with rare nicks trading.
thanks again.

ndahiya 03-02-2006 09:56 PM

installed. thanks!

Joey805 03-03-2006 06:27 PM

Works perfectly!

Thanks!

Nathan2006 03-16-2006 12:42 AM

Thank you

Install

HolisticEarth 04-12-2006 11:57 PM

Thank you for writing this plugin. It is a complete asset!

The default username restriction seems exceptionary while this system is inclusionary, meaning the default system lets you create exceptions for what you can register, while this system lets you include what can be registered.

This is much better IMO because people could keep finding characters that you haven't put on your ban list, and you would have to make an exception for each one.

It is very important for sites like mine which in the end will have MediaWiki integrated into it. MediaWiki can only allow printable characters in page names, and page names can be user names, so user names must be only printable characters. This hack solves the problem.

Again, thank you. Installed.

akanevsky 04-13-2006 12:49 AM

[HOW-TO] Allow Russian Letters

Option 1:
Type А-я in the "custom symbol box".

Option 2:
In register_addmember_process, FIND

Code:

$ru_searchpattern .= "]+/";
ADD BEFORE

Code:

$ru_searchpattern .= "А-я";

dan35 04-13-2006 05:23 AM

Thx! Installed :)

kj_ugs 06-15-2006 05:40 PM

this works on 3.5.4 and can be fully uninstalled right? sounds good to me.


All times are GMT. The time now is 02:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01007 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete