Page 94 of 116

Re: [RC] AJAX Chat

Posted: Thu Nov 20, 2008 10:11 am
by easygo
indocobraone wrote:Could it be an error in sockets?
Then you may get a socket connection error, do you?

Re: [RC] AJAX Chat

Posted: Thu Nov 20, 2008 3:58 pm
by indocobraone
easygo wrote:
indocobraone wrote:Could it be an error in sockets?
Then you may get a socket connection error, do you?
No I did not get a socket connection error.

Re: [RC] AJAX Chat

Posted: Thu Nov 20, 2008 6:15 pm
by jimmygjim
easygo wrote:It's even hard to reproduce w/o having a chat link + guest access + +
So what's the MySQL server version? I guess it should be v4.1.3 or higher
in order to work correctly with the AJAX Chat database installer.

See also :: http://www.phpbb.com/community/viewtopi ... 0#p7548625
Thanks for responding

ETA

removed my link, some idiot posted on the board - I thought this was a good community

I'll PM you

Re: [RC] AJAX Chat

Posted: Fri Nov 21, 2008 1:36 am
by railroadfan2
jimcarrel wrote:In folder chat/lib/config.php

Code: Select all

// Defines if login/logout and channel enter/leave are displayed:
$config['showChannelMessages'] = false;
change true to false, and chatbot login and logout will not show.
Thanks very much..that should reduce my daily log size by about 33% :) This fix works great.

Re: [RC] AJAX Chat

Posted: Fri Nov 21, 2008 4:03 am
by accphotography
easygo wrote:
accphotography wrote:Would you like to see the code from the file you mentioned? Is that what you were getting at?
Yes, of course.
http://www.turboupload.com/files/get/kN ... ctions.txt

Sorry it's so long. I wasn't certain if you needed the whole thing or of any other way to show you.

Thanks!!

ACC

Re: [RC] AJAX Chat

Posted: Fri Nov 21, 2008 10:09 am
by easygo
Well, next time try to narrow down the choice and use BBCode code instead of quote, please.
Simply because nobody's wanting to get an eye disease, nor trouble with the board police.

Anyway! The problem might be caused by your path definition
accphotography wrote:define('AJAX_CHAT_PATH', realpath(dirname($_SERVER['SCRIPT_FILENAME']).'../chat').'/');
as the result is something bad like shown in this sample :: /www/home/whatever/forum../chat/

Re: [RC] AJAX Chat

Posted: Fri Nov 21, 2008 10:33 am
by easygo
railroadfan2 wrote:
jimcarrel wrote:In folder chat/lib/config.php

Code: Select all

// Defines if login/logout and channel enter/leave are displayed:
$config['showChannelMessages'] = false;
change true to false, and chatbot login and logout will not show.
Thanks very much..that should reduce my daily log size by about 33% :) This fix works great.
Whatever that means after weeks. 8-)

Unfortunately, this config setting won't have any effect on the Chat related logs view,
as far as I know! Please correct me if I'm wrong here. Thanks in advance.

Re: [RC] AJAX Chat

Posted: Fri Nov 21, 2008 10:59 am
by easygo
jimmygjim wrote:
easygo wrote:It's even hard to reproduce w/o having a chat link + guest access + +
So what's the MySQL server version? I guess it should be v4.1.3 or higher
in order to work correctly with the AJAX Chat database installer.

See also :: http://www.phpbb.com/community/viewtopi ... 0#p7548625
Thanks for responding

ETA

removed my link, some idiot posted on the board - I thought this was a good community

I'll PM you
Sorry, I haven't got a clue what's going wrong there after visiting your web site :?
as the returned HTML source seemed to be OK for me. Maybe, it's just a database issue
but most likely it's caused by the fact that you're using a virtual domain name.

Re: [RC] AJAX Chat

Posted: Fri Nov 21, 2008 11:57 am
by nexans76

Code: Select all

#content .admin 
#content .moderator 
#content .user 
#content .guest 

Code: Select all

#content .vip { 
      color:#00AA00; 
   }
 
????????

Code: Select all

// Define AJAX Chat user roles: 
define('AJAX_CHAT_CHATBOT',      4); 
define('AJAX_CHAT_ADMIN',      3); 
define('AJAX_CHAT_MODERATOR',   2); 
define('AJAX_CHAT_USER',      1); 
define('AJAX_CHAT_GUEST',      0); 
define('AJAX_CHAT_VIP',      5);
VIP Members, Uploader, Supporter, online list of color?

Re: [RC] AJAX Chat

Posted: Sat Nov 22, 2008 3:27 pm
by muggins
easygo wrote:Means you have just to place a chat link like

Code: Select all

<a href="{YOUR_CHAT_PATH}">Chat</a>
e.g. in the overall_header.html of your phpBB3 style(s)
Lord, 94 pages....

I have this working just fine as it is, but my users have requested that i make the chat link show up in red if there are people in chat. I am not enough of a programmer to puzzle it out on my own, I fear, but something like this, maybe?

In functions.php, the existing code is:

Code: Select all

'U_CHAT'     => append_sid("{$phpbb_root_path}/chat/index.$phpEx"),
'CHAT_LABEL'   => 'Chat ['.count(getChatOnlineUserIDs()).']',
'CHAT_TITLE'    => 'Online: '.htmlentities(implode(', ', getChatOnlineUsers()), ENT_QUOTES, 'UTF-8'), 
Can I do something like:

Code: Select all

'U_CHAT'      => append_sid("{$phpbb_root_path}/chat/index.$phpEx"),
              
If (count(getChatOnlineUserIDs()>0) {
'CHAT_LABEL'     => color="FF0000" 'Chat ['.count(getChatOnlineUserIDs()).']',  else,
'CHAT_LABEL'  => 'Chat ['.count(getChatOnlineUserIDs()).']', }

'CHAT_TITLE'   => 'Online: '.htmlentities(implode(', ', getChatOnlineUsers()), ENT_QUOTES, 'UTF-8'), 
I know that it looks horrible, but it certainly proves my contention that I am no programmer... :oops:

Re: [RC] AJAX Chat

Posted: Sat Nov 22, 2008 5:55 pm
by Potleg
I'm looking for a method to unistall this Ajax chat as i now have an ijax chat within the forums and that chat is conflictiong with this current chat.

is there a method to uninstall this chat?

the link for the chat is here: www.xglclan.co.uk/forums/chat

Re: [RC] AJAX Chat

Posted: Sat Nov 22, 2008 6:33 pm
by katib
Hello
Is it possible to add an Edit button near the Delete button in the Shoutbox !?
Thank you

Re: [RC] AJAX Chat

Posted: Sun Nov 23, 2008 5:16 pm
by Frug
Potleg wrote:I'm looking for a method to unistall this Ajax chat as i now have an ijax chat within the forums and that chat is conflictiong with this current chat.

is there a method to uninstall this chat?

the link for the chat is here: http://www.xglclan.co.uk/forums/chat
Delete the folder containing the chat, delete the modifications you made to your phpbb3 files, and delete the 4 database tables that begin with the words ajax_chat.

Re: [RC] AJAX Chat

Posted: Mon Nov 24, 2008 12:06 am
by nexans76
ImageImage

ImageImage

what kind of changes are needed? install.xml? how is it necessary to make it?

Re: [RC] AJAX Chat

Posted: Mon Nov 24, 2008 12:10 am
by nexans76
what kind of changes are needed? install.xml? how is it necessary to make it?