I'll try that to see if it'll help.
--
You received this message because you are subscribed to the Google Groups "AJAX-chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ajax-chat+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have PHPBB 3.1.8 installed on a different domain. No extensions, No language packs. It gives that same error message before logging in. After login, goes to the forum login screen with this message: "You have specified an incorrect username. Please check your username and try again. If you continue to have problems please contact the Board Administrator.". I tried the one potential fix and it does the same thing. Not sure why.
v0.8.8 works on 3.1.8 and probably fine on 3.1.9.
Just installing chat doesn't require any use of extensions although the shoutbox can probably be done using their new extensions system. The old way should still work until then.
On Thursday, 14 April 2016 05:54:38 UTC-4, Marcus Schreiter wrote:
Any news regarding working chat on 3.1.8?
I tried many chat systems without beeing so happy as I was with this on phpbb3.0..Would be great to have chats again.Phpbb3.1 uses a really smart extension system. Isn't it possible to get our ajax chat installed using the ext-folder-tree?Frug has to rewrite the code, I know..Nevertheless, great work! Keep working on this :-)Best RegardsMarcusAm Sonntag, 10. April 2016 22:43:24 UTC+2 schrieb Bobby Russ:
I'll try that to see if it'll help.
Actually I suppose a plugin could break the database connection that chat uses. I'm not sure why or how they would do that, as that sounds like a terrible idea. You could have chat make its own db connection to bypass using the one phpbb gives it by commenting out this line: https://github.com/Frug/AJAX-Chat/blob/phpbb3.1/chat/lib/class/CustomAJAXChat.php#L20
And then put your database username/password inside your config.php. This should force chat to make its own connection.Unfortunately if that doesn't solve it, I can't help much. I can't support every phpbb plugin that wants to break random things. You may have luck asking the plugin authors.On Sunday, 10 April 2016 11:41:04 UTC-4, Frug wrote:I haven't been able to reproduce this myself, I don't see how plugins would prevent chat from displaying text. Usually the inability to see the messages you type is something else, either cookies related, a bad mysql server timezone setting, or javascript crashing because of bad xml from the server.Please provide access to your chat if you want someone to take a look. I don't want to register on everyone's forum or answer sports related questions to try to gain access.
On Thursday, 7 April 2016 22:49:36 UTC-4, No No wrote:Lots of people are having the issue and I think it has something to do with extensions on phpbb but frug or anyone else that has worked on this chat script has been silent for a while now. I have noticed that when enabling/disabling extensions or purging cache from the acp allows the chat to work for a short period if time.
On Thursday, April 7, 2016 at 10:55:44 AM UTC-5, 5thAvenueForum wrote:I have Frug's 3.1 fix installed but I'm having the issue where when I log into the actual chat, nothing I type shows up in the chat room and no names show up on the right hand side.http://fifthavenueforum.com is my website and this is my chat page - http://fifthavenueforum.com/forum/chat/index.phpDoes anyone have a fix for this issue?
--
You received this message because you are subscribed to the Google Groups "AJAX-chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ajax-chat+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "AJAX-chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ajax-chat+unsubscribe@googlegroups.com.
Still can't type text that will send.
-----
"Dance as if no one were watching,
Sing as if no one were listening,
Live everyday as if it were your last,
and love as if you've never been hurt."
- Irish Proverb
--
Still can't type text that will send.
Log into your forum normally. Then open chat.
-------
"Dance as if no one were watching,
Sing as if no one were listening,
Live everyday as if it were your last,
and love as if you've never been hurt."
- Irish Proverb
--
You received this message because you are subscribed to the Google Groups "AJAX-chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ajax-chat+unsubscribe@googlegroups.com.
Any idea on my issue frug? I'd like to move away from the half working 0.8.7 with phpbb 3.1 that I have running.
--
You received this message because you are subscribed to the Google Groups "AJAX-chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ajax-chat+...@googlegroups.com.
function getShoutBoxContent(){ global $phpEx, $phpbb_root_path;
function getShoutBoxContent(){ global $phpEx, $phpbb_root_path, $request; $request->enable_super_globals();
$chatters = '';
$sql = 'SELECT u.user_id, u.username, u.user_colour FROM ajax_chat_online c, ' . USERS_TABLE . ' u
WHERE c.userID = u.user_id';
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result)) {
$chatters .= get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']) . ', ';
}
$db->sql_freeresult($result);
if ($chatters == '') {$chatters = 'Keine Mitglieder im Chat';}
else {$chatters = '<b>Im Chat:</b></a><br />' . substr($chatters, 0, -2);}
To unsubscribe from this group and stop receiving emails from it, send an email to ajax-chat+...@googlegroups.com.
var_dump($_GET);die();
//Initialize the chat:
Prioritising event listeners (optional)
Sometimes different extensions can run into problems when competing for use of the same PHP core events. In trying to resolve these issues, the extension developer may want to prioritise their extension over others, so that their extension will be triggered before other extensions.
https://area51.phpbb.com/docs/dev/31x/extensions/tutorial_events.html
$dbpasswd = 6eRS[60p.;
// phpBB 3.1.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'phpbb\\db\\driver\\mysqli';
$dbhost = 'localhost';
$dbport = '';
$dbname = 'iwt21_iwnt';
$dbuser = 'iwnt21_iant';
$dbpasswd = '6eNRS[60p.';
Could the problem be in paths ?
I a trying to get this chat to work today :)
copies:
I'm experiencing some major problem while migrating my site from phpBB 3.0 to 3.1
https://www.phpbb.com/community/viewtopic.php?f=466&t=2283661
I'd like to point out that $phpbb_root_path as nothing to do with the URL! It's related to the filesystem path to the phpBB installation directory, relative to the current executing PHP script (intended as "PHP file"). In a very basic scenario you can ignore the difference, but when mod_rewrites are in it's important to work it in the right way.
Since I needed to fix this issue quickly, I punched through with an horror such as this (SiteDir is a constant defined as the path to my site root, i.e. /user/site/):
http://stackoverflow.com/questions/20384292/relative-path-issue-when-including-phpbb-code
My forum folder is (root path)/forums/, so this works perfectly as long as the executing script is in the root folder of the domain. However, if I try to include this code from another folder, it throws the following error:
http://stackoverflow.com/questions/20384292/relative-path-issue-when-including-phpbb-code
I think the path was really one problem.
If I add chat index into phpbb root it gets connection to database. So one have to add the file into root of phpbb.
--------------
Now I am step closer, however now getting this error:
Illegal use of $_SERVER. You must use the request class or request_var() to access input data. Found in /home/iwant21/public_html/site/lib/class/AJAXChat.php on line 400. This error message was generated by deactivated_super_global.
I think I could solve that:
Problem is that PHPbb 3.1 do not allow superglobals like $_SERVER:
I could use instead of this:
$_SERVER['REMOTE_ADDR'])) {
$this->logout('IP');
I could use this:
The user of super globals has been disabled in 3.1.x. I was forced to modify my code to avoid use of $_SERVER.
You should use something like this:
$this->request->server('REMOTE_ADDR')
or
$request->server('REMOTE_ADDR')
if request is a lokal object.
https://www.phpbb.com/community/viewtopic.php?f=466&t=2279446
OR BY THIS
$request->enable_super_globals();
$form->some_function_that_ends_up_using_a_server_variable();
$request->disable_super_globals();
https://area51.phpbb.com/phpBB/viewtopic.php?f=108&t=45027
From <https://groups.google.com/forum/#!topic/ajax-chat/Q6Uap32ayro>