sadece smile ile cvp vermeyi engelleyen mod warmı ?
tşkkrler.
sadece smile ile cvp vermeyi engelleyen mod.
minimum karakter girmeyi koşul sayan bir mod olacaktı..ismi aklıma gelmedi..
| Site Kuralları| [ resmi görüntülemek için tıklayın ]
[ resmi görüntülemek için tıklayın ]
Türkiyenin #1 phpBB kaynağı phpbbturkey.com
[ resmi görüntülemek için tıklayın ]
Türkiyenin #1 phpBB kaynağı phpbbturkey.com
Minimum and Maximum Post Message Length buyur dostum
http://www.phpbbhacks.com/download/2137
http://www.phpbbhacks.com/download/2137
Evt var :
Kod: Tümünü seç
##############################################################
## MOD Title: Limit Images/Smilies
## MOD Author: Fubonis < php@fubonis.com > (JW Frazier) http://www.fubonis.com
## MOD Description: Limits the amount of images/smilies that can be used in posts and such.
## MOD Version: Beta 1.0.0
##
## Installation Level: Easy
## Installation Time: 10 Minutes
## Files To Edit: admin/admin_board.php, includes/bbcode.php, language/lang_english/lang_admin.php, templates/subSilver/admin/board_config_body.tpl
## Included Files: N/A
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ 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/downloads/
##############################################################
## Author Notes:
## You need to run this SQL command. Add your prefix if neccessary.
## INSERT INTO config (config_name, config_value) VALUES('image_limit', 10)
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_board.php
#
#-----[ FIND ]------------------------------------------
#
"L_RESET" => $lang['Reset'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_IMAGE_LIMIT' => $lang['Image_Limit'], // Limit Images/Smilies Mod
'IMAGE_LIMIT' => $new['image_limit'], // Limit Images/Smilies Mod
#
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php
#
#-----[ FIND ]------------------------------------------
#
function bbencode_second_pass($text, $uid)
{
global $lang, $bbcode_tpl;
#
#-----[ REPLACE WITH ]------------------------------------------
#
function bbencode_second_pass($text, $uid)
{
// Limit Images/Smilies Mod
global $lang, $bbcode_tpl, $board_config;
#
#-----[ FIND ]------------------------------------------
#
$patterns[0] = "#\[img:$uid\](.*?)\[/img:$uid\]#si";
$replacements[0] = $bbcode_tpl['img'];
#
#-----[ REPLACE WITH ]------------------------------------------
#
// Limit Images/Smilies Mod
$text = preg_replace('#\[img:' . $uid . '\](.*?)\[/img:' . $uid . '\]#si', $bbcode_tpl['img'], $text, $board_config['image_limit']);
$text = preg_replace('#\[img:' . $uid . '\](.*?)\[/img:' . $uid . '\]#si', '[img]\\1[/img]', $text);
#
#-----[ FIND ]------------------------------------------
#
$message = preg_replace($orig, $repl, ' ' . $message . ' ');
#
#-----[ REPLACE WITH ]------------------------------------------
#
// Limit Images/Smilies Mod
$message = preg_replace($orig, $repl, ' ' . $message . ' ', $board_config['image_limit']);
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Limit Images/Smilies Mod
$lang['Image_Limit'] = 'Image Limit in Posts';
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/board_config_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1">{L_ENABLE_PRUNE}</td>
<td class="row2"><input type="radio" name="prune_enable" value="1" {PRUNE_YES} /> {L_YES} <input type="radio" name="prune_enable" value="0" {PRUNE_NO} /> {L_NO}</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1">{L_IMAGE_LIMIT}</td>
<td class="row2"><input type="text" name="image_limit" value="{IMAGE_LIMIT}" /></td>
</tr>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Özellerden kullanıcılara reklam yaptığım için sayın yöneticim beni uzaklaştırdı.
Diyorsun ki verdiğiniz modlar yanlış. Bunun yerine istediğim mod bunlar değil desen daha doğru olur.
Benim verdiğim modda üyenin mesajında kullanabileceği maksimum gülümseme sayısını ayarlıyorsun.
Ayrıca sen istediğin modu herhangi bir sitede gördün mü ?
Benim verdiğim modda üyenin mesajında kullanabileceği maksimum gülümseme sayısını ayarlıyorsun.
Ayrıca sen istediğin modu herhangi bir sitede gördün mü ?
Özellerden kullanıcılara reklam yaptığım için sayın yöneticim beni uzaklaştırdı.
Kimler çevrimiçi
Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 3 misafir