[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 primetime33 » 12 Dec 2008, 20:31

Sniper_E wrote:I can't help you with putting sound in the chat, but the files to the chat_archive.zip go here:
The chat_archive.php goes in the root of your forum.
The chat_arch_body goes in the template directory of your style. (It's a prosilver template by the way.)
You pull it up by going to http://yoursite.com/forum/chat_archive.php and it looks like it needs some work.


Thanks Sniper_E. I appreciate the help. :thumbsup:
primetime33
Ensign
Ensign
 
Posts: 70
Joined: 17 Nov 2008, 15:48
Gender: Male
phpBB Knowledge: 4


Re: [BETA] AJAX Chat MOD

Postby nicholasalipaz » 13 Dec 2008, 03:47

I posted this for those who are confused about the archive, making chat thinner, and sound in the chat:
viewtopic.php?f=127&t=8824
nicholasalipaz    
Supporter
Supporter
 
Posts: 110
Joined: 28 Jun 2007, 18:23
Location: Los Angeles, CA
Gender: Male
phpBB Knowledge: 8

Re: [BETA] AJAX Chat MOD

Postby firezz » 14 Dec 2008, 07:30

hmm.. anyone can help with the issue?
thanks
firezz    
Crewman
Crewman
 
Posts: 7
Joined: 12 Dec 2008, 13:44
Gender: Male
phpBB Knowledge: 5

Re: [BETA] AJAX Chat MOD

Postby Yuki » 14 Dec 2008, 10:15

for my last post for help
here the error when i try to install the ajax chat

Code: Select all
General Error
SQL ERROR [ sqlite ]

SQL logic error or missing database [1]

SQL

CREATE TABLE phpbb_chat ( message_id int(11) unsigned NOT NULL auto_increment, chat_id int(11) unsigned NOT NULL default '0', user_id int(11) unsigned NOT NULL default '0', username varchar(255) NOT NULL default '', user_colour varchar(6) NOT NULL default '', message text NOT NULL, bbcode_bitfield varchar(255) NOT NULL default '', bbcode_uid varchar(8) NOT NULL default '', bbcode_options tinyint(1) unsigned NOT NULL default '7', time int(11) unsigned NOT NULL default '0', PRIMARY KEY (message_id) )

BACKTRACE

FILE: includes/db/sqlite.php
LINE: 123
CALL: dbal->sql_error()

FILE: chat_install.php
LINE: 88
CALL: dbal_sqlite->sql_query()


can some one help me with this issue

thanks
Yuki    
Crewman
Crewman
 
Posts: 6
Joined: 08 Dec 2008, 15:09
Gender: Male
phpBB Knowledge: 1

Re: [BETA] AJAX Chat MOD

Postby sustao » 14 Dec 2008, 12:02

i think, there are still problems with IE 7. My users are still complaining that their browser is just freezing, like already explained in the now locked topic.

is there a solution coming!?
sustao
Cadet I
Cadet I
 
Posts: 10
Joined: 23 Nov 2008, 05:32
Gender: Male
phpBB Knowledge: 3

Re: [BETA] AJAX Chat MOD

Postby soaknfused » 14 Dec 2008, 18:43

sustao wrote:i think, there are still problems with IE 7. My users are still complaining that their browser is just freezing, like already explained in the now locked topic.

is there a solution coming!?


I had that problem, and posted about it several times in the old topic, it was fixed for me by using a new download (the one that is available in the first post of this thread) and by reducing the fastest refresh time from 5 seconds to 10.. seems that every 5 seconds was too fast for some on a slow connection, it just would hang there cycling forever and eventually lock of the browser. I have had no problems with it for about two weeks now... well, other than it showing posts twice after the first refresh...

that reminds, me.. anyone know a solution for this. When I first look at the chat, it shows the posts like this:
post 1
post 2
post 3
etc

then, after it refreshes for the first time it shows each one twice, like this:
post 1
post 2
post 3
post 1
post 2
post 3

Its not really a big deal, and it just ads them to the end of the list, but I would like to get it worted if anyone has any ideas :-)
soaknfused    
Cadet II
Cadet II
 
Posts: 21
Joined: 09 Jul 2008, 18:37
Gender: Male
phpBB Knowledge: 5

Re: [BETA] AJAX Chat MOD

Postby locoloco » 14 Dec 2008, 20:03

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3761: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3763: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3764: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3765: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)


