[ABD] AJAX Chat

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
br0nks
Registered User
Posts: 13
Joined: Wed May 02, 2007 12:11 am

Re: [RC] AJAX Chat

Post by br0nks » Wed Oct 01, 2008 4:03 pm

easygo wrote:
br0nks wrote:hm.. i just only add users...
i dont have phpbb3, i install ajax chat without any integration of any boards..
do u know what problem i have? and how to resolve it?
No br0nks, I don't as it's even hardly to reproduce something
without having the same mod installed, you know.

Anyway, try to add new users as follows ::

Code: Select all

$users[3] = array();
$users[3]['userRole'] = AJAX_CHAT_USER;
$users[3]['userName'] = 'user';
$users[3]['password'] = 'user';
$users[3]['channels'] = array(0,1);

$users[4] = array();
$users[4]['userRole'] = AJAX_CHAT_USER;
$users[4]['userName'] = 'user2';
$users[4]['password'] = 'user2';
$users[4]['channels'] = array(0,1);
Note that their ID should be an unique integer.

That's all from my side. Go here for none-phpbb3 support ::

http://ajax-chat.wiki.sourceforge.net/

yes, i know how to add members:) cause i have about 400 added. but that error only shown to new people.. so that is wired.. and that support sucks.. when i go to chat.. they banned me ;/ so.. if support of that scipt is so bad.. i dont want to talk with they..

so.. dont you know how to add new group in non-phpbb version of that?\

big thanks anyway for everything! ;)

numberonejrio
Registered User
Posts: 42
Joined: Wed Oct 01, 2008 12:46 am

Re: [RC] AJAX Chat

Post by numberonejrio » Thu Oct 02, 2008 1:10 am

Having a problem here.

Whenever I try to log in....... I get this.

Code: Select all

Query: SELECT userID, userName, userRole, channel, UNIX_TIMESTAMP(dateTime) AS timeStamp, ip FROM numberon_ajax.ajax_chat_online ORDER BY userName; Error-Report: SELECT command denied to user 'numberon_phpbb3'@'localhost' for table 'ajax_chat_online' Error-Code: 1142
Any help?

User avatar
easygo
Registered User
Posts: 689
Joined: Sun Oct 31, 2004 4:23 pm
Contact:

Re: [RC] AJAX Chat

Post by easygo » Thu Oct 02, 2008 9:36 am

numberonejrio wrote:Whenever I try to log in....... I get this.

Code: Select all

Query: SELECT userID, userName, userRole, channel, UNIX_TIMESTAMP(dateTime) AS timeStamp, ip FROM numberon_ajax.ajax_chat_online ORDER BY userName; Error-Report: SELECT command denied to user 'numberon_phpbb3'@'localhost' for table 'ajax_chat_online' Error-Code: 1142
I see 2 different prefixes. Thus, there are 2 databases in use, right?

If so, this may cause your access problems.
br0nks wrote:so that is wired.. and that support sucks.. when i go to chat.. they banned me ;/ so.. if support of that scipt is so bad.. i dont want to talk with they..

so.. dont you know how to add new group in non-phpbb version of that?\
Yeah, I get it now, but sorry br0nks: NOT here! Look me up at home and we will see.
br0nks wrote:big thanks anyway for everything! ;)
You're welcome. :)
Casual developer for AJAX Chat on behalf of the author / Arcade Center powered by phpBB Arcade

A problem well put is half solved. (John Dewey, 1859–1952)

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] AJAX Chat

Post by katib » Thu Oct 02, 2008 9:20 pm

Hello
Tank you very much for this nice chat script
I intergrade it to my forum as a shoutbox
The problem is that whenever a user refresh the page, all previous messages at scrolling window desappear leaving only last 10 messages
Is ther any way to increase this number so user can browser back to more messages ?

ImageImage

User avatar
easygo
Registered User
Posts: 689
Joined: Sun Oct 31, 2004 4:23 pm
Contact:

Re: [RC] AJAX Chat

Post by easygo » Thu Oct 02, 2008 10:30 pm

katib wrote:The problem is that whenever a user refresh the page, all previous messages at scrolling window desappear leaving only last 10 messages
Is ther any way to increase this number so user can browser back to more messages ?
Yeah, open chat/lib/config.php in your text editor and find/change this setting.

Code: Select all

// Max number of messages to display on each request:
$config['requestMessagesLimit'] = 10;
Casual developer for AJAX Chat on behalf of the author / Arcade Center powered by phpBB Arcade

A problem well put is half solved. (John Dewey, 1859–1952)

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] AJAX Chat

Post by katib » Thu Oct 02, 2008 11:55 pm

easygo wrote:
Yeah, open chat/lib/config.php in your text editor and find/change this setting.

Code: Select all

// Max number of messages to display on each request:
$config['requestMessagesLimit'] = 10;
thank you very much easygo
Yes !! :lol:
that was the magic key !!!!

Other quetions:
1- How to enable the Chatbot on shoutbox ? in fact, I need ALL the chat features WITHOUT the following settings buttons:( so users dont get confused)
Image

2- How to add a delet icon near each message in shoutbox like this one on the full chat ??
ImageImage

User avatar
easygo
Registered User
Posts: 689
Joined: Sun Oct 31, 2004 4:23 pm
Contact:

Re: [RC] AJAX Chat

Post by easygo » Fri Oct 03, 2008 12:49 am

katib wrote:2- How to add a delet icon near each message in shoutbox like this one on the full chat ??
Should be already there :? and for users, depending on your chat/js/config.js settings

Code: Select all

	// Allow/disallow registered users to delete their own messages:
	allowUserMessageDelete: true,
Isn't it?
Casual developer for AJAX Chat on behalf of the author / Arcade Center powered by phpBB Arcade

A problem well put is half solved. (John Dewey, 1859–1952)

sathsara
Registered User
Posts: 137
Joined: Sun Sep 07, 2008 9:33 am
Location: Sri Lanka

Re: [RC] AJAX Chat

Post by sathsara » Fri Oct 03, 2008 7:19 am

Can anythone help me to fix this?

XML Parsing Error: junk after document element
Location: http://clubjvc.site88.net/chat/
Line Number 388, Column 1:<script type="text/javascript">
^
I did everything in order but this is what i got when i go to the chat,

User avatar
easygo
Registered User
Posts: 689
Joined: Sun Oct 31, 2004 4:23 pm
Contact:

Re: [RC] AJAX Chat

Post by easygo » Fri Oct 03, 2008 11:00 am

Well, but your analytics script in line 388, which may cause
the error, is not a part of this mod! I'm pretty sure.
Casual developer for AJAX Chat on behalf of the author / Arcade Center powered by phpBB Arcade

A problem well put is half solved. (John Dewey, 1859–1952)

sathsara
Registered User
Posts: 137
Joined: Sun Sep 07, 2008 9:33 am
Location: Sri Lanka

Re: [RC] AJAX Chat

Post by sathsara » Fri Oct 03, 2008 3:26 pm

sathsara wrote:Can anythone help me to fix this?

XML Parsing Error: junk after document element
Location: http://clubjvc.site88.net/chat/
Line Number 388, Column 1:<script type="text/javascript">
^
I did everything in order but this is what i got when i go to the chat,
but im a hv no experience can u explain a bit more?, :(

Craig Snyder
Registered User
Posts: 73
Joined: Sat May 19, 2007 2:45 pm

Re: [RC] AJAX Chat

Post by Craig Snyder » Fri Oct 03, 2008 10:42 pm

Is there a way I can disable the shoutbox from showing as people entering the chat? For example, when people load the shoutbox, it shows they enter the chat. I only want them to be shown as entering when they click the actual chat link and use the whole chat itself, not the shoutbox.

satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm

Re: [RC] AJAX Chat

Post by satandream » Sat Oct 04, 2008 3:09 pm

Where can you find this in function.php?

Code: Select all

 $online_userlist .= ($online_userlist != '') ? ', ' . $user_online_link : $user_online_link;
I cant see online users in chat after update to 3.0.2

I have this now

Code: Select all

					$user_online_link = get_username_string(($row['user_type'] <> USER_IGNORE) ? 'full' : 'no_profile', $row['user_id'], $row['username'], $row['user_colour']);

if(in_array($row['user_id'], getChatOnlineUserIDs()))
                      {
                         $user_online_link = '<span title="* = '.strip_tags($row['username']).' is logged into the Chat">'.$user_online_link.'*</span>';
                      }
					$online_userlist .= ($online_userlist != '') ? ', ' . $user_online_link : $user_online_link;
				}
			}
		}
		$db->sql_freeresult($result);
	}

sathsara
Registered User
Posts: 137
Joined: Sun Sep 07, 2008 9:33 am
Location: Sri Lanka

Re: [RC] AJAX Chat

Post by sathsara » Sun Oct 05, 2008 11:41 am

sathsara wrote:
sathsara wrote:Can anythone help me to fix this?

XML Parsing Error: junk after document element
Location: http://clubjvc.site88.net/chat/
Line Number 388, Column 1:<script type="text/javascript">
^
I did everything in order but this is what i got when i go to the chat,
but im a hv no experience can u explain a bit more?, :(
anyone to help me???

User avatar
easygo
Registered User
Posts: 689
Joined: Sun Oct 31, 2004 4:23 pm
Contact:

Re: [RC] AJAX Chat

Post by easygo » Sun Oct 05, 2008 4:04 pm

Yeah, I guess it's way easier to quote yourself again and again
rather than researching into an already known issue.

Anyway! Don't stop that rap @ sathsara
Casual developer for AJAX Chat on behalf of the author / Arcade Center powered by phpBB Arcade

A problem well put is half solved. (John Dewey, 1859–1952)

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] AJAX Chat

Post by katib » Sun Oct 05, 2008 5:14 pm

easygo wrote:
Should be already there :? and for users, depending on your chat/js/config.js settings

Code: Select all

	// Allow/disallow registered users to delete their own messages:
	allowUserMessageDelete: true,
Isn't it?
Thanks again easygo
Yes !!
it is already there
only the samll gif image showing "X" wasnot there
now everything is ok

But what about allwin chatbot informative messages on shoutbox !!?

Locked

Return to “[3.0.x] Abandoned MODs”