AjaxChat Integration (latest version 3.2.1)

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

Previous topic - Next topic

mrtrc266

Quote from: tibaba on March 19, 2009, 07:32:33 PM
No, it's not collapsed, already tried this lol  :P

You can try it at : www.tibaba.ch

Hmmm, not sure I just tried it on my Test Site with those same settings and it worked for me.

You got a clean install with no errors?

mrtrc266

#881
@ stikkki I'm not sure but that's the first thing that came to my mind LOL. Try it,  and if not I will see if I can figure it out.

EDIT: I Just tried it and that worked. I will add that to the tip list...Thanks ;)

bullbreedluverz

your welcome and thanks  :D

tibaba

@ mrtrc266

Hmm, yes it's a new install, i already added some mod (Simple Portal, Gallery, Age,Gender,Location on Registation ...) but everything seem ok.

If i check the code source of the page loaded, here is the code for shoutbox. In red, shoutbox is blank, its without the check in "Integrate shout box and chat room?".

In pruple, this is OK, its if "Integrate shout box and chat room?" is check.


      <script language="JavaScript" type="text/javascript">
         var sb_current_header = false;

         function ajax_shoutBox_collapse(mode)
         {
            smf_setThemeOption("sb_collapsed", mode ? 1 : 0, null, "a5e1ff18f2c8f29fa0a1357dbf12fc52");
            document.getElementById("ajax_shoutbox_collapse").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

            document.getElementById("ShoutBox").style.display = mode ? "none" : "";

            sb_current_header = mode;
            }
      </script>
      <div class="tborder" style="margin: 10px 0 10px 0;">
         <div class="catbg" style="padding: 5px 15px 5px 10px;margin:0 auto;">
            <a rel="nofollow" href="#" onclick="ajax_shoutBox_collapse(!sb_current_header)"><img id="ajax_shoutbox_collapse" src="http://www.tibaba.ch/Themes/default/images/collapse.gif [nofollow]" alt="*" style="margin-right: 5px;"  /></a>ShoutBox
         </div>
         <div id="ShoutBox">

         
         </div>





   <script language="JavaScript" type="text/javascript">
         var sb_current_header = false;

         function ajax_shoutBox_collapse(mode)
         {
            smf_setThemeOption("sb_collapsed", mode ? 1 : 0, null, "a5e1ff18f2c8f29fa0a1357dbf12fc52");
            document.getElementById("ajax_shoutbox_collapse").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

            document.getElementById("ShoutBox").style.display = mode ? "none" : "";

            sb_current_header = mode;
            }
      </script>
      <div class="tborder" style="margin: 10px 0 10px 0;">
         <div class="catbg" style="padding: 5px 15px 5px 10px;margin:0 auto;">
            <a rel="nofollow" href="#" onclick="ajax_shoutBox_collapse(!sb_current_header)"><img id="ajax_shoutbox_collapse" src="http://www.tibaba.ch/Themes/default/images/collapse.gif [nofollow]" alt="*" style="margin-right: 5px;"  /></a>ShoutBox
         </div>
         <div id="ShoutBox">

                     <div class="tborder" style="margin: 1px 0 0 0;">
         <div id="ajaxChatContent">
            <script src="http://www.tibaba.ch/chat/js/chat.js [nofollow]" type="text/javascript" charset="UTF-8"></script>
            <script src="http://www.tibaba.ch/chat/js/custom.js [nofollow]" type="text/javascript" charset="UTF-8"></script>
            <script src="http://www.tibaba.ch/chat/js/shoutbox.js [nofollow]" type="text/javascript" charset="UTF-8"></script>
            <script src="http://www.tibaba.ch/chat/js/lang/fr.js [nofollow]" type="text/javascript" charset="UTF-8"></script>
            <script src="http://www.tibaba.ch/chat/js/config.js [nofollow]" type="text/javascript" charset="UTF-8"></script>

            <script src="http://www.tibaba.ch/chat/js/FABridge.js [nofollow]" type="text/javascript" charset="UTF-8"></script>
            <div id="ajaxChatChatList"></div>
         </div>
      </div>


mrtrc266

Not sure tibaba, I just compared it with mine and it's exactly the same. Maybe Hunter will have a solution when he gets back on.

tibaba

I've found something...

I just check the manual procedure, and I see that my shoutBox folder was fast empty.

So I do that :

Move the included directory "chat/css" to "./shoutBox".
Move the included directory "chat/flash" to "./shoutBox".
Move the included directory "chat/img" to "./shoutBox".
Move the included directory "chat/js" to "./shoutBox".
Move the included directory "chat/lib" to "./shoutBox".
Move the included directory "chat/socket" to "./shoutBox".
Move the included directory "chat/sounds" to "./shoutBox".
Move the included directory "chat/src" to "./shoutBox".


