The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
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 |
#72
|
||||
|
||||
Currently, if a user clicks the disconnect button, it will vring them back to a login where they can put any name in they want. I sent a support ticket into the multicity and am waiting to hear if it can be disabled somehow.
|
#73
|
||||
|
||||
OK, I didn't really worry too much about that because they had to be registered to get in at all. I would also like to be able to disable the invite and view other chat buttons. Let me know what you find out.
|
#74
|
||||
|
||||
He posted some code earlier in this thread for the other chats problem. You can change it so it just goes to your homepage
|
#75
|
||||
|
||||
Quote:
|
#76
|
||||
|
||||
I just checked mine and I don't have a view other chat button. I do have the invite one though
|
#77
|
||||
|
||||
No active chats button? I wish I could say the same.
|
#78
|
||||
|
||||
Quote:
|
#79
|
||||
|
||||
Same issue here, and as an added bonus, I have one user who gets a no permission page yet I don't even use access masks and he's a registered user! :frus:
|
#80
|
||||
|
||||
Mine stopped working too. What happens is that the page keeps contstantly reloading for some reason. I even downloaded the latest code from chat code Multicity.com but that didn't help.
|
#81
|
|||
|
|||
I really think this is a great hack. But it's just too easy to log on with a name other than the real VB login.
Did anybody find out how to remove that darn disconnect button yet? Another thing is that people from somewhere else are dropping in. It says that the chat can be made private in the helpfile pages somewhere, but I wasn't able to find out how. There's no such option available. Any input would be greatly appreciated !! Dex |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|