Chat за phpbb

Admin

Registered
файлове:
http://web-tourist.net/download/shaoutbox.zip


Код:
############################################################## 
## 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
 

stasir

Registered
#-----[ 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)
Само това незнам как да направя може ли помощ ?
 

hrischo

Registered
stasir каза:
#-----[ 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)
Само това незнам как да направя може ли помощ ?
Отваряш PHPMYADMIN -->избираш базата данни на форума ти -->след това полето SQL и там слагаш този код(кода започва от CREATE TABLE phpbb_shout ) :wink:
 

Admin

Registered
stasir каза:
#-----[ 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)
Само това незнам как да направя може ли помощ ?

Достатъчно е да направиш само това:



myadmin.jpg


Влизаш в базата си данни през phpmyadmin-a -> натискаш върху бутона SQL (както е на картинката) ->слагаш кода и даваш "изпълни" (или там както е при тебе).


:)
 

astor

Registered
Ако можете направете ми файловете че нещо бъркам и незнам къде


define('SHOUT_TABLE', $table_prefix . 'shout');
Warning: Cannot modify header information - headers already sent by (output started at /home/www/tatul.freehostia.com/includes/constants.php:183) in /home/www/tatul.freehostia.com/includes/sessions.php on line 366

Warning: Cannot modify header information - headers already sent by (output started at /home/www/tatul.freehostia.com/includes/constants.php:183) in /home/www/tatul.freehostia.com/includes/sessions.php on line 367
$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"';
Warning: Cannot modify header information - headers already sent by (output started at /home/www/tatul.freehostia.com/includes/constants.php:183) in /home/www/tatul.freehostia.com/includes/page_header.php on line 509

Warning: Cannot modify header information - headers already sent by (output started at /home/www/tatul.freehostia.com/includes/constants.php:183) in /home/www/tatul.freehostia.com/includes/page_header.php on line 511

Warning: Cannot modify header information - headers already sent by (output started at /home/www/tatul.freehostia.com/includes/constants.php:183) in /home/www/tatul.freehostia.com/includes/page_header.php on line 512
 

astor

Registered
НАПИШЕТЕ МИ МОЛЯВИ ПРАВИЛНО ТОЗИ ЧАТ КАДЕ ТРЯБВА ТОЧНО ДА СЕ СЛОЖАТ ТЕЗИ НЕЩА ЧЕ АЗ ГИ СЛАГАМ АМА УЖ НА ПРАВЕЛНОТО МЯСТО ПЪК НЕ Е ДАВА ГОРНАТА ГРЕШКА АЗ СЪМ НАПРАВИЛ SQL
 

astor

Registered
ИМАМ ПРОБЛЕМ С ЧАТА КОГАТО НАТИСНА 2 ПАТИ НА МЯСТОТО КАЕТО СЕ ПИШЕ ИЗЛИЗА СТАРОТО КОРТО СЪМ ПИСАЛ НО НЕ Е ЗАЛЕПЕНО ЗА ТАМ КАДЕТО СЕ ПИШЕ А ПО НАДОЛО И КАТО ДАМ НАГОРЕ НАДОЛО СЕ МАРДА

АКО НЕ СТЕ РАЗБРАЛИ ЩТЕ ГО НАПИША ПО ДРУГ НАЧИН ИЛИ МИ ДАИТЕ ДА ВИДЯ НИАКОИ ФОРУМ С ТАКАВ 4АТ


Image4.jpg
 

kenibal

Registered
Много моля. някой ако може да ми даде работещ линк към нужните файловете.
 

cerberpeter

Registered
kenibal каза:
Много моля. някой ако може да ми даде работещ линк към нужните файловете.
и на мен ми трябват :lol:
 

Горе