![]() |
Is the VB Chat turned OFF??
I went to www.vbulletin.org and click on the upper right link tiltled CHAT. The applet loaded, and although I was logged in with my user name showng, inside the chat box it said:
Looking up your hostname Found your hostname (cache) That nickname is erroneus. Enter another one. |
I tried, no problem (from germany)
|
Sounds like your username doesn't play well with the irc server. If you get that error type "/nick nicknamehere" (without the quotes, replace nicknamehere with the nick you want to use).
|
I use the same Chat, and on my IRC server (EFNet) from what I can tell names with spaces aren't allowed. The applet is setting your nick as "David Copeland", which is why it's bouncing you.
Brad, if you come up with a way to truncate spaces, I'd be mucho appreciative of seeing how you do it. :) |
Quote:
PHP Code:
|
Quote:
|
Aah, outstanding, thanks. :D I've no idea how to get php to actually pull the vb name variable and stuff it into $name, but I'll look into doing it. :D
(Sorry for turning this into an impromptu quick hack support discussion, lol) |
Quote:
PHP Code:
|
Quote:
|
At first yes, but once you get the hang of them they become very powerful. :)
|
Quote:
And my book only talks about the other ones (those that work with ereg_replace :() |
Shame, I notice a lot of them leave out PCRE.
http://www.tote-taste.de/X-Project/regex/ Hopefully you'll find that link of use. ;) |
Quote:
It looks nice-written :) |
Well by answer was the best for the original question, only to remove the spaces. If you have the choice, a str_replace is much faster. Dean however extended to original question nicely with the removal of some more special characters (although with some limitations that could also be done with str_trplace..
|
Quote:
|
BEcause with a str_replace you can only search for a list of chracters. With regular expressions, you can also deny any character that is not in a list.
|
Quote:
Dean C, I noticed you are the only one in this thread with a space between first and last name, such as my user name. So do I have to log out as David Copeland to use this forum's chat?? Or can the webmaster here modify the code to allow anyone with a space to use the live chat? David |
No, once you go into the chat and get the error just type:
Quote:
|
Mine also isn't allowed because of the space - I use ChrisM with no space :)
Chris |
PHP Code:
|
Quote:
We aren't on 3.5 yet ;);) Chris |
All times are GMT. The time now is 01:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|