Now, with check or uncheck the option "Integrate shout box and chat room?" , shoutbox and chat work but .... If i write in chat, that write the message in shoutbox too ....  and vice versa....  ??

mrtrc266

K but now how does the "Intergrate Shoutbox" feature work?

tibaba

If checked, work good, write in both place

If unchecked, doesnt' work, write in both place too ...

tibaba

#888
Ok, resolved yet  ;D

   
After uploading the files as explained in the manual installation , I put the 4 files that were in the shoutbox folder back :

js/config.js
lib/config.php
class/CustomAJAXChat.php
index.php

Thanks for help mrtrc266

mrtrc266

WOOOOHOOOOO!!! Glad you got it sorted! :D

herohenson

hmm.. my post just been ignored.. tnx anyway, i guess i cant find my answers and help here..

Podologo



Thanks tfs, I shall take a look there and see what happens when I make some changes.

Podologo

The richest person is not the one who has the most, but the one who needs the least.

berrylife

Quote from: berrylife on March 19, 2009, 11:49:34 AM
hi ive installed the 3.0 version on 2.0 RC1. it says it installs fine but when i click on the chat tab i get this



i dont know what it means, how would i fix it please!

ive read back and see others had this problem, how did they overcome it?

could someone please help i really want this to work :(

discjocke

Thanks mrtrc266

The connection status: 500 which is the problem I had was corrected after having the permissions corrected in file manager. Thanks again.

mrtrc266

Quote from: berrylife on March 20, 2009, 04:44:32 AM
Quote from: berrylife on March 19, 2009, 11:49:34 AM
hi ive installed the 3.0 version on 2.0 RC1. it says it installs fine but when i click on the chat tab i get this

i dont know what it means, how would i fix it please!

ive read back and see others had this problem, how did they overcome it?

could someone please help i really want this to work :(

The 500 error is an internal server error, there have  been a few issues with this and it could be a number of things, .htaccess file, file permissions, etc. Right above this post discjockie got it sorted by contacting his host and they fixed it for him. Give that a shot.

mrtrc266

Quote from: herohenson on March 20, 2009, 02:01:18 AM
hmm.. my post just been ignored.. tnx anyway, i guess i cant find my answers and help here..

Sorry bout that herohenson, no you weren't being ignored. Can you please put the error in here in text, I can barley see the pic.

mrtrc266

#896
Quote from: SunKing on March 18, 2009, 05:12:17 PM
*scratches head*
Still nothing?

Not sure SunKing, can't remember if we went through this already, but did we uninstall, delete chat and shoutbox folders and reinstall?

EDIT: Nevermind Just went through your posts and saw that you had done this.

Hopefully Hunter can help when he gets back online

mrtrc266

Button Help

I'm using the Extreme 6 Theme and trying to get this correct to show my image..

<td valign="top" class="maintab_back">
<a href="', $chatPath, '"', empty($modSettings['chatPopUp']) ? 'target="_blank"' : ' onclick="openWindow(this.href);this.blur();return false;"', '>', $txt['chat'], ($num > 0) ?  ('('.$num.')') : '' , '</a>
</td>';



Here is an example of another menu button, what and where would I add to the code above? Of course the image will be chat.png. I have a temporary fix but I loose the popup feature.

echo '<li><a href="', $scripturl, '?action=profile" class="kwick opt5">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.png" alt="' . $txt[79] . '" style="margin: 0px 0;" border="0" /><span>' : $txt[467]), '</span></a></li>';



Thanks in advance.

berrylife

Quote from: mrtrc266 on March 17, 2009, 01:44:41 AM
@ Filipina  and Mystery

For AJAX Chat Intergration Version 3 just looking though my file permissions it seems that all my "Folders" are set @ 755 and all my "Files" are set @ 666.

For AJAX Chat Intergration Version 2 my "Folders" are set @ 755 and all my "Files" are set @ 644.

i did same as you for version 3 and i still get the error 500 :(

Mystery?

Quote from: berrylife on March 20, 2009, 04:45:56 PM
Quote from: mrtrc266 on March 17, 2009, 01:44:41 AM
@ Filipina  and Mystery

For AJAX Chat Intergration Version 3 just looking though my file permissions it seems that all my "Folders" are set @ 755 and all my "Files" are set @ 666.

For AJAX Chat Intergration Version 2 my "Folders" are set @ 755 and all my "Files" are set @ 644.

i did same as you for version 3 and i still get the error 500 :(

I changed the permission to 755 for index.php and it worked. Try it.
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

Advertisement: