![]() |
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. |
Excellent! I use Multicity Chat and can't wait to try this out!
|
I just added this. Very cool! :cool:
http://www.optiboard.com/forums/chat.php Questions: 1. What happens when a non-registered user tries to enter? 2. Is there a way to detect if there are users in the Chat Room? This would be an excellent addition! |
Excellent!:)
|
Quote:
As for question two, I am not sure how you could achieve this, or if it would even be possible. Sorry :( |
Thanks. I like the idea of the Chat being open to registered members only.
I did have one user say she couldn't log in though. Another one got in fine. I'm continuing to test it out. As for the second question, maybe someone else will know how to add this feature to the hack! |
I'm using multicity chat only for registerd members along six months, with another chat_hack that is in this forum, and many registered users behind firewall can't enter in.
|
Follow up:
The user that couldn't use the chat has a two letter user name. When she logged into the chat room with a a five character name it worked. My forum's options have been revised to accept 2 letter user names. Any idea why this hack won't allow them? I'm also getting scattered reports of others that aren't able to get in. So far I don't have any specific information about their problems yet. I'm trying to get browser and version information from them. |
someone knows ?
how to put the chatwindow direcly under the forumcats (but not in footer) in forumhome ? |
Dude,
This is awesome!!!!!!!!!!! I love it!!!!! |
All times are GMT. The time now is 01:37 AM. |
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:
|