i tried to install the chat... but a got this error ?


i dont know how to fix it
locoloco    
Crewman
Crewman
 
Posts: 5
Joined: 14 Dec 2008, 16:11
Gender: Male

Re: [BETA] AJAX Chat MOD

Postby nicholasalipaz » 15 Dec 2008, 03:31

firezz wrote:Hi,
just installed the chat mOD and wondering whether is it possible to add it on the top of the header so that when users are reading each thread, they are still able to chat and post message all the time.
i wonder whether is this code does the trick ?
<!-- INCLUDE overall_header.html -->
<!-- IF S_USER_LOGGED_IN -->
<!-- INCLUDE chat_body.html -->
<!-- ENDIF -->


I have ACP announcement and it is on the top header.. can i add any html codes to be placed here as well ,just in case ?
Mnay thanks


You should be able to include the chat in your header, by adding
<!-- INCLUDE chat_body.html -->

to your overall_header.html perhaps after wherever the code for the ACP Announcements code is. You will then need to edit all of your files where the chat will show/be called. For example, viewforum.php, viewtopic.php, viewonline.php, etc so that they include the same edit you made on your index.php for the chat.

Find (partial line):
Code: Select all
$user->setup('


After Add (on a new blank line):
Code: Select all
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
include($phpbb_root_path . 'shout.' . $phpEx);
//-- fin mod : AJAX Chat ------------------------------------------------
nicholasalipaz    
Supporter
Supporter
 
Posts: 110
Joined: 28 Jun 2007, 18:23
Location: Los Angeles, CA
Gender: Male
phpBB Knowledge: 8

Re: [BETA] AJAX Chat MOD

Postby nicholasalipaz » 15 Dec 2008, 03:35

locoloco wrote:[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3761: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3763: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3764: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3765: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)


i tried to install the chat... but a got this error ?


i dont know how to fix it


When editing language files, such as common.php:

Make sure, if you edit the language file, that your text editor saves the language file as Unicode (UTF8) and WITHOUT a BOM signature.
If your text editor saves the language file with a BOM signature, you will see an error on your forums.

List of text editors that are capable of saving without BOM signature (this list is small since I just started compiling it)
note: if you are using a Mac, you can use almost any file editor available to you.

1. ZEND
2. Dreamweaver
3. Rapid PHP 2007
4. Notepad++
nicholasalipaz    
Supporter
Supporter
 
Posts: 110
Joined: 28 Jun 2007, 18:23
Location: Los Angeles, CA
Gender: Male
phpBB Knowledge: 8

Re: [BETA] AJAX Chat MOD

Postby nicholasalipaz » 15 Dec 2008, 03:36

soaknfused wrote:
sustao wrote:i think, there are still problems with IE 7. My users are still complaining that their browser is just freezing, like already explained in the now locked topic.

is there a solution coming!?


I had that problem, and posted about it several times in the old topic, it was fixed for me by using a new download (the one that is available in the first post of this thread) and by reducing the fastest refresh time from 5 seconds to 10.. seems that every 5 seconds was too fast for some on a slow connection, it just would hang there cycling forever and eventually lock of the browser. I have had no problems with it for about two weeks now... well, other than it showing posts twice after the first refresh...

that reminds, me.. anyone know a solution for this. When I first look at the chat, it shows the posts like this:
post 1
post 2
post 3
etc

then, after it refreshes for the first time it shows each one twice, like this:
post 1
post 2
post 3
post 1
post 2
post 3

Its not really a big deal, and it just ads them to the end of the list, but I would like to get it worted if anyone has any ideas :-)


I am pretty sure there is something wrong in your template file. YOu may want to check that it is exactly the same as the original template provided.
nicholasalipaz    
Supporter
Supporter
 
Posts: 110
Joined: 28 Jun 2007, 18:23
Location: Los Angeles, CA
Gender: Male
phpBB Knowledge: 8

PreviousNext

Return to phpBB3 Customizations

Who is online

Users browsing this forum: No registered users and 7 guests