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 |
#52
|
|||
|
|||
![]() Quote:
|
#53
|
|||
|
|||
![]()
Rob,
Well, I have gone to multicity and opened the chat. I clicked on the chatroom and it opens a chat window. I am the only person in it, however. The weird thing is that chat.php opens a completely blank page. I ahev gone over the steps over and over again. In chat.php, there is just that little bit of code that i wrote above. Is that it? Was there something implied that I am not understanding? arg. |
#54
|
|||
|
|||
![]()
Well, I think your problem is the type of chat room you're running. The code that I'm using, I purchased from Multicity and I see minor differences between your chat room code and mine. My code was made to run on my web site in an html document. All the coding with the hack between your version and my version is exactly the same. The differences I'm seeing lie in the java coding for your chat room.
|
#55
|
|||
|
|||
![]()
hmmm.
I haven't paid yet casue they offer a free version and I thought I'd try it. I loaded the chat stuff on an html page and it works just fine: http://www.curvemag.com/chat.html It seems like there is something wrong with my chat.php file. ![]() |
#56
|
|||
|
|||
![]()
Let me try something...hold on.
|
#57
|
|||
|
|||
![]()
I have to be honest with you, I can't find anything wrong. Go here: http://corvetteactioncenter.com/forums/chat2.php
|
#58
|
|||
|
|||
![]()
Nevermind, you won't be able to enter because you're not a member of my forums. I used my chat.php file and your chat room code and plugged it in and it worked for me. Here is my chat.php file for your reference:
PHP Code:
|
#59
|
|||
|
|||
![]()
I get a big blank page. Is that what you get?
I am able to see the chat via a plain html page, but when I try accessing it through the php file, I get nothing. Even on the above link running on your board. Hmmmph. |
#60
|
|||
|
|||
![]()
Nope, I'm in the room right now.
What are you using for a web browser? Version? |
#61
|
|||
|
|||
![]()
I get a blank page in Netscape Navigator, but it works in IE. There is definitely a problem with Multicity's code because my forum's chat room runs in Netscape and your's won't and both the the hack coding is the same , but the chat room code that we're using isn't. That's the only thing I can come up with.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|