Mibbit Ajax IRC Chat

Started by KCToker, June 18, 2008, 11:04:54 PM

Previous topic - Next topic

KCToker

Link to Mod

------------------------------------------------------------
SMF Mibbit Ajax IRC Mod by KCToker
------------------------------------------------------------

This mod will add a feature to your site to let your users connect to IRC and chat with other users.

This mod adds an admin page to configure several settings about the mod. These can be found at:

Configuration > Features and Options > IRC Chat

Currently this mod is designed to only work with SMF 1.1.11 and SMF 2.0 RC3.

Version : V1.7/2.0

Version History:
1.1: Added forgotten section of code.
1.2: Corrected minor syntax error.
1.3: Added an isset() check for widget parameters; syntax improvements.
1.4: Added check to see if user was a guest, will now give guests the nick of MibbitUser and will append a random number between 1 and 10,000 to the end.
1.5: This is currently the ONLY SMF 1.1.5 version of this mod.
1.6: Updated code to support SMF 2.0 RC3. Updated version for SMF 1.1.11 coming soon.
1.7: Code updated to work with SMF 1.1.11. From now on, all releases with version number 1.x will be for SMF 1.x series. All releases with version number 2.x will be for SMF 2.x series. This should help to ease confusion between versions. This is the latest version for SMF 1.1.11
----------
2.0: Updated version number to reflect version change mentioned in notes for v1.7. This is the latest version for SMF 2.0 RC3

Mibbit Ajax IRC Widget ©2010 Mibbit

Ikhsan4488


KCToker

Sorry about that, screenshots up as well as a demo site linked to in the description.

jossanaijr

How does an IRC Chat work?  I mean what I need besides this MOD?

Mo786

Man I really needed something like this. This seems to look better than PJIRC and doesn't need the Java client to run in the background. But sadly I have SMF 1.1.5 and can't upgrade because TinyPortal doesn't support it. Can you make it for SMF 1.1.5 too?

KCToker

Quote from: jossanaijr on June 19, 2008, 07:03:06 AM
How does an IRC Chat work?  I mean what I need besides this MOD?

This [nofollow] is a pretty good explanation of what is going on with IRC. To make it working, you need to join an IRC server (this can be setup in the admin panel of this mod). By default it will use irc.mibbit.com [nofollow]. Some others include irc.coldfront.net [nofollow] and irc.esper.net [nofollow]. Once connected you can type "/j #ChanName" replace ChanName with whatever name you want for your channel. If nobody else owns it, you can register it for free with that servers "ChanServ" service. Type "/cs help" when connected for more info.

Quote from: 786Fighter on June 19, 2008, 11:25:02 AM
Man I really needed something like this. This seems to look better than PJIRC and doesn't need the Java client to run in the background. But sadly I have SMF 1.1.5 and can't upgrade because TinyPortal doesn't support it. Can you make it for SMF 1.1.5 too?

My comp, which has my MySQL server and Apache, is down for the rest of the week, but when I get them back up I'll see what I can do about it.

jossanaijr

Quote from: KCToker on June 19, 2008, 03:41:46 PM
Quote from: jossanaijr on June 19, 2008, 07:03:06 AM
How does an IRC Chat work?  I mean what I need besides this MOD?

This is a pretty good explanation of what is going on with IRC. To make it working, you need to join an IRC server (this can be setup in the admin panel of this mod). By default it will use irc.mibbit.com. Some others include irc.coldfront.net and irc.esper.net. Once connected you can type "/j #ChanName" replace ChanName with whatever name you want for your channel. If nobody else owns it, you can register it for free with that servers "ChanServ" service. Type "/cs help" when connected for more info.
Thank you!

edi67

nice chat but how is possible create new channel irc?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

LinuxFanatic

I was looking for them too, I use SMF 1.1.5 - are there any developments for SMF 1.1.5 support?

[nofollow]

KCToker

