AjaxChat Integration (latest version 3.2.1)

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

Previous topic - Next topic

andrew84uk

Thanks for the great mod, how would I go about reducing the number of lines it shows?

TheListener

Quote from: andrew84uk on May 27, 2010, 06:39:05 PM
Thanks for the great mod, how would I go about reducing the number of lines it shows?

Can you explain a bit more what you are asking. Have you looked the the FAQs in the first post?

andrew84uk

Quote from: Brack1 on May 27, 2010, 06:41:18 PM
Quote from: andrew84uk on May 27, 2010, 06:39:05 PM
Thanks for the great mod, how would I go about reducing the number of lines it shows?

Can you explain a bit more what you are asking. Have you looked the the FAQs in the first post?

See attached file, 1 to 8 lines can be displayed.  I want only to display lets say 4 lines.

Lou69

Quote from: kkattfish on May 27, 2010, 12:12:47 PM
Quote from: mrtrc266 on May 27, 2010, 11:44:15 AM
@kkattfish
Does this happen after you've been logged in for awhile or does it do it right away?


i guess usually after i have been logged in for a while since i never log out of my forum really.  for instance when i go to the forum in the morning, i will type and it will usually make me shout twice before showing up.  then later in the day i will get into a conversation and sometimes during that chat i will have to type the shout twice, but most of the time it will go on the first try.  its multiple users as well not just myself.

I am having the same issue. Even during active, ongoing shouts, there is a delay of 4 or so seconds before message is displayed  or it takes an additional tap on the Enter key.

This occurs even if only two people are in chat.

Lou

netjerk

Quote from: netjerk on May 27, 2010, 12:45:57 PM
I am running SMF V2 RC2 with Curve Black theme. Tried install below but getting errors as shown below. Can anyone help to guide me how to resolve this? Should I go ahead with installation? Thanks

AjaxChat Integration 3.2.1
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

AjaxChat Integration 3.2.1 (modified for SMF 2 RC3)
Error in Package Installation
Detail
7.     Execute Modification     ./Sources/Subs.php     Test failed
      1.    Add After    ./Sources/Subs.php             Test successful
      2.    Add After    ./Sources/Subs.php             Test failed

Install in Other Themes
Core Theme
      Execute Modification    ./Themes/core/BoardIndex.template.php    Test failed
               1.    Add Before    ./Themes/core/BoardIndex.template.php    Test failed
      Execute Modification    ./Themes/core/index.template.php    Test failed
              1.    Replace    ./Themes/core/index.template.php    Test successful
              2.    Add Before    ./Themes/core/index.template.php    Test failed
CurveBlack
      Execute Modification    ./Themes/Curve_Black/index.template.php    Test successful

After proceed installation with AjaxChat Integration 3.2.1 (modified for SMF 2 RC3) still not able to see the chat... Anyone can help me please?

mrtrc266

Quote from: Shankirili on May 27, 2010, 01:00:59 PM
Quote from: mrtrc266 on May 27, 2010, 11:44:15 AM
Thank you very much for your contributions.

Now....if you could just get the smileys to integrate with SMF's smileys you would be GOD! ;) LOL

You're welcome, I'm glad to help, especially because this topic had already help me a lot!

For the SMF's smiley integration it has to be possible but I won't try to do so, I made what I wanted to and that's ok for me!

Still haven't had a chance to play with it, was a loooong 13 hr day. Will have to mess around on Tue-Wed this week, thanks again for you contributions.

mrtrc266

Quote from: mem1988 on May 27, 2010, 05:19:58 PM
hello,
i just installed this mod.
it only shows 10 posts in shoutbox.
how can i make that it shows more than 10 posts?

/chat/lib/config.php is where you'll find that, how long to display the messages for and many more settings.
// Max time difference in hours for messages to display on each request:
$config['requestMessagesTimeDiff'] = 24;
// Max number of messages to display on each request:
$config['requestMessagesLimit'] = 10;


mrtrc266

Quote from: andrew84uk on May 27, 2010, 06:39:05 PM
Thanks for the great mod, how would I go about reducing the number of lines it shows?

In the Shout Box just play with the height for it to display 4 message
Find /chat/css/shoutbox.css
#ajaxChatContent #ajaxChatChatList {
height:169px;
overflow:auto;
}





mrtrc266

Quote from: netjerk on May 27, 2010, 10:21:52 PM
Quote from: netjerk on May 27, 2010, 12:45:57 PM
I am running SMF V2 RC2 with Curve Black theme. Tried install below but getting errors as shown below. Can anyone help to guide me how to resolve this? Should I go ahead with installation? Thanks

AjaxChat Integration 3.2.1
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

AjaxChat Integration 3.2.1 (modified for SMF 2 RC3)
Error in Package Installation
Detail
7.     Execute Modification     ./Sources/Subs.php     Test failed
      1.    Add After    ./Sources/Subs.php             Test successful
      2.    Add After    ./Sources/Subs.php             Test failed

Install in Other Themes
Core Theme
      Execute Modification    ./Themes/core/BoardIndex.template.php    Test failed
               1.    Add Before    ./Themes/core/BoardIndex.template.php    Test failed
      Execute Modification    ./Themes/core/index.template.php    Test failed
              1.    Replace    ./Themes/core/index.template.php    Test successful
              2.    Add Before    ./Themes/core/index.template.php    Test failed
CurveBlack
      Execute Modification    ./Themes/Curve_Black/index.template.php    Test successful

After proceed installation with AjaxChat Integration 3.2.1 (modified for SMF 2 RC3) still not able to see the chat... Anyone can help me please?

For any file that failed the test you will have to manually do the edit, go to the page where you downloaded the Mod, select the version you installed and hit "Parse" it will show you what edits needed to be done. This also goes for any other Mods that you install when the files fail the test. Usually means that other Mods have moved the code.

andrew84uk

Quote from: mrtrc266 on May 28, 2010, 01:17:09 AM
Quote from: andrew84uk on May 27, 2010, 06:39:05 PM
Thanks for the great mod, how would I go about reducing the number of lines it shows?

In the Shout Box just play with the height for it to display 4 message
Find /chat/css/shoutbox.css
#ajaxChatContent #ajaxChatChatList {
height:169px;
overflow:auto;
}


Thanks, works a treat! 85px = 4 lines!!!

abidejaz4u

When i installed this mode and check on the box of shout box then i dont have option of
Modification

mrtrc266

Quote from: abidejaz4u on May 28, 2010, 09:37:35 AM
When i installed this mode and check on the box of shout box then i dont have option of
Modification


Seem like that was removed possibly if you from a previously installed Mod?
Goto http://yoursite.com/index.php?action=admin;area=modsettings;sa=chat

graaywolf

Quote from: mrtrc266 on May 13, 2010, 12:55:05 AM
@ graaywolf
Glad you got it sorted, enjoy!

darn... the 500 error is back (in the chat window)... i set the 2 files at 755 (and folders)... and it's still happening... AAAAAAARRRRRGGGGGHHHHHHH!!!!!!!!!

"frustrated"



I'm trying...

-=(GW)=-

mrtrc266

Quote from: graaywolf on May 28, 2010, 12:56:51 PM
Quote from: mrtrc266 on May 13, 2010, 12:55:05 AM
@ graaywolf
Glad you got it sorted, enjoy!

darn... the 500 error is back (in the chat window)... i set the 2 files at 755 (and folders)... and it's still happening... AAAAAAARRRRRGGGGGHHHHHHH!!!!!!!!!

"frustrated"

What was the last thing you did before this started happening? If I remember correctly you had this sorted?

Lou69

Quote from: mrtrc266 on May 26, 2010, 10:02:48 AM
@ Lou
Yes,  you can run that query in phpMyadmin and it will clear the chat.
It would be nice to make a custom /clear command but I'm not sure how?

Also there is a setting in /chat/lib/config.php that will purge your history every X amount of days, change true to false and set for however many days you want.
// Defines if old messages are purged from the database:
$config['logsPurgeLogs'] = false;
// Max time difference in days for old messages before they are purged from the database:
$config['logsPurgeTimeDiff'] = 365;



Ah yes, I see that now. It would be much simpler to let SMF do this work, I can set it to True to enable and to 7 for a weekly purging of the chats.

That is much simpler that using phpMyAdmin.  Though I must admit it was a bit fun being back on SourceForge again and learning some more.    ;D


thanks,

Lou    :)

abidejaz4u

Quote from: mrtrc266 on May 28, 2010, 11:14:43 AM
Quote from: abidejaz4u on May 28, 2010, 09:37:35 AM
When i installed this mode and check on the box of shout box then i dont have option of
Modification


Seem like that was removed possibly if you from a previously installed Mod?
Goto http://yoursite.com/index.php?action=admin;area=modsettings;sa=chat

i installed it first time

mrtrc266

Quote from: abidejaz4u on May 28, 2010, 03:24:22 PM
Quote from: mrtrc266 on May 28, 2010, 11:14:43 AM
Quote from: abidejaz4u on May 28, 2010, 09:37:35 AM
When i installed this mode and check on the box of shout box then i dont have option of
Modification


Seem like that was removed possibly if you from a previously installed Mod?
Goto http://yoursite.com/index.php?action=admin;area=modsettings;sa=chat

i installed it first time

But what other Mods do you have installed?

What happens when you goto http://yoursite.com/index.php?action=admin;area=modsettings;sa=chat ? Of course change "yoursite.com" to your actual site

CodeMonkey76

I seem to be having some issues getting this to work on version 1.1.11. 
The parse instructions had me change these files:
./Sources/BoardIndex.php
./Sources/Load.php
./Sources/ModSettings.php
./Sources/ManagePermissions.php
./SSI.php
./Themes/default/index.template.php
./Themes/default/BoardIndex.template.php
./Themes/default/languages/Help.english.php
./Themes/default/languages/Modifications.english.php

I then copied the 'shoutbox' and 'chat' directories over to the forum root directory.  I also copied the Tables_1.1.X.php file over and gave it execute permissions. 

After those changes, when I go to the forums, I get this error:
"Parse error: syntax error, unexpected T_IF" in ./Sources/Load.php on line 1

Can anyone help me walk through this? 

abidejaz4u

Quote from: mrtrc266 on May 29, 2010, 01:18:08 AM
Quote from: abidejaz4u on May 28, 2010, 03:24:22 PM
Quote from: mrtrc266 on May 28, 2010, 11:14:43 AM
Quote from: abidejaz4u on May 28, 2010, 09:37:35 AM
When i installed this mode and check on the box of shout box then i dont have option of
Modification


Seem like that was removed possibly if you from a previously installed Mod?
Goto http://yoursite.com/index.php?action=admin;area=modsettings;sa=chat

i installed it first time

But what other Mods do you have installed?

What happens when you goto http://yoursite.com/index.php?action=admin;area=modsettings;sa=chat ? Of course change "yoursite.com" to your actual site

this link take me into my Administration Center

mrtrc266

Quote from: CodeMonkey76 on May 29, 2010, 02:53:00 AM
I seem to be having some issues getting this to work on version 1.1.11. 
The parse instructions had me change these files:
./Sources/BoardIndex.php
./Sources/Load.php
./Sources/ModSettings.php
./Sources/ManagePermissions.php
./SSI.php
./Themes/default/index.template.php
./Themes/default/BoardIndex.template.php
./Themes/default/languages/Help.english.php
./Themes/default/languages/Modifications.english.php

I then copied the 'shoutbox' and 'chat' directories over to the forum root directory.  I also copied the Tables_1.1.X.php file over and gave it execute permissions. 

After those changes, when I go to the forums, I get this error:
"Parse error: syntax error, unexpected T_IF" in ./Sources/Load.php on line 1

Can anyone help me walk through this? 

Install AJAX Chat Integration via your package manager.

1. Delete the /chat and /shoutBox folders.
2. Undo any manual edits that you did.
3. Download AjaxChat Integration_3.2.1.zip to your desktop.
4. Admin/Packages/Download Packages/Upload a Package and upload AjaxChat Integration_3.2.1.zip.
5. Apply and install the Mod.

That should do it.

Advertisement: