Topic: User registration with similar name (request)

Not sure if there's a mod for this or not.  So some one tried registering with a similar username as mine and they were not able to.  So they had to sign up and add an extra letter and then I had to manually change it for them so it would be similar to mine.  Is there a way or can some one make a mod where they can register with a similar name?  For example my user name is Dagobert and they wanted to sign up as Dagobert-- which it wouldn't let them so they sued Dagoberto-- which I then had to manually change it to Dagobert--.

2

Re: User registration with similar name (request)

I am finded some line on functions.php, hope that it works.

Note 1 I am not sure, does it work
Note 2 It can allow registration with same username what are already exists (this get lots, lots of errors), so test first!
Note 3 I have 1.3 RC 2 or RC 3 code of functions.php so linenumber can be changed, so use the second method.

-------- Allow similar username registrations --------
Created by:    Olli (ollinpostit@gmail.com)
Affected files: functions.php
---------------------------------------------------
1. OPEN
include/functions.php

2.
- METHOD 1. -
FIND LINE
845

OR

- METHOD 2. -
FIND
$dupe = check_username_dupe($username, $exclude_id);

3. REPLACE IT WITH
$dupe = false;

4. SAVE FILE

5. UPLOAD

6. TEST

7. READY

Re: User registration with similar name (request)

Thanks, I'll be testing later on today.

Re: User registration with similar name (request)

Ok I got time to check it, but since I'm using 1.2.20 I can't find

$dupe = check_username_dupe($username, $exclude_id);

in functions.php.

Re: User registration with similar name (request)

Looks like Olli talks about PunBB 1.3.

Olli wrote:
3. REPLACE IT WITH
$dupe = false;

Not sure this is enough.
You should also check all the SQL-queries using username in WHERE clause.
And this should be an extension.

Dagobert, try to look fot 1.2 mod at http://punres.org.

Carpe diem