to work out some code that will allow users to enter their own nick rather than waiting till they get on the server and use the nick command. (I'm not up on javascript coding or I'd try it myself). I noticed the default is the first 7 characters of the board's name.... but if you add a blank entry box, say for a maximum of 32 characters (I run UnrealIRCD with extended nicks) the users can type in whatever. If there's no entry then it can default back to the way you have it now.
echicken wrote to Bill Mcgarrity <=-
to work out some code that will allow users to enter their own nick rather than waiting till they get on the server and use the nick command. (I'm not up on javascript coding or I'd try it myself). I noticed the default is the first 7 characters of the board's name.... but if you add a blank entry box, say for a maximum of 32 characters (I run UnrealIRCD with extended nicks) the users can type in whatever. If there's no entry then it can default back to the way you have it now.
At a glance, it appears to set the nick to the user's chat handle (see line 30 of irc.js.) Is it possible that your BBS isn't prompting new users to set a chat handle? Maybe it defaults to the BBS name if the
chat handle is empty.
A quick workaround for you might be copying irc.js to your mods
directory, and editing the line that currently says:
var nick = user.handle;
To:
var nick = user.alias;
At a glance, it appears to set the nick to the user's chat handle (see line 30 of irc.js.) Is it possible that your BBS isn't prompting new users to set a chat handle? Maybe it defaults to the BBS name if the chat handle is empty.
Sysop: | Ree |
---|---|
Location: | Toronto, ON |
Users: | 2 |
Nodes: | 10 (0 / 10) |
Uptime: | 143:30:54 |
Calls: | 369 |
Files: | 2 |
Messages: | 38,453 |