The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VB eIRC chat intergration hack 1.0 Details »» | |||||||||||||||||||||||||
VERSION 2.0 - UPDATED FOR VB3.0.7
Now Even Easier To Install!!! - Enjoy NOTE: VERSION 2 is for VBulleting 3.0.7, VERSION 1 is for 2.2.x PLEASE MAKE SURE YOU DOWNLOAD THE CORRECT VERSION... 1 x new template 1 x file upload 1 x template edit (Optional I guess, you could put the link to your chatroom anywhere you like....) P.S. You will need to add the templete to each style your site uses and edit to suit... --------------------------------------------------------------------- This is a very very easy hack to install and must be one of the easiest and best free ways to add chat to your forums. This hack uses Eirc java applets to connect to World IRC servers. There is no need to sign and compile Eirc yourself or even host it or a irc server, simply follow these instructions and you will have FREE, full, IRC chat on your forums in under 2 minutes... For a demo, checkout the chat running here at vbullettin.org ( https://vborg.vbsupport.ru/chat.php? ) as it uses the same java applets and basicly is the same as this hack... Once you have installed the hack pop into #austech and say hello... Thanks & Enjoy... Although Version 1.0 for VB2.2.x is still working and also still available, I DO NOT offer support for it... Show Your Support
|
Comments |
#92
|
||||
|
||||
Hi,
A quick intro. I am brand newbie to vBulletin and paid for my license tonight. I have tried to install this but it won't work. The page just comes up blank and if I change the path testing various possiblies it mostly give me the not found error. Any ideas? I am running vBulletin on a win2k machine, might this be the issue? I would really appreciate any help you could give. |
#93
|
||||
|
||||
I have installed this hack but when you try to load it it seems to "pause" for ages then comes up with :
Closing Link ...blah blah.. (USER: bad username) Any ideas ? |
#94
|
|||
|
|||
To solve the error in the login, in the chat template change the line
<param name="username" value="$bbuserinfo[username]"> to <param name="username" value="javauser"> or put your site name or something there instead of "javauser".... |
#95
|
|||
|
|||
Quote:
|
#96
|
|||
|
|||
Some characters can not be used in usernames. I don't know about the requirements for this particular chat, but if a name contains invalid characters then you will not get into chat.
|
#97
|
|||
|
|||
Well that was something I overlooked, the apostraphe is invalid. Any suggestions on how to work the apostraphe? Can these be masked out or something? Thanks in advance, if all else fails I can edit members user names and make a note when registering not to use ' in the user name. Currently out of about 450, only 14 member names have the invalid charachter.
[edit] I figured out how to strip the apostraphe using the str_replace, but now I seem to get the apostraphe stripped and it only uses the first part of the user name, ie. Mike's Dad is Mikes. Here is my chat.php PHP Code:
|
#98
|
|||
|
|||
Well, look at your code:
the first "$chatusername=..." line, what does this do? It looks at $bbuserinfo[username] (Mike's Dad), replaces each space with an underscore, and then stores the edited value in $chatusername (Mike's_Dad) The second line again looks at $bbuserinfo[username] (Mike's Dad), removes each apostrophe, and the stores the edited value in $chatusername (Mikes Dad), overwriting the already existing value of Mike's_Dad Since the first value was overwritten, $chatusername now has a value of "Mikes Dad". Your chat only accepts the first part, before the space, meaning "Mikes Dad" will be logged in as "Mikes". Back to the drawing board |
#99
|
|||
|
|||
Quote:
PHP Code:
|
#100
|
|||
|
|||
Thanks for the input and Slynderdale, your code worked great. Thanks again.
|
#101
|
||||
|
||||
Hell'o there. Many thanx for that great and easy hack.
BUT I'M STILL WONDERING... Is there a way to have an "Who's chatting on line" list for that ? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|