News:

SMF 2.1.2 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

Urbanite

#20
I've been into all the chat mods in recent days, this one stands out above the rest as it's IRC based thus there is no limit on the number of members you can have in the chat (The best of the rest FlashChat or phpFreeChat = 20~50 users). Mibbit also uniquely allows you to join multiple rooms at the time of entry (Integrated Chat = 1 Room). You will have to know or learn a bit of IRC protocol to get it up and running, but we like the challenge right?

If I might suggest a few enhancements to this mod that would make it more than likely "The Best Chat Mod"


Additional Features:

(OPT)= OPTional:

Open in a new scalable window (OPT without forum header)

Lists chatters the at the bottom of forum :same as I-Chat (OPT shows what room chatters are in & (OPT) double clicking that room will take you there) (OPT users in chat shown at the top of forum, welcome area, :same as I-Chat)

OPT Chat menu button to show number of users in chat looks something like [CHAT 3 USERS] etc :same as FlashChat).

Allow the iexplorer tab to show [people said stuff] Mibbit Default http://www.downloadsquad.com/2008/04/14/mibbit-web-based-irc-client-makes-irc-look-easy/ http://www.downloadsquad.com/2008/04/14/mibbit-web-based-irc-client-makes-irc-look-easy/ http://ajaxian.com/archives/mibbit-ajax-based-irc-client

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

jesolato

I receive this error in the Tracking area from my profile.     

"8: Undefined variable: user_info?pretty;action=chat"

I only have one other mod installed and that is the Pretty URLs mod.

Do you have any suggestions as to how to fix this? Please do reply back soon!

blondeamon

We would love an update for 1.1.5 mate...this is a great mod and we need it.
Always looking for the best

www.kamenos.gr  Greek Gaming Community

linette97

QuoteWell, 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.

Guys, you keep asking him to update to 1.15 but he already has and quite a few posts ago.. lol  ;)
Going to try it myself! Hope I don't go through the extra BS hahaha!
Thanks for this great mod!!
Watch Documentaries Online!


Yesterday is history,
Tomorrow is a mystery,
Today is a gift,
That's why it's called the Present.

linette97

Well, I went through the BS lol! I tried to install and got this
QuoteError in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Execute Modification     ./Sources/ModSettings.php     Test failed


Then I tried using SMF Package Parser and got this error


Debugging Information
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:184
Errors encountered while parsing XML file:

   1. SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 36: parser error : Specification mandate value for attribute for
   2. SimpleXMLElement::__construct() [simplexmlelement.--construct]: <install for "SMF 1.1.5">
   3. SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^
   4. SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 36: parser error : attributes construct error
   5. SimpleXMLElement::__construct() [simplexmlelement.--construct]: <install for "SMF 1.1.5">
   6. SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^
   7. SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 36: parser error : Couldn't find end of Start Tag install line 36
   8. SimpleXMLElement::__construct() [simplexmlelement.--construct]: <install for "SMF 1.1.5">
   9. SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^
  10. SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 41: parser error : Opening and ending tag mismatch: package-info line 24 and install
  11. SimpleXMLElement::__construct() [simplexmlelement.--construct]: </install>
  12. SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^
  13. SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 44: parser error : Extra content at the end of the document
  14. SimpleXMLElement::__construct() [simplexmlelement.--construct]: <uninstall>
  15. SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^

Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(184): SimpleXMLElement->__construct('<?xml version="...')
#1 /home/sleepy1/public_html/PackageParser/index.php(125): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'all')
#2 /home/sleepy1/public_html/PackageParser/index.php(823): parseArchive('/tmp/phpg0Kpff', 'install', 'all')
#3 {main}

XML File:

Warning: file_get_contents(/home/sleepy1/backend/temp/packageparser/package-info.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/sleepy1/public_html/PackageParser/index.php on line 209



So dunno what the deal is... Please help out thanks!
Watch Documentaries Online!


Yesterday is history,
Tomorrow is a mystery,
Today is a gift,
That's why it's called the Present.

trigatch4

After installing this my sites keep crashing. Apparently Apache keeps restarting and this didn't happen until about an hour after installing this. It also won't let me uninstall because my packages directory isn't "writeable" but I CHMOD 777 it and made it recursive.

Help please? Anybody?

mrhope

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.

In the chat.template.php I'd suggest adding something similiar to the below code. Basically what I did here is allow the forum username to follow the user into the chat if they're logged in, otherwise automatically come in with guest_xx where xx is random number.

function template_main()
{

global $context;

echo ' <div style="margin:0 auto;text-align:center">';

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

echo '
<table width="100%" border="0" cellspacing="0" cellpadding="4" align="center" class="tborder">
<tr class="titlebg">
<td>Chat</td>
</tr>
<tr>
<td class="windowbg">
<iframe width=100% height=500 scrolling=no style="border:0" src="http://embed.mibbit.com/?channel=%23computerhope&nick=', $context['user']['username'], '&noServerMotd=true"></iframe>
</td>
</tr>
</table>';

}
else {

echo '
<table width="100%" border="0" cellspacing="0" cellpadding="4" align="center" class="tborder">
<tr class="titlebg">
<td>Chat</td>
</tr>
<tr>
<td class="windowbg">
<iframe width=100% height=500 scrolling=no style="border:0" src="http://embed.mibbit.com/?channel=%23computerhope&nick=guest_%3F%3F&noServerMotd=true"></iframe>
</td>
</tr>
</table>';
}


Finally, I don't believe there would be a way to interface with mibbit and SMF to show users at the bottom. But I was able to create a work around to this by having a bot in the IRC channel send stats to a javascript file and that javascript file be displayed at the bottom of the forum. Below is an example of what I now have being displayed at the bottom of my forums.

QuoteUsers in chat (5):
JohnK, ComputerHope, guest_67, Carbon, mountainpete
Total logins: 652. Total lines typed: 7,360. Last action: September 15, 2008, 5:3:32 (MST).
Join the chat now (IRC: irc.mibbit.com #computerhope)

Visit this link to visit the forums main page, live stats similiar to above example at bottom of page.

If you want to just see an example of chat without going through main forum page click this link.


synicfan

Quote from: trigatch4 on September 05, 2008, 08:32:42 PM
After installing this my sites keep crashing. Apparently Apache keeps restarting and this didn't happen until about an hour after installing this. It also won't let me uninstall because my packages directory isn't "writeable" but I CHMOD 777 it and made it recursive.

Help please? Anybody?

Quote from: WVBowhunter on July 02, 2008, 06:35:25 PM
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

I HAVE THE SAME PROBLEM AS THE SECOND QUOTE...
smf 1.1.5
TP v0.9.8
ALSO...MY SERVER SETTINGS IN THE ADMIN > IRC CHAT SECTION ARE NOT SAVING...


...AND NO ONE IS RESPONDING....
NOT VERY ACCOUNTABLE.

PLEASE HELP!!!!

PhoenixLament

does this not work on 1.1.6?

psynx

does this work on a different theme? because im using shiny blue theme.

synicfan

I dont think there's going to be any support for this mod.

see my (and others) previous posts. they go un-noticed.

does anyone know of another chat mod that works with 1.1.5?

Urbanite

Quote from: psynx on October 07, 2008, 11:24:18 AM
does this work on a different theme? because im using shiny blue theme.


The "themes" are infinitely configurable ( if you have the time ). Set them up in "My Preferences" then use the "id=7e17601c14e6abc029e399e4e08679a4" etc that it generates to set the color scheme and many other settings for your chat that all your fellow chatters will use.
Just when you finally get it idiot proof ...along comes a bigger idiot!

BillyBob31

#32
I am running 1.1.6 theme Default.

I went to install and i got this error:


Execute Modification  ./Sources/ModSettings.php  Test failed


So I completed the install everything went fine so I went to that file to see why there was the error I see what the problem is.
It is supposed to:

Find:
$txt['cache_memcached'] = 'Memcache settings';
Add Before:

$txt['mods_cat_chat'] = 'IRC Chat';
$txt['ircServer'] = 'IRC server to connect to';
$txt['ircChannels'] = 'IRC Channel(s) to connect to';
$txt['ircPost'] = 'Suffix to append to the end of each name';
$txt['ircWidth'] = 'Width of IRC window (in pixels)';
$txt['ircHeight'] = 'Height of IRC window (in pixels)';


Problem is this line:
$txt['cache_memcached'] = 'Memcache settings';
Is not in my ModSettings. I even searched for parts of the line to see if another mod edited it. Its not in there so where abouts should I add it. Whats the next line after the one we are supposed to find I will search for that one and add it just before.

Below I attached my ModSettings.php where in it should I add it?

BillyBob31

Anyone? cause now when I try to set the settings and hit save it refreshes and nothing is in there it just like erases it all. I dont know if the above problem has something to do with that. SO can someone help me fix it.

BillyBob31

#34
Ok I fixed that problem now I have the problem of where I put the IRC channel name my irc channel name is "Caleb'sArmyLife" but I thinkin the input area wher eyou put your channel name when I put that people are joining the channel "Caleb" so it isnt reading the " ' " when it see the " ' " in the channel name "Caleb'sArmyLife" it only reads what is before it. How do I correct this?

and after installing this mod I now get these errors.

8: Undefined variable: user_info
File: /www/free-site-host.com/c/a/l/calebsarmylife/htdocs/Themes/default/Chat.template.php (main sub template - eval?)
Line: 37


I get this error. I got it after installing this mod. I am running version 1.1.6 and theme default

Line 37 in chat.template.php is:
if ($user_info['is_guest']) {

Here are a few lines before and after including the line 37:
if (isset($modSettings['ircPost'])) {

$suffix = $modSettings['ircPost'];

} else {

$suffix = 'Guest';

}



if ($user_info['is_guest']) {

$userchatname = 'MibbitUser' . rand(1,10000);

} else {

$userchatname = $context['user']['name'] . $suffix;

}



$channels = str_replace("#","%23",$channels);

$userchatname = str_replace(" ","_",$userchatname);

$userchatname = str_replace(".","_",$userchatname);



echo' <div style="margin:0 auto;text-align:center">';



echo"

<iframe width=$width height=$height scrolling='no' frameborder='0'

src='http://embed.mibbit.com/?server=" . $server . "&channel=" . $channels . "&nick=" . $userchatname . "&noServerTab=false'>

</iframe></div>";



}

alfzer0

For anyone using this and running the default SMF theme, here is the ID for a Mibbit theme I made to match the default SMF theme.  You can enter it in the preferences section of your Mibbit account.

e038358aae6b1ed2e06d32c693875961

BillyBob31

Yea still getting errors that are weird after this install that I cant figure out.

BillyBob31

Fixed  -  [chat] in index.template needed to be ['chat'] that was what was causing the errors

LinuxFanatic

Hi to all,

when I install this mod on my Forum (SMF 1.1.6) than I get an error message (see screenshot in attachment). The error has something with ModSettings.php to do, but I don't understand exactly what is wrong:

Quote6.     Modifikation ausführen     ./Sources/ModSettings.php     Fehler

Hope, that someone can help out.


Best regards,
LinuxFanatic

[nofollow]

BillyBob31

after i install it and try clicking chat and the part where you choose your screename and below the click to join chat button i get this error:

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


Any ideas?

Advertisement: