Short quote

Priestor na prezentáciu Vašich modifikácií a vylepšení

Moderátor: Moderátori

Short quote

Poslaťod JanoF » Pon Jan 29, 2007 6:01 pm

Kód: Vybrať všetko
##############################################################
## MOD Title: Short quote
## MOD Author: JanoF < webmaster[treska]pcforum.sk > (Jan Fecik) http://www.pcforum.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
##############################################################
## 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


Edite by Leachim - kódy do code prosím
Jan.Fecik.sk (Powered by Drupal) | PCforum.sk (Powered by phpBB) | Sťahujte slovenský preklad na phpBB (phpBB2 - phpBB3)

Navštívte môj extrémne nudný blog :-)
JanoF
Expert
Expert
 
Príspevky: 454
Registrovaný: Ned Jan 28, 2007 5:40 pm
Bydlisko: Bratislava

Poslaťod prostenal1 » Ned Feb 04, 2007 8:26 am

Mohli by ste prosím vás k módom písať aj načo slúžia. Lebo ja som po instalovaný nepostrehol ziadne zmeny :(
prostenal1
Expert
Expert
 
Príspevky: 448
Registrovaný: Ned Feb 04, 2007 8:23 am
Bydlisko: http://warkey.net/

Poslaťod Leachim » Ned Feb 04, 2007 8:32 am

Keď dáš citovať správu, v ktorej je už citácia, tak tú vn=utornú citáciu to nezobere.. Takže to zabráni tomu, aby si v jednej správe mal citáciu cez dve obrazovky
Michael Watzke - Osobný blog, Bazár PC, notebookov, Tvorba WWW stránok
Nepíšte mi ohľadom phpBB, neodpovedám...
Obrázok užívateľa
Leachim
Expert
Expert
 
Príspevky: 1123
Registrovaný: Sob Jan 27, 2007 2:34 pm

Poslaťod prostenal1 » Ned Feb 04, 2007 10:30 am

dakujem
btw: Nehcete pridat tlacítko dakujem?? aby sa zbytočne nespamovalo??
prostenal1
Expert
Expert
 
Príspevky: 448
Registrovaný: Ned Feb 04, 2007 8:23 am
Bydlisko: http://warkey.net/

Poslaťod Leachim » Ned Feb 04, 2007 10:43 am

Poradíme sa vo vedení a uvidime
Michael Watzke - Osobný blog, Bazár PC, notebookov, Tvorba WWW stránok
Nepíšte mi ohľadom phpBB, neodpovedám...
Obrázok užívateľa
Leachim
Expert
Expert
 
Príspevky: 1123
Registrovaný: Sob Jan 27, 2007 2:34 pm

Poslaťod Leachim » Uto Máj 08, 2007 8:04 am

Prídavok aj do súkromných správ
Kód: Vybrať všetko
##############################################################
## MOD Title: Short quote
## MOD Author: JanoF < webmaster[treska]pcforum.sk > (Jan Fecik) http://www.pcforum.sk/
## MOD Author2: Leachim - Leachimster@gmail.com (www.phpbb.sk)
## MOD Description: This MOD be instrumental to short quote :o)
## MOD Version: 1.0.2
##
## Installation Level: Easy
## Installation Time: 5 minutes
## Files To Edit: posting.php
##                    privmsg.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
##############################################################
## 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]';

#
#-----[ OPEN ]------------------------------------------
#
privmsg.php
#
#-----[ FIND ]------------------------------------------
#
            $privmsg_message = '[quote="' . $to_username . '"]' . $privmsg_message . '[/quote]';
#
#-----[ REPLACE WITH ]------------------------------------------
#
            $to_username = ( trim($privmsg['username']) != '' ) ? $privmsg['username'] : $privmsg['username'];
            {
               $privmsg_message = preg_replace('/(\[quote=(.*?)\]((.|)*)\[\/quote\][\s]*)/si',"",$privmsg_message);
            }
               $privmsg_message = '[quote="' . $to_username . '"]' . $privmsg_message . '[/quote]';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


Demo: www.phpbb.sk
Michael Watzke - Osobný blog, Bazár PC, notebookov, Tvorba WWW stránok
Nepíšte mi ohľadom phpBB, neodpovedám...
Obrázok užívateľa
Leachim
Expert
Expert
 
Príspevky: 1123
Registrovaný: Sob Jan 27, 2007 2:34 pm

Poslaťod Risho_rk » Uto Máj 08, 2007 8:12 am

tot je na to ze zobrazi tu tabulku ze mas sukromnu spravu? pls
Obrázok užívateľa
Risho_rk
Pokročilý
Pokročilý
 
Príspevky: 107
Registrovaný: Ned Mar 18, 2007 4:03 pm

Poslaťod Leachim » Uto Máj 08, 2007 8:15 am

Tak k tomuto už nieť čo dodať :roll:
Michael Watzke - Osobný blog, Bazár PC, notebookov, Tvorba WWW stránok
Nepíšte mi ohľadom phpBB, neodpovedám...
Obrázok užívateľa
Leachim
Expert
Expert
 
Príspevky: 1123
Registrovaný: Sob Jan 27, 2007 2:34 pm


Späť na Vaše modifikácie

Kto je on-line

Užívatelia prezerajúci fórum: Žiadny registrovaný užívateľ nie je prítomný a 0 hostia


vladstudio
TOPlist TOPlist
cron

Valid XHTML 1.0 Strict [Valid Atom 1.0]


* Štúrovo ubytovanie *