News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Integrated Chat Mod

Started by Goosemoose, December 05, 2004, 08:57:18 PM

Previous topic - Next topic

Goosemoose

Link to Mod

Version 2.9 is for SMF 1.1.4 ONLY
Version 2.7 is for SMF 1.1.1 ONLY
Version 2.6 is for SMF 1.1 RC2 and RC3 ONLY
Version 2.3 is for SMF 1.0.5,1.0.6,1.0.7
The mod adds a fast java chat window into SMF forum and passes your users username into it. Make sure the room name you choose has not been chosen by anyone else (I use RFC for my room name). This is a fully IRC compliant server, and you could even use mirc or another irc program to log into it.

This is still the only chat mod that can list the number of users AND who they are on your forum page.

Check it in use at http://www.goosemoose.com/ and click on any of the forums. You can login with test:test

This is the same mod that has been used since YabbSE.

Make sure to follow the readme file after uploading and installing using the package manager.

New in 2.7
Fixed so it works with SMF 1.1.1

NEW in 2.6
Number of users and a list of users is now stored on in your mysql database. The forum will poll the irc server every 3 minutes by default for updated info. The polling time (in seconds) can be changed in moderator settings with the rest of this info.

The reason of this is to GREATLY increase the load time of the boad as the irc server response time is 1-2 seconds. You no longer need to rely on the server as the info is local. Also, your forum won't hang while waiting for a response if the irc server gets reset.

NEW in 2.5
Addded the ability to toggle on/off chat stats at top of index page.
Move chat into a separate area of Features and Option in Admin panel.
NEW in 2.4
Added the ability to toggle on/off chat stats at bottom of index.

NEW in 2.3
Fixed rooms tab option so you can choose whether or not to show other rooms.
Added an option to turn the ads on or off. The ads are set to on by default. They are there to help support the heavy usage the chat server has, but you can easily turn it off if you want.
Fixed a few other small things.

NEW in 2.2:
If you are using the mod in english you can change the chatLanguage from embedded.prm to change the color scheme of the applet to:
    black.prm
    brown.prm
    white.prm

Otherwise chatLanguage represents the following languages:
spanish.prm
dutch.prm
german.prm
turkey.prm
nepal.prm
french.prm
greek.prm
finnish.prm
Thai.prm
italian.prm
port.prm
malaysian.prm
polish.prm

In the future:
  I still need to clean up the code a bit to make it easier to translate and make it xhtml compliant


NOTE: If you are trying to install this mod on a non-default theme, please use this utility: http://www.simplemachines.org/community/index.php?topic=140034 to see what changes you need to make to your theme.

Goosemoose

Okay, downloaded 16 times so far and no posts. Can I take this to mean that everyone was able to install the mod smoothly?

JayBachatero

ok now that the rc2 version came out al i have to do it wait for my site to go back up and ill test it out and let you know how it went. ;D
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

ANARCH¥

i downloaded the mod, but i will test it on my next install only, so i havent tested your job. i have yet installed it manualy before you create the mod

Pause

What would I edit to be able to use a different server? Also the code: There are currently <script src="http://www.everywherechat.com/users.asp?room=ROOMNAME"></script> people talking in the chat room.
<script src="http://www.everywherechat.com/members.asp?room=ROOMNAME"></script>
does not actually work on it's own by putting it in the template, so I assume that you must have to put echo ' or something somewhere?
"You and me, inside that box, now." - The Doctor

Bite Fusion
Fusion Web Network
VG Fusion
Wrestling Fusion

Powerbob

Quote from: Mattitude on December 07, 2004, 08:22:43 AM
the code: There are currently <script src="http://www.everywherechat.com/users.asp?room=ROOMNAME"></script> people talking in the chat room.
<script src="http://www.everywherechat.com/members.asp?room=ROOMNAME"></script>
does not actually work on it's own by putting it in the template

Same problem here, apart from that chat installed fine and works great though thanks :D

Powerbob



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

Goosemoose

It depends on where you put it in the template: I put it above:

// If we're on a certain board, limit it to this board ;).


so my index.template.php has this in it now:



<BR>There are currently <script src="http://www.everywherechat.com/users.asp?room=rfc"></script> people talking in the chat room.<BR>
<script src="http://www.everywherechat.com/members.asp?room=rfc"></script>';

// If we're on a certain board, limit it to this board ;).


