Page 1 of 1

How do i put Ajax Chat & shoutbox in portal

Posted: 14. May 2009 03:55
by tomz
Guys,
need help

ive install n modify the files but still dont appear at portal for chat and shoutbox

and one more, why .mod also not appear for chat

thanks

Re: How do i put Ajax Chat & shoutbox in portal

Posted: 14. May 2009 19:54
by mej284
To get AJAX Chat to work with Board3Portal

Open: portal.php
find:

Code: Select all

include($phpbb_root_path . 'portal/includes/lang_adm_additional_blocks.'.$phpEx);
Add after:

Code: Select all

// begin: AJAX Chat
include($phpbb_root_path . 'shout .' .$phpEx);
// end: AJAX Chat
Open: template/portal/portal_body.html
find:

Code: Select all

<!-- [+]  center block area -->
     <td valign="top">
After add:

Code: Select all

<!-- INCLUDE chat_body.html -->
Go to ACP>Styles>templates select refresh on the style you are working.

Re: How do i put Ajax Chat & shoutbox in portal

Posted: 12. June 2010 04:45
by kolja
Hello

I installed the mod (AC2.0.0.B8) into my phpbb3.0.7 and it works well :D
and then i did the changes from the post on top.

But i get sadly this:

Code: Select all

[phpBB Debug] PHP Notice: in file /portal.php on line 25: include(./shout .php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /portal.php on line 25: include() [function.include]: Failed opening './shout .php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4328: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3502)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4330: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3502)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4331: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3502)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4332: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3502)
Then i tried to change this line 25:

Code: Select all

include($phpbb_root_path . 'shout .' .$phpEx); old
include($phpbb_root_path . 'shout.' . $phpEx); new
like the others include() look like

but then i get this error:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: strtr() [function.strtr]: The second argument is not an array
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: strtr() [function.strtr]: The second argument is not an array
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: strtr() [function.strtr]: The second argument is not an array
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: strtr() [function.strtr]: The second argument is not an array
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: strtr() [function.strtr]: The second argument is not an array

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/reggae-party.de/htdocs/vierzwei/includes/functions.php:3502) in /var/www/virtual/reggae-party.de/htdocs/vierzwei/includes/functions.php on line 3552
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [1064]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
Can anybody help me with this problem ?

Greets Kolja

Re: How do i put Ajax Chat & shoutbox in portal

Posted: 12. June 2010 10:54
by Marc

Re: How do i put Ajax Chat & shoutbox in portal

Posted: 12. June 2010 14:46
by kolja
I will, but there is no Version for phpbb3.0.7.
http://www.phpbb.com/customise/db/mod/mchat_new_version

Kolja

Re: How do i put Ajax Chat & shoutbox in portal

Posted: 12. June 2010 17:25
by Marc
And AJAX Chat? That one is like almost 2 years old and was never updated for phpBB 3.0.6. :?

Re: How do i put Ajax Chat & shoutbox in portal

Posted: 12. June 2010 23:31
by kolja
OK, mChat runs !

Thank you very much!

Kolja