Jump to content

Archived

This topic is now archived and is closed to further replies.

GoodGuy201

PHPBB Limit User Name Characters

Recommended Posts

Hi,
  I am trying to limit the characters that can be used for PHPBB to just letters,numbers,underscore,and dash.  I don't know how i can do this.  I hope someone can help. Thanks!

Share this post


Link to post
Share on other sites
ask on phpbb forums, plenty of hacks and other modders there.

Share this post


Link to post
Share on other sites
A little example for you to see how it works.

but i agree you should use the forum from the provided code as jenk said.


letters,numbers,underscore,and dash are all clased as a charecter.

[code]
<?php

$name="redarrows";

$lenth=strlen($name);

if($lenth > 8){

echo "sorry the name is to long your using $lenth charecters but there should only be 8";

}else {

echo "name lenth ok your useing $lenth charecters";

}
?>
[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.