Well, my computer parts finally got here. I've modified it to work with SMF 1.1.5. The name of the file is Mibbit_Ajax_IRC_1.5_SMF1.

Enjoy!

WVBowhunter

I'm getting this error on the package manager install

   
Execute Modification
./Sources/ModSettings.php  Test failed

so is it still safe to install?  Just upgraded to 1.1.5
"Aye, and lightning bolts fly from my arse"

ZeroMinuS

This is a simple great mod. How would I make this so that only registered users can access the chat/link. I don't want random guests visiting my irc channel. Will there be permission options in the future?

Sakae

I would really like to see a live demo before I tried it.

In theory, I think this mod is one of the best IRC chat SMF mods ever, but I really need to see it LIVE.
http://www.tigrelog.com.br
l: simple p: machines

FUBAR

Quote from: 786Fighter on June 19, 2008, 11:25:02 AM
Man I really needed something like this. This seems to look better than PJIRC and doesn't need the Java client to run in the background. But sadly I have SMF 1.1.5 and can't upgrade because TinyPortal doesn't support it. Can you make it for SMF 1.1.5 too?

If you have Tinyportal then you can just add the iframe code into an article and link to it as you normally would.  ;)

Technically, you don't need to install the mod at all.

fireandsalt

Is there a way to get this working with phpFreeChat?  I have set up a chatroom on my site using phpFreeChat, I have installed this mod, and I need to know how to configure it.  I have typed the url of the phpFreeChat installation I made, typed "My room" into the "IRC channels" as that is the default room name.

What else might I need to do to get this to work?  I'd like to use my own hosting for the chat room rather than the free IRC servers listed above. 

Thanks for your help.

SgtMic

#15
Any plans on adding in a script to auto identify channel admins? How about option to allow or disallow viewing for guests? Option to open in a new window?

Other than the 3 options above, looks like a good mod to have for IRC.


If I wanted to change the tab from "chat" to "IRC", where would (I make those changes?
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Smoky "Rider" Blue

#16
add a button to the beta 3?

im not finding what the edits say to do, at all.


edit:
nevermind, they are in the subs, but i dont have time to pick thru the rest, and the instructions are a bit different that what the actual file is for the beta 3. will have to bypass.. thanks.
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

lepard

I have SMF 2.0 Beta 3.1 Public and I get errors trying to install both versions.

www.pulaskicountyweb.com/smf
Rick Lepard

Careful of the simple police

Urbanite

If you are looking for a chat server that can cope with more than ~50 users on a shared server then presently IRC is the only way to go. The down of that is your room is a "public area" and can be searched through any of the IRC search portals such as http://irc.netsplit.de/channels/?chat=SearchHere
Any would-be "outside" guest would have to enter the exact name of your room to find it, not as easy a task as you may think as they also have to enter the name of the IRC host where it was registered. The bottom line is if its found in this search, they can join your room.

If you want to try it and aren't familiar with IRC (Internet Relay Chat) follow these instruction

Go to http://www.mibbit.com/

Sign on with your intended NickName

Go into the "Live help channel" (top right)

Register your NickName (to change to a new NickName type /nick YourNewNick)
type /nickserv register UrPassword UrMail( leave email blank the first time)


Enter your intended new room name
type /join #RoomName

Register your RoomName
type /chanserv register #RoomName UrPassword Desc (you have to enter a description for your room)

If you have any difficulties there's always somebody there to help you



Then using the Mibitt mod enter an IRC server or choose a local server from the list here http://freenode.net/irc_servers.shtml

followed by your #RoomName1,#RoomName2,etc (no spaces)

You are now the proud owner of your SMF/IRC chat with no limit on the number of users!
Just when you finally get it idiot proof ...along comes a bigger idiot!

RoM DB

Im getting

QuoteAn Error Has Occurred!
Unable to load the 'main' template.

Link: hxxp:romdatabase.xtreemhost.com/index.php?action=chat [nonactive]

Not sure whats going on  :-[

Is there a file im missing?

Advertisement: