AjaxChat Integration (latest version 3.2.1)

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

Previous topic - Next topic

mrtrc266

Quote from: joseflor on March 07, 2010, 06:39:34 PM
Quote from: mrtrc266 on March 07, 2010, 10:05:44 AM
@joseflor try renaming Shout.english.php to Shout.portuguese.php or Shout.portuguese-utf8.php

I've done it. I end up with the three files there, but didn't solve the problem.
This www.ozflor.com/electroforum/ works fine with it but the www.ozflor.com/ep/ and www.ozflor.com/G7Forum/ does not work. In the last fórum, I have others mods that have the same problem. It seams (in my opinion and I don't understand webmaster nor php) that it is other problem other them Ajax.

Thank you




Later edit:
Problem solved.
I looked the other forum files and I found that the problem was the file name. It is Shout.portuguese_pt-utf8.php to differentiate from the Brazilian language.

Many thanks

Glad you got it sorted, enjoy the Mod!

mrtrc266

Quote from: ErnieB on March 07, 2010, 11:13:23 PM
Sorry for the double post, i thought i had seen somewhere but now i cant find it. How would we give chat mod capabilities to individual members?

in your membergroup permission

mrtrc266

Quote from: Diagram on March 07, 2010, 11:15:16 PM
Anyone got modifications for the chat that prevents flooding?
I'm thinking about captcha, or a 60 second automatic ban everytime someone's gives a shout for 3 times with a duration of 1 second per shout (kinda like copy pasting)

chat/lib/config.php

Find
// Defines the max number of messages a user may send per minute:
$config['maxMessageRate'] = 20;


Change 20 to your preference

mrtrc266

Quote from: cryingsoul on March 07, 2010, 11:53:50 AM
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF.  "

I use Forum version: SMF 2.0 RC2..

Trying to install by package installer

Here is a version ported to RC2
http://www.simplemachines.org/community/index.php?topic=257973.msg2353297#msg2353297

ErnieB

Quote from: mrtrc266 on March 07, 2010, 11:23:35 PM
Quote from: ErnieB on March 07, 2010, 11:13:23 PM
Sorry for the double post, i thought i had seen somewhere but now i cant find it. How would we give chat mod capabilities to individual members?

in your membergroup permission

By default it gives chat mod capabilities to the forum membergroups of global mods and admins. I want to give chat mod capabilities and NOT forum mod abilities to specific members.

Arantor

Add more groups, one just for using chat, then give that group to users (users can have multiple groups)

RoyalMess

Quote from: RoyalMess on March 06, 2010, 04:20:46 PM
Quote from: RoyalMess on March 06, 2010, 08:06:40 AM
Quote from: SunKing on March 06, 2010, 07:44:40 AM
Quote from: RoyalMess on March 06, 2010, 07:34:36 AM
Ajax is a bad word.
We're all football supporters here in this city and on my site hate Ajax so yes, we would like  to remove any Ajax word even if possible in the root files.
Ajax is just ******, so if it means removing the copyright etc. yes we want it to be gone.
Nothing is worse then the word Ajax.

Bad word or not, it's the copyright, which cannot legally be removed.



Blegh ah well i'll just ignore it then :(
As you can see we get a white line at the top when i change the name in the Language File.
Bump?
As you can see we get a white line at the top when i change the name in the Language File.

smp420

I doubt anyone will help you remove the copyright. If you don't like the name use a different chat.
"Things turn out best for those who make the best of the way things turn out." -Jack Buck

mrtrc266

Quote from: RoyalMess on March 08, 2010, 08:13:09 AM
Quote from: RoyalMess on March 06, 2010, 04:20:46 PM
Quote from: RoyalMess on March 06, 2010, 08:06:40 AM
Quote from: SunKing on March 06, 2010, 07:44:40 AM
Quote from: RoyalMess on March 06, 2010, 07:34:36 AM
Ajax is a bad word.
We're all football supporters here in this city and on my site hate Ajax so yes, we would like  to remove any Ajax word even if possible in the root files.
Ajax is just ******, so if it means removing the copyright etc. yes we want it to be gone.
Nothing is worse then the word Ajax.

Bad word or not, it's the copyright, which cannot legally be removed.



Blegh ah well i'll just ignore it then :(
As you can see we get a white line at the top when i change the name in the Language File.
Bump?
As you can see we get a white line at the top when i change the name in the Language File.

You can change the portion to the left to whatever you want, the portion (copy rights) to the right you MUST leave there.

To change the header / rename your chat room
http://sourceforge.net/projects/ajax-chat/forums/forum/774132/topic/1982688

To change the Title of your shoutbox change this in your shout.english.php file to whatever you want it to say.
$txt['shoutBox'] = 'ShoutBox';

There's your help but smp420 said it well, if your forum just can't stand the word "AJAX" then this probably isn't the right chat for you.

RoyalMess

I already did that...
I'll quote it again.
This is what happens if i change the name.



Big white bar above the chat.. :|

[unplugged]

I registered at your site so I can see what is causing the white bar (waiting on the email now).
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



RoyalMess

Thank you Sunking for helping me get rid of the white stripe on top ;)

#content {
margin-top:-30px;
background-color:#2A2A2A;
color:#D4D4D4;

Thats how to fix it.

[unplugged]

Glad I could help. I am currently waiting on a reply over at SourceForge as to whether it would be OK to simply change the name of the copyright so that it no longer has "AJAX" in it. I personally do not see why that would be a problem because the site name and link would all still be there, but it's obviously up to them to decide. I will post the results of that question here as soon as I receive it.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



RoyalMess

#5333
Quote from: SunKing on March 08, 2010, 12:59:25 PM
Glad I could help. I am currently waiting on a reply over at SourceForge as to whether it would be OK to simply change the name of the copyright so that it no longer has "AJAX" in it. I personally do not see why that would be a problem because the site name and link would all still be there, but it's obviously up to them to decide. I will post the results of that question here as soon as I receive it.

Oke then ;)

By the way does anybody know when someone uses a " or a ' there will be a / or \ infront of it?
And how do i remove the _ in usernames, usually there are spaces but it shows a _ and how do i enable guests to view the chat but not be able to chat?

EDIT: Sun King IE explorers now have their whole Chat like 30 pixels moved upwards, anyway to make like IE users use the old .css style and FF the new one?

[unplugged]

Something you could try for the IE issue would be to add two more lines to your css:

#content {
margin-top:-30px;
*margin-top:0px;
_margin-top:0px;
background-color:#2A2A2A;
color:#D4D4D4;


The * is for IE7 and the _ for IE6 (I believe). I'm not sure how it affects IE8 or even if there is an issue with IE8, and I have no way of testing IE.

Note: I do not believe the CSS will validate using this, but that's not going to bring a site down.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



RoyalMess

#5335
Quote from: SunKing on March 08, 2010, 03:10:49 PM
Something you could try for the IE issue would be to add two more lines to your css:

#content {
margin-top:-30px;
*margin-top:0px;
_margin-top:0px;
background-color:#2A2A2A;
color:#D4D4D4;


The * is for IE7 and the _ for IE6 (I believe). I'm not sure how it affects IE8 or even if there is an issue with IE8, and I have no way of testing IE.

Note: I do not believe the CSS will validate using this, but that's not going to bring a site down.

Well i have IE8 and for me it showed the site was scrolled upwards like 30 pixels but you couldn't scroll down now its fixed ;)
Hopefully the IE6/7 users can see the chat normally as well, thanks ;)
If someone uses IE6/7 can you please check out my site: www.topsportleeuwarden.nl and click on Chat.

mrtrc266

QuoteBy the way does anybody know when someone uses a " or a ' there will be a / or \ infront of it?

This might help
http://sourceforge.net/projects/ajax-chat/forums/forum/774132/topic/2774612

RoyalMess

Quote from: mrtrc266 on March 08, 2010, 03:45:11 PM
QuoteBy the way does anybody know when someone uses a " or a ' there will be a / or \ infront of it?

This might help
http://sourceforge.net/projects/ajax-chat/forums/forum/774132/topic/2774612

I use PLESK as a CPanel of my Webserver and i don't know where to find such a option :(

mrtrc266

Quote from: RoyalMess on March 08, 2010, 04:18:11 PM
Quote from: mrtrc266 on March 08, 2010, 03:45:11 PM
QuoteBy the way does anybody know when someone uses a " or a ' there will be a / or \ infront of it?

This might help
http://sourceforge.net/projects/ajax-chat/forums/forum/774132/topic/2774612

I use PLESK as a CPanel of my Webserver and i don't know where to find such a option :(

Ok there was another fix by editing a file, I'll see if I can dig it up

smp420

In AJAXChat.php find if(get_magic_quotes_gpc()) { change this to if(true) {
"Things turn out best for those who make the best of the way things turn out." -Jack Buck

Advertisement: