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 |
#22
|
|||
|
|||
![]()
the hack worked great, and I thank you very much for the time and effort put into this idea, however we switched, and found info chat to be much more to our liking. We have it in our site, but we would like to have the auto member log in set up like it was previously for multicity, incorperated for info chat.
Any help on this would be appreciated. and yes, we did a seach, and nothing showed up except the same question, about the same topic. ![]() |
#23
|
||||
|
||||
![]()
I'm new to php, but is there anyway to make it so moderators and admin see a different template than other users. I'm wanting to use this hack for another chat service, but I need to allow my mods to be able to moderate the chats.
Thanks in advance |
#24
|
|||
|
|||
![]()
Hi,
Just tried this out and I must say it worked really well. Excuse me for being dumb - but is the multicitychat remotely hosted?? Its just that unfortunately my host (hostrocket) do not allow java applets on there servers. Cheers in advance PS - would it be possible to incorporate different chat rooms for different forum sections?? |
#25
|
|||
|
|||
![]()
Yes it is remotely hosted.
|
#26
|
|||
|
|||
![]() Quote:
|
#27
|
||||
|
||||
![]()
Ok, I would like to know if there is a way that I can increase the size of the chat window. I have several thousand members on my forum, and this little window won't cut it once I get the normal amout of users in there. Thats around 100 for most of the day.
www.bidforpower.com/forum/chat.php Edit: Nm, I found out what the Detatch button does. ![]() |
#28
|
||||
|
||||
![]() Quote:
also: <PARAM NAME="LocatorEnabled" VALUE="FALSE"> ... will turn the "Active Chats" button into a "Home Page" button (so people won't be wandering over to another channel). Quote:
Hope that helps! |
#29
|
||||
|
||||
![]()
well I like the detatch button, it lets you use a window to resize it. I wanna get rid of the disconnect.
|
#30
|
||||
|
||||
![]()
Well I decided that I didn't like the multicity applet when I saw how little control I had. So I am using irc now. You only have to register a channel, and then replace the applet in the chat_hack template with this. The stars specify that you need to change something on that line. Usually just putting in the server and channel name.
PHP Code:
|
#31
|
|||
|
|||
![]()
Is there a way to temporarily allow non-forum members access to the chat room? In other words, say I want to open the chat room to members and nonmembers alike one night a week. Is there an easy way to do this?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|