The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
Credit for this should predominantly go to forum users Tim Mousel and Trog for giving me two necessary coding springboards for getting this hack (or is it mod?!?) together - thanks guys!!!!!
I am sure someone has already done this with MultiCity Chat anyway, so apologies for the duplicity - but I thought newbies might appreciate having this feature all the same. Basically, the hack enables you to have a free MultiCity Chatroom integrated with your vBulletin forum. It automatically logs in registered forum users with their member-name, and an error message and login prompt is presented for those unregistered/not logged-in. And when you disconnect from the chat room, it refreshes to the main page of your forum. Step 1. Set yourself up with a free MultiCity chat account at http://www.multicity.com - don't worry about configuring variables such as color and chatroom description on their site, its all editable later. Step 2. Add a new template and call it 'chat_hack'. Step 3. Insert the following code into your 'chat_hack' template, remembering to insert the script code you obtained from MultiCity, rather than what's displayed here. There are a lot of variable parameters for the customisation of the MultiCity chat. Most of these are cosmetic things, but a couple of them are vital for getting the auto-login functions to work properly. So check through my pasted script code here and look for the entries marked with asterixes - these are the configurable options that I tweaked OR added to the default code that MultiCity give you. Note: "AutoLogin" and "AutoLoginName" parameters are essential. Hope that makes sense!!!! PHP Code:
Create a new file and name it 'chat.php', or whatever you need. Place the following code inside. PHP Code:
Upload 'chat.php' to your main forums directory. Step 6. Test the file, and assuming everything is working okay, link into your forums page. I truly hope it works for everyone. It is certainly working for me! Just point your browser to my forums page (http://www.leatherforums.com) and look for the button 'live chat' in the header menu at the top of any page. And if you do register with my forums simply to test this mod, please please PLEASE do the decent thing and contact me to request your account is removed afterwards, okay? Thanks. Show Your Support
|
Comments |
#32
|
||||
|
||||
![]()
this script is great!!!!!
|
#33
|
|||
|
|||
![]()
Works great
Thanks to all of you. Now i only need a hack that puts a " * " infront of the users in the "online users" If they are in the Jpilot chat. That would be so cool. /Don |
#34
|
|||
|
|||
![]() Quote:
![]() |
#35
|
||||
|
||||
![]()
Well, there are alot of servers. IRC already has alot of the servers built into it. I know alot of people use dalnet of efnet.
|
#36
|
|||
|
|||
![]()
This is a great hack well done!
![]() Only one thing....my members can log in with a fake username if they catch the logout window quick enough. I'm using a free version of the multicity chat because I dont need any real admin functions etc. The auto-login feature is working fine when they come from the forum, it's just this problem of members logging out then quickly signing in again using another member's name that is becoming a problem. Is being able to enter a fake member name normal or have I done something wrong? Thanks ![]() |
#37
|
|||
|
|||
![]()
This would be really cool, if its possible to mark an online chatuser, so that other can see i.e. the forumhome which users are chatting...
|
#38
|
|||
|
|||
![]()
does this hack work on 2.0?
|
#39
|
||||
|
||||
![]()
I'm sure it does.. I have it working on 2.0.3...
Why are you only running 2.0.0 anyways?? |
#40
|
||||
|
||||
![]()
It's working on my 2.0.3 also, plus it's integrated with the new Who's Online feature!
|
#41
|
||||
|
||||
![]() Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|