Advertisement:

Author Topic: Mibbit Ajax IRC Chat  (Read 75936 times)

Offline HR

  • Jr. Member
  • **
  • Posts: 321
  • Gender: Male
  • There is only ONE 'Reality!
    • http://only-harshreality.com/forums/
Re: Mibbit Ajax IRC Chat
« Reply #40 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:
Code: [Select]
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.

Offline C.Jack

  • Semi-Newbie
  • *
  • Posts: 43
  • Gender: Male
    • Raptor Poker
Re: Mibbit Ajax IRC Chat
« Reply #41 on: December 30, 2008, 03:59:51 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:
Code: [Select]
if ($context['user']['is_guest']) {

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

Offline Urbanite

  • Jr. Member
  • **
  • Posts: 158
  • Gender: Male
  • .. lifes just like that !
Re: Mibbit Ajax IRC Chat
« Reply #42 on: February 23, 2009, 11:57:37 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!

Offline mrhope

  • Semi-Newbie
  • *
  • Posts: 87
    • Computer Hope
Re: Mibbit Ajax IRC Chat
« Reply #43 on: March 09, 2009, 06:02:21 PM »
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.


Offline Urbanite

  • Jr. Member
  • **
  • Posts: 158
  • Gender: Male
  • .. lifes just like that !
Re: Mibbit Ajax IRC Chat
« Reply #44 on: March 10, 2009, 05:43:54 AM »
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!

Offline Emperium

  • Semi-Newbie
  • *
  • Posts: 67
  • Gender: Male
  • SMF Fan!
    • Emperium: Anime/Manga/Video Game fansite and forums
Re: Mibbit Ajax IRC Chat
« Reply #45 on: March 10, 2009, 10:57:34 AM »
Any word on when SMF 2.0 RC1 version of this mod will be available?

Offline Filipina

  • Full Member
  • ***
  • Posts: 454
  • Gender: Female
Re: Mibbit Ajax IRC Chat
« Reply #46 on: March 10, 2009, 10:29:57 PM »
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!

Offline ChackanPT

  • Semi-Newbie
  • *
  • Posts: 67
Re: Mibbit Ajax IRC Chat
« Reply #47 on: March 24, 2009, 09:59:05 AM »
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?

Offline Urbanite

  • Jr. Member
  • **
  • Posts: 158
  • Gender: Male
  • .. lifes just like that !
Re: Mibbit Ajax IRC Chat
« Reply #48 on: April 03, 2009, 03:05:46 PM »
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!

Offline alexandervba

  • Full Member
  • ***
  • Posts: 420
Re: Mibbit Ajax IRC Chat
« Reply #49 on: April 08, 2009, 01:43:06 PM »
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?
« Last Edit: April 08, 2009, 01:49:25 PM by alexandervba »

Offline dregan

  • Newbie
  • *
  • Posts: 1
Re: Mibbit Ajax IRC Chat
« Reply #50 on: May 02, 2009, 11:22:40 PM »
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.

Offline patrick227

  • Newbie
  • *
  • Posts: 8
Re: Mibbit Ajax IRC Chat
« Reply #51 on: May 16, 2009, 10:34:02 AM »
any news for SMF 2.0 RC1?
thanks!

Offline Dynamit

  • Newbie
  • *
  • Posts: 1
Version 1.1.5 works on 1.1.9
« Reply #52 on: June 14, 2009, 08:36:56 AM »
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?

Offline Realinfo

  • Full Member
  • ***
  • Posts: 627
    • Real Info
Re: Mibbit Ajax IRC Chat
« Reply #53 on: June 17, 2009, 12:37:05 AM »
Please guide me to change its width, I want to make it more........... tell from which file I can do it mannually...........

Offline Alex_Whittle

  • Newbie
  • *
  • Posts: 1
Re: Mibbit Ajax IRC Chat
« Reply #54 on: June 20, 2009, 06:01:33 AM »
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?

Offline cieplutki

  • Jr. Member
  • **
  • Posts: 107
  • Gender: Male
    • http://www.facebook.com/pages/ewmapapl/27284179607 on Facebook
    • @https://twitter.com/ on Twitter
    • .:: ewmapa ::.
Re: Mibbit Ajax IRC Chat
« Reply #55 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

Offline Achilles.

  • Jr. Member
  • **
  • Posts: 115
Re: Mibbit Ajax IRC Chat
« Reply #56 on: April 29, 2010, 02:42:33 AM »
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!

Offline Achilles.

  • Jr. Member
  • **
  • Posts: 115
Re: Mibbit Ajax IRC Chat
« Reply #57 on: April 30, 2010, 01:24:44 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!

Offline C.Jack

  • Semi-Newbie
  • *
  • Posts: 43
  • Gender: Male
    • Raptor Poker
Re: Mibbit Ajax IRC Chat
« Reply #58 on: May 08, 2010, 09:51:09 PM »
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).

Quote
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:
Code: [Select]if   ($context['user']['is_guest']) {
« Last Edit: May 08, 2010, 11:59:05 PM by CaptJack »
C.Jack

Offline KCToker

  • Semi-Newbie
  • *
  • Posts: 19
Re: Mibbit Ajax IRC Chat
« Reply #59 on: August 30, 2010, 08:29:52 AM »
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 :(