Krátke citovanie
Ak vas nebavi mat stale v citovaniach 4-5dalsich citovani tak tu je pre vas riesenie
Kód:
##############################################################
## MOD Title: Short quote
## MOD Author: JanoF < webmaster@pcforum.sk > (Jan Fecik) http://www.pcforum.sk/ & http://www.phpbb.sk/
## MOD Description: This MOD be instrumental to short quote :o)
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 3 minutes
## Files To Edit: posting.php
## Included Files:
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
## Generator: MOD Studio
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: Update 22.10.2005 - Thanks Yoz & _rasel^
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------
#
$quote_username = ( trim($post_info['post_username']) != '' ) ? $post_info['post_username'] : $post_info['username'];
$message = '[quote="' . $quote_username . '"]' . $message . '[/quote]';
#
#-----[ REPLACE WITH ]------------------------------------------
#
$quote_username = ( trim($post_info['post_username']) != '' ) ? $post_info['post_username'] : $post_info['username'];
{
$message = preg_replace('/(\[quote=(.*?)\]((.|)*)\[\/quote\][\s]*)/si',"",$message);
}
$message = '[quote="' . $quote_username . '"]' . $message . '[/quote]';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Zakázanie obrázkov v podpisochOtvor subor viewtopic.php
Vyhladaj
Kód:
$template->assign_block_vars('postrow', array(
'ROW_COLOR' => '#' . $row_color,
Pridaj
Kód:
if (substr_count($user_sig, 'http') > 0 || substr_count($user_dig, 'www') > 0) {
$user_sig = str_replace("<img", htmlspecialchars("<img"), $user_sig);
$user_sig = str_replace(' border="0"', "", $user_sig);
$user_sig = str_replace("/>", ">", $user_sig);
}
http://www.phpbbdoctor.com/code/sig_ima ... .1.0.1.txt http://www.phpbbhacks.com/download/1591 http://www.phpbb.com/phpBB/viewtopic.php?t=168891 http://www.phpbb.com/phpBB/viewtopic.php?p=1610925 Kód:
#
#-----[ OPEN ]------------------------------------------
#
lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// BEGIN Convert Images in Signatures to Links
$lang['Image_replacement_text'] = 'Klikni zde pro zobrazení obrázku';
// END Convert Images in Signatures to Links
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
//
// Note! The order used for parsing the message _is_ important, moving things around could break any
// output
//
#
#-----[ After, ADD ]------------------------------------------
#
// BEGIN Convert Images in Signatures to Links
$user_sig = preg_replace ("#\[img:$user_sig_bbcode_uid\](.*?)\[/img:$user_sig_bbcode_uid\]#is", '[url=\1]' . $lang['Image_replacement_text'] . '[/url]', $user_sig);
// END Convert Images in Signatures to Links
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#