News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Mibbit Ajax IRC Chat

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

Previous topic - Next topic

HR

So, greast mod.. got it working fine in 1.1.7 once I corrected the modsettings in the installer for my particular version..

Did (in the case of 1.1.7) have one error that was typographical..

Chat.template.php line 37 needed changed to:

if ($context['user']['is_guest']) {

I can explain this as simply as possible.. If I do it & implement I guarantee it.
If I do it and you implement it its a crap shoot.

C.Jack

Quote from: HR on December 21, 2008, 04:38:17 PM
So, greast mod.. got it working fine in 1.1.7 once I corrected the modsettings in the installer for my particular version..

Did (in the case of 1.1.7) have one error that was typographical..

Chat.template.php line 37 needed changed to:

if ($context['user']['is_guest']) {


Thanks. That fixed the error for 2.0B4 as well.
C.Jack

Urbanite

Quote from: mrhope on September 15, 2008, 07:15:06 AM
I'm not using this mod, but got the original idea to create something custom after reading about it and thought would comment on things I've done with my custom setup that you may want to implement with this mod.


Mrhope, thanks for your input, it has been a while since I've been on here.... Real life takes over sometimes, you know how it is...

Much of what you have done is along the lines of what I had been asking. Now all we have to do is figure out how you did it! Any more info on what instruction to give the Bot and how to do it, presumably this is Mibbits own Bot? Also what is the SMF script and where in what file is it placed?

Your chat stats page looks good too, is this SMF or a HTML page?


Just when you finally get it idiot proof ...along comes a bigger idiot!

mrhope

Yeah definately know how real life can take control. I know we've talked on my forums but I thought I'd also mention this on this thread so others know the answer.

Well the bot I did for the forum is actually a custom bot I wrote in Perl. But here is what it is doing to help maybe explain it better.

- On each new user login or logout and/or 10-15 new text lines do the below
- Generate new .js (javascript) file containing the information about who's logged in, what was last said, etc. I do a .js file because I can then just refer to that file from SMF and any other page.

I'm just doing:
<script language="JavaScript" src="http://www.computerhope.com/chat.js"></script>
and the chat.js file just has javascript document writes in it with quotes if any escaped out.

- Once generated FTP the .js file (as well as the chat stats) to the server.

As far as the stats they're generated with pisg (http://pisg.sourceforge.net/). I've modified the pisg.cfg to point to the users forum profile URL and picture. Unfortunately this requires that I manually update the pisg.cfg each time the user changes their profile picture, but was the best solution I could come to.

As we mentioned on my forums I'll see what I can do to make hopebot (the bot I wrote) available to everyone that wants it once I get the time to clean up the code.


Urbanite

Many thanks MrHope I for one wait with anticipation on the hopebot!  :)
Just when you finally get it idiot proof ...along comes a bigger idiot!

Emperium

Any word on when SMF 2.0 RC1 version of this mod will be available?

Filipina

mrhope this is a great thing you are working on... since i had to go this route (moving the chat off my server because of the load) i lost all my chatters because they never knew if anyone was in the room and they will never go look... if there is a way to show the users it might bring my chat back :)

Please keep us updated!

ChackanPT

Hey there, i just installed this mod and i can't access it.

This might be because i already had the Ajax Chat installed (only want to uninstall it after seeing this one up and runing eh) and no IRC Chat button appeared), so I don't know if it's even working lol

Any link to access the IRC? Like http://www.mysite.com/irc.php?

Urbanite

Hello wise ones...

Been running with this for a while now, just a bit of fine tuning required, is there a means of changing the width to a percentage as opposed to fixed pixel width? It would allow a much slicker auto sizing of the chat area.

$txt['ircWidth'] = 'Width of IRC window (in pixels)';
$txt['ircHeight'] = 'Height of IRC window (in pixels)';

Don't mind inserting the necessary info manually if it has to be that way, obviously would much prefer if it could be entered into the "setup" though.



Just when you finally get it idiot proof ...along comes a bigger idiot!

alexandervba

#49
Closing Link: [207.192.75.252] (CGI:IRC -- No access)

What does that mean?

Im trying to let it connect to: irc.swiftirc.net
Also tried: irc.swiftirc.net:6667

getting that error?

If I connect to quakenet, it DOES work. Just not swiftirc?

dregan

I finally got this mod to half work but it only lets 3 users in through mibbit at a time? is there a setting for max users? smf 2.0 beta 3.1 public mibbit 1.4 (my chat button doesnt show but a direct url link works) I routed it to my own IRC Network if that would make a difference.

patrick227

any news for SMF 2.0 RC1?
thanks!

Dynamit

Hello.. I want to tell for every body that i using this mod for 1.1.5 on my 1.1.9.

if some body get a problem whit that it not find the some file in ./source/ or other location then you can send me the error and the information i need below and i should fix a install that have fix the problem for you.

   
1. make sure you are using v. 1.1.9

2. What modifications are installed?

3. What files are the installation says that it is wrong?

4. which theme is it you plan to use it on?

Realinfo

Please guide me to change its width, I want to make it more........... tell from which file I can do it mannually...........

Alex_Whittle

Quote from: KCToker on June 18, 2008, 11:04:54 PM
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 2.0 Beta 3.1.

Version : V1.4

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

Mibbit Ajax IRC Widget ©2008 Mibbit

Where abouts do I install this?

cieplutki

hi all
how to registred on irc
instaled on smf 2.0 rc1.2 on this packed




.

Achilles.

Quote from: cieplutki on August 13, 2009, 06:45:20 PM
hi all
how to registred on irc
instaled on smf 2.0 rc1.2 on this packed

well, i know this mod hasn't really been updated since then. However, would like to try if anyone is up for making this mod for SMF 2.0 RC3? Thank you!

- All donations will proceed to my Youth Foundation.

http://poseidondesigners.tk/ -- Affordable Website Designs // Banners & More!

Achilles.

Quote from: Achilles. on April 29, 2010, 02:42:33 AM
Quote from: cieplutki on August 13, 2009, 06:45:20 PM
hi all
how to registred on irc
instaled on smf 2.0 rc1.2 on this packed

well, i know this mod hasn't really been updated since then. However, would like to try if anyone is up for making this mod for SMF 2.0 RC3? Thank you!

or atleast any other MOD that works like this one? ;)

- All donations will proceed to my Youth Foundation.

http://poseidondesigners.tk/ -- Affordable Website Designs // Banners & More!

C.Jack

#58
I'm running it on SMF 2.0 RC3.

I had to do some manual edits to install it, but it does work with no changes to the codes provided (excluding the fix mentioned at the top of this page).

QuoteSo, greast mod.. got it working fine in 1.1.7 once I corrected the   modsettings in the installer for my particular version..

Did (in   the case of 1.1.7) have one error that was typographical..

Chat.template.php   line 37 needed changed to:
Code: [Select]if   ($context['user']['is_guest']) {
C.Jack

KCToker

Sorry for the incredibly long wait for an update guys. RL got in the way massively ( >:( Army). Just updated the mod to V1.6. The new version works perfectly with SMF 2.0 RC3. An updated version for SMF 1.1.11 is on the way and should drop in a couple of days.

Again guys, sorry for the long wait :(

Advertisement: