Configurable Username Length

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
4
57%
Very Good
2
29%
Good
0
No votes
Fair
0
No votes
Poor
1
14%
 
Total votes: 7

DiscoverKate
Registered User
Posts: 56
Joined: Thu May 16, 2002 3:02 pm
Contact:

Post by DiscoverKate » Wed May 31, 2006 7:18 pm

I downloaded this from the first link in the thread, but I'm not able to find :

Code: Select all

'USERNAME' => isset($username) ? $username : '',
within includes/usercp_register.php

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 » Wed May 31, 2006 11:38 pm

Has you upgraded to the latest phpBBversion?

If not, you should do so, else, you can also do a FIND on

Code: Select all

'USERNAME' =>
~Mac

doswald
Registered User
Posts: 19
Joined: Wed Feb 23, 2005 1:18 am

Post by doswald » Thu Jun 01, 2006 8:01 am

can somebody tell us what is the suggested length of Username?

Thanks

User avatar
ZombieSlayer
Registered User
Posts: 951
Joined: Sun May 02, 2004 3:18 am
Location: California
Contact:

Post by ZombieSlayer » Thu Jun 01, 2006 9:45 am

I'd say at least 3 preferrably 4. phpBBs search won't search for words less than 2 letters afaik.

DiscoverKate
Registered User
Posts: 56
Joined: Thu May 16, 2002 3:02 pm
Contact:

Post by DiscoverKate » Thu Jun 01, 2006 3:43 pm

I am running the current version of phpbb, I did find a line that I thought was the right one and got it to work.

I'd love to set a minimum character length.

I set my limit to 10, but I think I'd prefer 8.

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 » Sat Jun 03, 2006 8:18 am

Dear all,

I've implemented the min. char length feature and before v1.1.0 is validated, you may grab the file from Sourceforge

Code: Select all

## MOD Description: This mod allow admins to set both the minimum and maximum username length in ACP

Code: Select all

##   2006-06-03 - Version 1.1.0
##      - Make substantial changes to the original code and implemented minimum username length checks
~Mac

cavallino
Registered User
Posts: 317
Joined: Thu Aug 04, 2005 7:06 am

Post by cavallino » Sat Jun 03, 2006 11:12 am

Thanks a lot ycl6!!
works very well and thats exactly what I wanted :)

bdhaan
Registered User
Posts: 2
Joined: Sun Jul 16, 2006 1:52 am

small bug?

Post by bdhaan » Sun Jul 16, 2006 2:03 am

Dear all,

After implementing this great mod one of my users discovered a little problem with it.

When trying to send a private message to a user with a username longer than the original 25 characters he found out that it is not possible to do so when you type in the username by hand. In that case it is prevented to enter more than 25 characters in the input field. When you select a user with a long username using the "search user" option everything works fine.

Does anybody know how to solve this problem?

Thanks.

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 » Sun Jul 16, 2006 3:43 am

I'll take a look into this.

~Mac

MarkTheDaemon
Former Team Member
Posts: 2770
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

Post by MarkTheDaemon » Fri Aug 04, 2006 10:29 pm

MOD Updated to version 1.1.1
See first post for Download Link

bdhaan
Registered User
Posts: 2
Joined: Sun Jul 16, 2006 1:52 am

working fine now

Post by bdhaan » Wed Sep 06, 2006 7:16 pm

I have installed the new version of the mod now and it is working great. Thanks a lot.

murnauvsbuñuel
Registered User
Posts: 177
Joined: Mon Jun 20, 2005 9:49 am

Post by murnauvsbuñuel » Fri Sep 29, 2006 8:12 am

sorry what is better? this Configurable Username Length MOD or Restrict Username Size??

thanks :wink:
sorry for my bad english i am spanish.
ImagemxBB Portal the best portal to phpBB2

Seria
Registered User
Posts: 137
Joined: Thu Dec 14, 2006 8:14 am
Location: out havin’ fun

Post by Seria » Wed Dec 20, 2006 5:11 am

thank you for this mod! I installed it on 2.0.21 and it works perfectly ^_^
¿What do you call it when a blond dies her hair brunette?
Artificial intelligence ^_~ ...yes, im blond :P

I will offer as much help I can on mods that I have installed, just PM me. (i don't use easymod, so I can't help with that.)
Mods installed so far:48 {all manually and on 2.0.22}

skaloumbakas
Registered User
Posts: 179
Joined: Wed Sep 25, 2002 11:26 am
Location: Athens Hellas

By SQL, do you mean?

Post by skaloumbakas » Fri Dec 22, 2006 8:39 am

Hi,

Very nice idea!

Just a question (for the time being...)

By [ SQL ], do you mean I have to enter the 3 orders like shown below?

Image

I thought I better ask before I hit the button ... :wink:

And another thing: Which come first? the [ SQL ] entry or the 11 modified files upload?

Cheers
Christos Skaloumbakas

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 » Fri Dec 22, 2006 12:44 pm

Yes, that's correct.

Different people perfer different order, but I'll recommend SQL first.

~Mac

Post Reply

Return to “[2.0.x] MOD Database Releases”