So I didn't need an additional echo' because I intersted in inside of an exiting echo. Notice though that the closing '; is at the end, that was there from before too.

Make sure you change roomname to be your room name.

Mattitude: You can't use this with any other server, you are loading a javascript that is stored on the irc servers' server. Brodle has been kind enough to host all of our chat rooms for the past few years.

Midgard

this is not integrated. that using a java applet. i need a real-time integrated chat mod.

Goosemoose

What do you mean it's not integrated? It pulls your username from the smf database and logs you into a chat room you create. All the settings are in the admin panel. And the chat sits into your site's scheme.

If you mean you want a php chat, well then good luck. Every php chat I have ever tried sucks up major bandwith. This way you use up none of your bandwith as the java applet is located on another server.

JayBachatero

Goose i finally ggot it up.  Nice job .  thanks man
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert


Lum-chan

No problem to install and get it up and running. I even changed my current default theme to make it look like it was a default option in smfCurve @ http://forum.lum-chan.com

Great addition!
Lum-chan


Goosemoose

Very nice! I forgot to mention that you could of course change the theme you install it too by changing the package integratedchat21.xml files $themedir to $boarddir/themes/themenamehere , and of course you can upload your own chat pic, just give it the same name.

Jerry

Goosemoose I installed this perfectly (one of the first dloaders :P) I only had a problem with it adding extra <br />'s to the template. I thought this was a good idea =) is there a way you use another irc server then the default? I would put it on my current site to replace my current chat room if that was possible :)


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

JayBachatero

goose i got a question.  how can i make the chat membergroup specific.  like if i only wat moderators to access it sumhin like dat.  thanks
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

oschikhof

I have problems using the package manager and till now I always manually install things..
At least I get things working but now I have a problem with installing the setting from add_settings...

What SQL statement do I have to run in PHPmyAdmin to complete the installation?
All instructions in the xml file are already done...

Thanx if you can help me out!

oscar2001

I installed it and it works ok but it doesant mater whos in chat it stilll shows
QuoteThere are currently 0 people talking in the chat room.
on the forum index?

Is there something Im missing or am I supposed to add( or edit) something else than the
Quote<br>There are currently <script src="http://www.everywherechat.com/users.asp?room=ROOMNAME"></script> people talking in the chat room.
<script src="http://www.everywherechat.com/members.asp?room=wc"></script>';

Goosemoose

Quote from: Jerry on December 07, 2004, 10:31:56 PM
Goosemoose I installed this perfectly (one of the first dloaders :P) I only had a problem with it adding extra <br />'s to the template. I thought this was a good idea =) is there a way you use another irc server then the default? I would put it on my current site to replace my current chat room if that was possible :)

Hmm, where was it adding an extra <br /> ? Unfortunately this will only work with brodle's everywherechat.com irc server. Although you can still connect to his server with a mirc client as well, check out http://www.everywherechat.com because of the security. I had the same issue with a java help program I made for the old bbs TradeWars game, there isn't a way to get it to connect to a server the script isn't hosted on.

Goosemoose

#18
Quote from: oscar2001 on December 08, 2004, 08:49:36 AM
I installed it and it works ok but it doesant mater whos in chat it stilll shows
QuoteThere are currently 0 people talking in the chat room.
on the forum index?

Is there something Im missing or am I supposed to add( or edit) something else than the
Quote<br>There are currently <script src="http://www.everywherechat.com/users.asp?room=ROOMNAME"></script> people talking in the chat room.
<script src="http://www.everywherechat.com/members.asp?room=wc"></script>';

You have to register your room before it will count the number of people in it. Double click on the room once you are logged in and register it. Then add the names of your mods (wait until they have logged in first though). You should also double click on your name to give it a password so no one else can log in as you.

Also, the code you posted above, you left one of the ROOMNAME still in the code, make sure to change it to your room name, which looks like it's wc.

Goosemoose

Quote from: oschikhof on December 08, 2004, 05:30:11 AM
I have problems using the package manager and till now I always manually install things..
At least I get things working but now I have a problem with installing the setting from add_settings...

What SQL statement do I have to run in PHPmyAdmin to complete the installation?
All instructions in the xml file are already done...

Thanx if you can help me out!

Hopefully someone else can help you with this, or I can help you when I get home. I don't have access to phpmyadmin from work (have problems with the stupid firewall). Basically you need to create a table and then add the fields in the file.

Advertisement: