AjaxChat Integration (latest version 3.2.1)

Started by .HuNTeR., August 27, 2008, 12:59:06 AM

Previous topic - Next topic

mrtrc266

Quote from: JakeArgent on May 08, 2010, 12:34:45 PM
Quote from: Brack1 on May 08, 2010, 11:01:17 AM
Quote from: pointalk on May 08, 2010, 03:40:33 AM
Let ShoutBox position before Info Center.
What should i do?
Again this has also been covered before.

I searched by using the search function, but only message relevant to word "shoutbox" was your message. For the word "shout" there was again only one message and it's about changing the font size.

It's in the FAQ's "Relocate your ShoutBox for 3.X"

JakeArgent

Quote from: mrtrc266 on May 08, 2010, 01:18:49 PM
Quote from: JakeArgent on May 08, 2010, 12:34:45 PM
Quote from: Brack1 on May 08, 2010, 11:01:17 AM
Quote from: pointalk on May 08, 2010, 03:40:33 AM
Let ShoutBox position before Info Center.
What should i do?
Again this has also been covered before.

I searched by using the search function, but only message relevant to word "shoutbox" was your message. For the word "shout" there was again only one message and it's about changing the font size.

It's in the FAQ's "Relocate your ShoutBox for 3.X"

Thank you!

mrtrc266

#6122
@ harry what theme are you using?

Also, i just noticed your post here http://www.simplemachines.org/community/index.php?topic=380417.msg2619107#msg2619107

Did you install the Chat from here  https://blueimp.net/ajax/ or this AjaxChat Integration?

harry66

I'm using "urban" from Dzinerstudio (http://demo.dzinerstudio.com/ [nofollow] -> SMF 2.0 Themes "Urban [Premium])

Quote from: mrtrc266 on May 08, 2010, 01:51:07 PM
Did you install the Chat from here  https://blueimp.net/ajax/ [nofollow] or this AjaxChat Integration?

I tried both. But the Error Message i posted above was from AjaxChat Integration Mod.
The Chat from the Homepage blueimp.net [nofollow] was working, but i don't got it to integrate as a shoutbox on the Main Page.

adbrad

think you should change the description for this mod
it says This mod WILL install AjaxChat on your smf.
when it obviously doesn't

CanadianIce

I tried this out on my forum, and I just wanted to say "Thanks!"

Works great, and my members love it.

mrtrc266

#6126
Quote from: adbrad on May 08, 2010, 02:17:24 PM
think you should change the description for this mod
it says This mod WILL install AjaxChat on your smf.
when it obviously doesn't

Obviously it WILL as it's been installed on 1,000's of Forums. EVERY mod is made to install on a fresh install of SMF for ONLY the default Theme. If you have other Mods installed and/or a custom theme then it could possibly require so manual edits, just like it says in the FAQ's (HUGE PURPLE LETTERS that say ~~~FAQ~~~) on the Mods Home Page and on the very first post of this thread.

Anyway what seems to be the problem you're having?

mrtrc266

Quote from: CanadianIce on May 08, 2010, 02:18:57 PM
I tried this out on my forum, and I just wanted to say "Thanks!"

Works great, and my members love it.

Very glad you like it...Enjoy :)

adbrad

when i go to chat all i get is A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.

mrtrc266

Quote from: adbrad on May 08, 2010, 02:45:47 PM
when i go to chat all i get is A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.

And you've set the file permissions for /chat/index.php and /shoutBox/index.php to 755 ?

mrtrc266

Quote from: harry66 on May 08, 2010, 02:15:25 PM
I'm using "urban" from Dzinerstudio (http://demo.dzinerstudio.com/ -> SMF 2.0 Themes "Urban [Premium])

Quote from: mrtrc266 on May 08, 2010, 01:51:07 PM
Did you install the Chat from here  https://blueimp.net/ajax/ or this AjaxChat Integration?

I tried both. But the Error Message i posted above was from AjaxChat Integration Mod.
The Chat from the Homepage blueimp.net was working, but i don't got it to integrate as a shoutbox on the Main Page.

Cool, I have that theme, please make sure you have the AJAX Chat Integration installed and I'll post the edits in a little bit.

adbrad

#6131
Quote from: mrtrc266 on May 08, 2010, 02:48:53 PM
Quote from: adbrad on May 08, 2010, 02:45:47 PM
when i go to chat all i get is A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.

And you've set the file permissions for /chat/index.php and /shoutBox/index.php to 755 ?
yes they are both set
i'm using rc3 incase that helps
problem solved i set the chat folder to 755 also and all seems to be working

mrtrc266

Quote from: adbrad on May 08, 2010, 02:57:06 PM
Quote from: mrtrc266 on May 08, 2010, 02:48:53 PM
Quote from: adbrad on May 08, 2010, 02:45:47 PM
when i go to chat all i get is A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.

And you've set the file permissions for /chat/index.php and /shoutBox/index.php to 755 ?
yes they are both set
i'm using rc3 incase that helps

Can you post a link to the site you're installing this on? I see you have Flash Chat on your lab lovers site.

adbrad

Quote from: adbrad on May 08, 2010, 02:57:06 PM
Quote from: mrtrc266 on May 08, 2010, 02:48:53 PM
Quote from: adbrad on May 08, 2010, 02:45:47 PM
when i go to chat all i get is A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.

And you've set the file permissions for /chat/index.php and /shoutBox/index.php to 755 ?
yes they are both set
i'm using rc3 incase that helps
problem solved i set the chat folder to 755 also and all seems to be working


guess you missed the edit
i trying it on www.caringforhuskies.com/forum3

harry66

Quote from: mrtrc266 on May 08, 2010, 02:52:21 PM
Quote from: harry66 on May 08, 2010, 02:15:25 PM
I'm using "urban" from Dzinerstudio (http://demo.dzinerstudio.com/ [nofollow] -> SMF 2.0 Themes "Urban [Premium])

Quote from: mrtrc266 on May 08, 2010, 01:51:07 PM
Did you install the Chat from here  https://blueimp.net/ajax/ [nofollow] or this AjaxChat Integration?

I tried both. But the Error Message i posted above was from AjaxChat Integration Mod.
The Chat from the Homepage blueimp.net [nofollow] was working, but i don't got it to integrate as a shoutbox on the Main Page.

Cool, I have that theme, please make sure you have the AJAX Chat Integration installed and I'll post the edits in a little bit.

Yep, i have uploaded it. I just need the right changes on index.template.php from the Costum Template

mrtrc266

Quote from: adbrad on May 08, 2010, 02:17:24 PM
think you should change the description for this mod
it says This mod WILL install AjaxChat on your smf.
when it obviously doesn't
Quote from: adbrad on May 08, 2010, 02:45:47 PM
problem solved i set the chat folder to 755 also and all seems to be working

Huh?

LOL glad you got it sorted, enjoy the Mod :)

adbrad

Quote from: mrtrc266 on May 08, 2010, 03:47:55 PM

LOL glad you got it sorted, enjoy the Mod :)

just need to figure out how to configure it now

mrtrc266

Quote from: adbrad on May 08, 2010, 03:52:03 PM
Quote from: mrtrc266 on May 08, 2010, 03:47:55 PM

LOL glad you got it sorted, enjoy the Mod :)

just need to figure out how to configure it now

chat/lib/config.php is where all the primary settings are at


harry66

#6139
Thanks its working now. But can i disable the "Chat" Button + Chat? I only want to use the Shoutbox.


I get an Error when i post a message in Chat and then reload the Forum

Fatal error: Function name must be a string in /xxxx/forum/Sources/BoardIndex.php  on line 146

//ajax chat start
$userIDs = chatOnlineUsers();
$context['chat_links'] = array();
if (count($userIDs) > 0){
if (count($userIDs) == 1){
$result = $smcFunc['db_query']('', '
SELECT mem.ID_MEMBER, mem.real_name, mem.ID_GROUP, mg.online_color, mg.ID_GROUP
FROM {db_prefix}members AS mem
LEFT JOIN {db_prefix}membergroups AS mg ON
(mg.ID_GROUP = IF(mem.ID_GROUP = 0, mem.ID_POST_GROUP, mem.ID_GROUP)) WHERE mem.ID_MEMBER = {int:the_id}' ,

array(
'the_id' => $userIDs[0],
      )
);
}else{
$result = $smcFunc['db_query']('', '
SELECT mem.ID_MEMBER, mem.real_name, mem.ID_GROUP, mg.online_color, mg.ID_GROUP
FROM {db_prefix}members AS mem
LEFT JOIN {db_prefix}membergroups AS mg ON
(mg.ID_GROUP = IF(mem.ID_GROUP = 0, mem.ID_POST_GROUP, mem.ID_GROUP)) WHERE mem.ID_MEMBER IN ({array_int:the_ids})',

array( 'the_ids' => $userIDs,
       )
);
} while ($row =$smcFunc['db_fetch_assoc']($result))
{
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'];
if($row['online_color'] != ""){
$link.= '" style="color: ' . $row['online_color'];
}
$link.= '">' . $row['real_name'] . '</a>';
array_push($context['chat_links'], $link);
}
$smcFunc['db_free_result']($result);
}
//set the flag true for home page
$context['chat_isHome'] = true;
//end ajax chat


that is line 146:
$result = $smcFunc['db_query']('', '

I only get this error when i post a message in Chat. When i just have it open, nothing happens.


Advertisement: