Чат във форума

имам предвид файловете дето трябва да изтегля от този мод
http://web-tourist.net/login/login/view.php?st=1396
 
porostorm каза:
Ето го мода за чат във форума:
Код:
##############################################################

## MOD Title: GamerzVault Shoutbox

## MOD Author: Afterlife_69 < afterlife_69[at]hotmail[dot]com > (Dean Newman) http://www.gamerzvault.com

## MOD Description: Simple shoutbox created by Afterlife_69

## MOD Version: 0.1.0

##

## Installation Level: Easy

## Installation Time: 5 minutes

## Files To Edit: language/lang_english/lang_main.php

##                includes/constants.php

## Included Files: gv_shout.php

##                 templates/subSilver/gv_shout.tpl

##                 License: http://opensource.org/licenses/gpl-license.php GNU Public License v2

##                

## Generator: MOD Studio 3.0 Beta 2 [mod functions 0.4.1818.26949]

##############################################################

## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the

## latest version of this MOD. Downloading this MOD from other sites could cause malicious code

## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered

## in our MOD-Database, located at: http://www.phpbb.com/mods/

##############################################################

## Author Notes:

##############################################################

## MOD History:

##

##   2005-08-23 - Version 0.1.0

##

## - Wrote and released Shoutbox.

##

##############################################################

## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD

##############################################################



#

#-----[ SQL ]------------------------------------------

#

CREATE TABLE phpbb_shout (

  shout_id mediumint(8) UNSIGNED NOT NULL auto_increment,

  shout_user mediumint(255) NOT NULL,

  shout_time TEXT NOT NULL,

  shout_text TEXT NOT NULL,

  shout_bbuid varchar(255) NOT NULL,

  shout_censor tinyint(1) NOT NULL,

  KEY shout_id (shout_id)

);

#

#-----[ COPY ]------------------------------------------

#

copy gv_shout.php to gv_shout.php

copy templates/subSilver/gv_shout.tpl to templates/subSilver/gv_shout.tpl

#

#-----[ OPEN ]------------------------------------------

#

templates/subSilver/index_body.tpl

#

#-----[ FIND ]------------------------------------------

#

<table width="100%" cellpadding="1" cellspacing="1" border="0">

<tr>

  <td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>

</tr>

</table>

#

#-----[ AFTER, ADD ]------------------------------------------

#

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">

<tr>

  <th>{L_SHOUTBOX}</th>

</tr>

<tr>

  <td class="row1" height="185">

        <iframe name="shoutbox" src="{U_GVSHOUT}" marginwidth="1" marginheight="1" height="235" width="100%" border="0" frameborder="0">{L_NOIFRAMES}</iframe>

  </td>

</tr>

</table>

<br />



#

#-----[ OPEN ]------------------------------------------

#

includes/page_header.php



#

#-----[ FIND ]------------------------------------------

#

'L_WHOSONLINE_MOD' =>



#

#-----[ AFTER, ADD ]------------------------------------------

#

  'L_GVSHOUT' => $lang['gv_shout_title'],

  'L_NOIFRAMES' => $lang['gv_noiframes'],

 

  'U_GVSHOUT' => append_sid("gv_shout.$phpEx"),



#

#-----[ OPEN ]------------------------------------------

#

language/lang_english/lang_main.php



#

#-----[ FIND ]------------------------------------------

#

?>



#

#-----[ BEFORE, ADD ]------------------------------------------

#

$lang['gv_shout_title'] = 'Shoutbox';

$lang['gv_by'] = 'By';

$lang['gv_at'] = 'at';

$lang['Click_return_shoutbox'] = 'Click %shere%s to return to the shoutbox';

$lang['gv_flooddelay'] = 'Sorry but there is currently a %s second flood delay in place that you have exceeded.';

$lang['gv_shout_login'] = 'Sorry but you must be logged in to shout!';

$lang['gv_deleted'] = 'Shout deleted successfully.';

$lang['gv_censored'] = 'Shout censored successfully.';

$lang['gv_uncensored'] = 'Shout uncensored successfully.';

$lang['gv_no_shouts'] = 'There are currently no shouts in the database.';

$lang['gv_shout_submit'] = 'Shout!';

$lang['gv_delete'] = 'Delete';

$lang['gv_censor'] = 'Censor';

$lang['gv_uncensor'] = 'Uncensor';

$lang['gv_noiframes'] = 'Your browser does not support inline frames or is currently configured not to display inline frames.';

$lang['gv_shout_censorcolor'] = 'bgcolor="#FF9966"';



#

#-----[ OPEN ]------------------------------------------

#

includes/constants.php



#

#-----[ FIND ]------------------------------------------

#

?>



#

#-----[ BEFORE, ADD ]------------------------------------------

#

define('SHOUT_TABLE', $table_prefix . 'shout');



#

#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------

#

# EoM
От тук: http://store2.data.bg/porostorm/wt/phpbb/shoutbox/ можеш да свалиш и файловете, които ти трябват.
 
Ето и демо: http://77.70.64.75/forum/

горния чат, а долният е от урока, към който са ти дали лунк по-горе.
 
Как да махна флууд контрола за админите от чата
и как да направя най-новите мнения да са първи ???
а също и рефреш бутон само за чата
и бутон дето да ти отваря чата на цяла страница
 
Още един въпрос
как да направя чата да може да се отваря и в отделен прозорец
 

Back
Горе