Olmaz mı tabiki var (aslında phpBB2 için herşey var

):
##############################################################
## MOD Title: Flash MOD
## MOD Author: MTRS - mtrs@hotmail.com
## MOD Description: Allow user to post flash video in forum (works on 2.0.21).
## MOD Version: 1.0.2
##
## Installation Level: Easy
## Installation Time: 10 minutes
## Files To Edit:posting.php
## privmsg
## fetchposts.php ( for the flash you post in the forum appear on ezportal news selective if you have ezportal installed.)
## includes/bbcode.php
## language/lang_english/lang_main.php
## templates/subSilver/bbcode.tpl
## templates/subSilver/posting_body.tpl
## Included Files:
## N/A
##############################################################
## For Security Purposes, Please Check: phpBB • Modifications 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: phpBB • Modifications
##############################################################
## Author Notes:
## Please add correct code as it tell you to add in the mod, and this mod is working on any forums without Multi-BBcode mod installed .
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
## Version History : tested on phpbb2 version 2.0.21
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php
#
#-----[ FIND ]------------------------------------------
#
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// [swf width= height= loop= ] and [/swf] code..
$bbcode_tpl['swf'] = str_replace('{WIDTH}', '\\1', $bbcode_tpl['swf']);
$bbcode_tpl['swf'] = str_replace('{HEIGHT}', '\\2', $bbcode_tpl['swf']);
$bbcode_tpl['swf'] = str_replace('{URL}', '\\3', $bbcode_tpl['swf']);
#
#-----[ FIND ]------------------------------------------
#
$replacements[] = $bbcode_tpl['email'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
// [swf width= height= loop= ] and [/swf] code..
$patterns[] = "#\[swf width=([0-9]?[0-9]?[0-9]) height=([0-9]?[0-9]?[0-9]):$uid\](.*?)\[/swf:$uid\]#si";
$replacements[] = $bbcode_tpl['swf'];
#
#-----[ FIND ]------------------------------------------
#
#
$text = preg_replace("#\[img\]((http|ftp|https|ftps)://)([^ \?&=\#\"\n\r\t<]*?(\.(jpg|jpeg|gif|png)))\[/img\]#sie", "'[img:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);
#
#
#-----[ AFTER, ADD ]------------------------------------------
#
//[swf width= heigth= loop=] and [/swf]
$text = preg_replace("#\[swf width=([0-9]?[0-9]?[0-9]) height=([0-9]?[0-9]?[0-9])\](([a-z]+?)://([^, \n\r]+))\[\/swf\]#si","[swf width=\\1 height=\\2:$uid\]\\3[/swf:$uid]", $text);
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
# NOTE: the full line to look for is:
#
# $lang['bbcode_f_help'] = "Font size: [size=x-small]small text[/size]";
#
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['bbcode_swf_help'] = 'Flash: [swf width= height= ]url to swf file[/swf]';
#
#-----[ OPEN ]------------------------------------------
#
posting.php
#
#-----[ FIND ]---------------------------------
#
'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],
#
#-----[ AFTER, ADD ]--------------------------------
#
'L_BBCODE_SWF_HELP' => $lang['bbcode_swf_help'],
#
#-----[ OPEN ]------------------------------------------
#
privmsg.php
#
#-----[ FIND ]---------------------------------
#
'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],
#
#-----[ AFTER, ADD ]--------------------------------
#
'L_BBCODE_SWF_HELP' => $lang['bbcode_swf_help'],
#
#-----[ OPEN ]------------------------------------------
#
# IF you have ezportal and want the flash you post in forum appear on the portal
fetchposts.php
#
#-----[ FIND ]---------------------------------
#
// and for italicizing text.
$text = str_replace("[i:$uid]", "", $text);
$text = str_replace("[/i:$uid]", "", $text);
#
#-----[ AFTER, ADD ]--------------------------------
#
//[swf width= heigth= loop=] and [/swf] for flash code ..
$text = str_replace("[swf:$uid]", "", $text);
$text = str_replace("[/swf:$uid]", "", $text);
$text = preg_replace("#\[swf width=([0-9]?[0-9]?[0-9]) height=([0-9]?[0-9]?[0-9])\](([a-z]+?)://([^, \n\r]+))\[\/swf\]#si", "", $text);
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/bbcode.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</A><!-- END email -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN swf -->
<!-- URL's used in the movie--><!-- text used in the movie-->
<!-- -->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH={WIDTH}
HEIGHT={HEIGHT}>
<PARAM NAME=movie VALUE="{URL}"><PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noborder> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#000000>
<EMBED src="{URL}" quality=high scale=noborder wmode=transparent bgcolor=#000000 WIDTH={WIDTH} HEIGHT={HEIGHT} TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED></OBJECT>
<!-- END swf -->
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
f_help = "{L_BBCODE_F_HELP}";
#
#---------[AFTER, ADD]--------------------
#
swf_help = "{L_BBCODE_SWF_HELP}";
#
#---------------[ FIND ]---------------------
#
# NOTE: the actual line to find is MUCH longer, containing all the bbcode tags
#
bbtags = new Array(
#
#-----[ IN-LINE FIND ]------------------------------------------
#
'',''
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
,'[swf width=400 height=300]','[/swf]'
#
#---------------[ FIND ]---------------------
#
# Find this line if you dont have no other bbcode mod installed otherwise fine the very last line similiar to this line and
add up increase "2" in name="addbbcode " and onClick="bbstyle( )"
<td><span class="genmed">
<input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
</span></td>
#
#---------[AFTER, ADD]--------------------
#
#In this case it is gonna be: [ name="addbbcode18" for name="addbbcode " ] and:[ onClick="bbstyle(18)" for onClick="bbstyle( )" ] for the new line to add after,
<td><span class="genmed">
<input type="button" class="button" accesskey="swf" name="addbbcode18" value="SWF" style="text-decoration: underline; width: 40px" onClick="bbstyle(18)" onMouseOver="helpline('swf')" />
</span></td>
#
#---------------[ FIND this 2 lines]---------------------
#
# Doing the same thing for this two line and replace the old value with the new value increase by 2, in this case it is gonna
#be 20 and 22
<select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">
</select> {L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
#
#---------------[ REPLACE THE VALUE]---------------------
#
of 18 and 20 in the line with 20 and 22 for each correspond line (18=20, 20=22)
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM