[BETA] AJAX Chat MOD

MODs and Styles for phpBB3.

To post your MOD or style, go to the STG MOD Manager
Forum rules
Go to http://startrekguide.com/mods to submit your MOD or style

Re: [BETA] AJAX Chat MOD

Postby dexy-lenica » 19 Mar 2012, 22:49

Hi all. l have BIG problem with Ajax chat instalation. The problem is next!
l m going step by step instalation instruction, but l have this error:

SQL ERROR [ mysql4 ]

Incorrect string value: '\xE2\x99\xA5 Le...' for column 'username' at row 1 [1366]

SQL

INSERT INTO phpbb_chat_sessions (user_id, username, user_colour, user_login, user_lastupdate) VALUES ('2', 'DeXy ♥ LeNiCu', '00FF33', 1332215564, 1332215564)

BACKTRACE

FILE: [ROOT]/includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: [ROOT]/shout.php
LINE: 90
CALL: dbal_mysql->sql_query()

FILE: [ROOT]/index.php
LINE: 29
CALL: include('[ROOT]/shout.php')

when l add this code in my index.php:

//-- mod : AJAX Chat ----------------------------------------------------
//-- add
include($phpbb_root_path . 'shout.' . $phpEx);
//-- fin mod : AJAX Chat ------------------------------------------------

after: $user->setup('viewforum');

I tried to transfer the shout.php at includes folder in my directory, then the forum works, but throws this error via Header:

[phpBB Debug] PHP Warning: in file [ROOT]/index.php on line 29: include(./shout.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/index.php on line 29: include(./shout.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/index.php on line 29: include() [function.include]: Failed opening './shout.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4674: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4675: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4676: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)

On my other forum I installed without any problems, but this can not be. Here i print screen!
http://www.dodaj.rs/f/u/LA/KAKKCpQ/ajax.png

Does anyone know how to solve this problem? I tried to replace the files that need to edit, the forum in which to chat, I asked a million people, nobody knows, we tried in all ways, but nothing helps. : (

P.S. When I added up the browser "chat_install.php?mode=install", it said that I have successfully installed the chat and I delete the file from the root folder, and then this was a mistake.
Help! Thank you advance!
dexy-lenica
Crewman
Crewman
 
Posts: 4
Joined: 19 Mar 2012, 22:01
Gender: Male
phpBB Knowledge: 1


Re: [BETA] AJAX Chat MOD

Postby dexy-lenica » 20 Mar 2012, 01:38

dexy-lenica wrote:Hi all. l have BIG problem with Ajax chat instalation. The problem is next!
l m going step by step instalation instruction, but l have this error:

SQL ERROR [ mysql4 ]

Incorrect string value: '\xE2\x99\xA5 Le...' for column 'username' at row 1 [1366]

SQL

INSERT INTO phpbb_chat_sessions (user_id, username, user_colour, user_login, user_lastupdate) VALUES ('2', 'DeXy ♥ LeNiCu', '00FF33', 1332215564, 1332215564)

BACKTRACE

FILE: [ROOT]/includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: [ROOT]/shout.php
LINE: 90
CALL: dbal_mysql->sql_query()

FILE: [ROOT]/index.php
LINE: 29
CALL: include('[ROOT]/shout.php')

when l add this code in my index.php:

//-- mod : AJAX Chat ----------------------------------------------------
//-- add
include($phpbb_root_path . 'shout.' . $phpEx);
//-- fin mod : AJAX Chat ------------------------------------------------

after: $user->setup('viewforum');

I tried to transfer the shout.php at includes folder in my directory, then the forum works, but throws this error via Header:

[phpBB Debug] PHP Warning: in file [ROOT]/index.php on line 29: include(./shout.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/index.php on line 29: include(./shout.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/index.php on line 29: include() [function.include]: Failed opening './shout.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4674: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4675: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4676: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)

On my other forum I installed without any problems, but this can not be. Here i print screen!
http://www.dodaj.rs/f/u/LA/KAKKCpQ/ajax.png

Does anyone know how to solve this problem? I tried to replace the files that need to edit, the forum in which to chat, I asked a million people, nobody knows, we tried in all ways, but nothing helps. : (

P.S. When I added up the browser "chat_install.php?mode=install", it said that I have successfully installed the chat and I delete the file from the root folder, and then this was a mistake.
Help! Thank you advance!


I found what was broblem. :) Here I will explain in the future if someone happens the same mistake!
These are the names of the profile of me and my girls when we installed the chat "DeXy ♥ LeNiCu" "LeNiCa ♥ DeXyA" and blanket. The whole problem was in this "♥"! :lol:
I seem to flash animation, which phpbb can not evident as usual <3 that is used.
All in all, I hope to help someone who happened to be something like this. Hello and sorry moderators because we hung topic in the wrong place!
l m so happy now!!! :yahoo: :yahoo: :yahoo: :yahoo:
dexy-lenica
Crewman
Crewman
 
Posts: 4
Joined: 19 Mar 2012, 22:01
Gender: Male
phpBB Knowledge: 1

Re: [BETA] AJAX Chat MOD

Postby lamaka » 09 Apr 2012, 06:53

Hi!
Sorry, but I do not speak English.
I install this mod chat. It works perfectly. Is there a question you can do so by clicking on the user's nickname, his nickname was printed in the field "message"?

chat_screen.jpg

I will be very grateful for the help!!!
lamaka    
Crewman
Crewman
 
Posts: 1
Joined: 09 Apr 2012, 05:00
Gender: Male
phpBB Knowledge: 1

Re: [BETA] AJAX Chat MOD

Postby triple_h » 11 Apr 2012, 08:19

ok here we go. I used the search keyword 'database' and couldnt find quit what im looking for.

I have 2 seperate phpbb installations using the same data base. clanraw.com and joinnoc.net. I did this so i could share users and forums. I would like to share the chat data base tables now. i thought i could figure it out but i cant seem the correct edits to share with my main installation of ajax chat. Any ideas?
triple_h    
Crewman
Crewman
 
Posts: 1
Joined: 09 Sep 2011, 02:31
Gender: Male
phpBB Knowledge: 3

Re: [BETA] AJAX Chat MOD

Postby wads24 » 25 Apr 2012, 11:02

How would I make a sound play with every new post in chat?
User avatar
wads24
Supporter
Supporter
 
Posts: 83
Joined: 04 Jul 2007, 00:55
Gender: Male

Re: [BETA] AJAX Chat MOD

Postby gmonly » 28 Apr 2012, 18:06

when i try to add (after my site) to the address bar - chat_install.php?mode=install, (i have also tried: forums, adm, index, .php and all after the other, then taking the last off till it was forums/adm) i get a code 404. instead of seeing a chatbox, (which i want it under the header, not over it, at the top of my forum sections) i am seeing at the top of my site, is their any way to fix this:

phpBB Debug] PHP Warning: in file [ROOT]/index.php on line 30: include(./shout.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/index.php on line 30: include(./shout.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/index.php on line 30: include() [function.include]: Failed opening './shout.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4674: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4676: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4677: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4678: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
gmonly
Crewman
Crewman
 
Posts: 2
Joined: 28 Apr 2012, 17:21
Gender: Male

Re: [BETA] AJAX Chat MOD

Postby gmonly » 03 May 2012, 21:18

i finally got it to work, i had to direct the
chat_install.php?mode=install
to the right directory, and i had a few spaces (blank lines) i had to remove.
gmonly
Crewman
Crewman
 
Posts: 2
Joined: 28 Apr 2012, 17:21
Gender: Male

Re: [BETA] AJAX Chat MOD

Postby TrojanaC » 11 May 2012, 10:31

http://prntscr.com/949x6
my chat looks like that...
i dont know why..same as prosilver style (this is subsilver2)
sorry for my english i am from Serbia...
TrojanaC    
Crewman
Crewman
 
Posts: 1
Joined: 11 May 2012, 10:20
Gender: Male
phpBB Knowledge: 5

Re: [BETA] AJAX Chat MOD

Postby ElTRiC » 01 Jul 2012, 07:31

Hi,

I've installed your mod on my forum :
http://2bdc-wot.no-ip.org/ (test-user1 : logmein)

I have two glitches : in the upper side there is " { CHAT } "
and bottom :
2ème Division Blindée de Cavalerie " { CHAT_EXPLAIN } "

Have I missed something ?

Thank you !
ElTRiC
Crewman
Crewman
 
Posts: 3
Joined: 01 Jul 2012, 06:35
Gender: Male
phpBB Knowledge: 3

Re: [BETA] AJAX Chat MOD

Postby ElTRiC » 01 Jul 2012, 07:47

ElTRiC wrote:Hi,

I've installed your mod on my forum :
http://2bdc-wot.no-ip.org/ (test-user1 : logmein)

I have two glitches : in the upper side there is " { CHAT } "
and bottom :
2ème Division Blindée de Cavalerie " { CHAT_EXPLAIN } "

Have I missed something ?

Thank you !


Searching "CHAT_EXPLAIN" instead of CHAT_EXPLAIN and I found answer !

viewtopic.php?f=127&t=8675&p=126585&hilit=+CHAT_EXPLAIN+#p126587
ElTRiC
Crewman
Crewman
 
Posts: 3
Joined: 01 Jul 2012, 06:35
Gender: Male
phpBB Knowledge: 3

PreviousNext

Return to phpBB3 Customizations

Who is online

Users browsing this forum: No registered users and 10 guests