irantraining
Member
لطفا تغييرات را بادقت انجام دهيد.
ابتدا فايلها را از اين قسمت دريافت كنيد.
http://irantraining.com/modules.php?name=Downloads&op=getit&lid=102
سپس مراحل زير را طي كنيد:
[hr:fb40703e45]
1: محتواي پوشه images را به پوشه images در دايركتوري اصلي Nuke انتقال دهيد.
2: دو فايل bbcode.tpl و posting_body.tpl كه در پوشه modules/Forums/templates/subSilver قرار دارد را جايگزين فايلهاي قبلي نماييد.
[align=left:fb40703e45]modules/Forums/templates/subSilver/bbcode.tpl======»»»»modules/Forums/templates/subSilver/
[/align:fb40703e45][align=left:fb40703e45]modules/Forums/templates/subSilver/posting_body.tpl======»»»»modules/Forums/templates/subSilver/[/align:fb40703e45]
[hr:fb40703e45]
3: پوشه bbcode_box را اگر در اين بخش modules/Forums نداريد آن را اضافه كنيد.(احتمال 99٪ اين پوشه وجود دارد)
[align=left:fb40703e45]modules/Forums/bbcode_box======»»»»modules/Forums[/align:fb40703e45]
[hr:fb40703e45]
4: فايل bbcode.tpl را كه در پوشه themes/xxxx/forums قرار دارد را جايگزين فايل قبلي در قسمت: themes/xxxx/forums برروي سرور خود كنيد.
نكته: منظور از xxxx همان نام قالب شما برروي سايت است.
[align=left:fb40703e45]themes/xxxx/forums/bbcode.tpl======»»»»themes/xxxx/forums/[/align:fb40703e45]
[hr:fb40703e45]
5: فايل bbcode.php كه در پوشه (includes) در دايركتوري اصلي Nuke قرار دارد را باز كرده و بدين شكل ويرايش كنيد:
ابتدا اين كدها را پيدا كنيد:
و بعد از آن اين قسمت را اضافه كنيد:
اين كدها را پيدا كنيد:
و بعد از آن اين قسمت را اضافه كنيد:
اين قسمت را پيدا كنيد:
و بعد از آن اين كدها را اضافه كنيد:
نكته: اگر اين بخشها قبلا اضافه شده بودند ديگر نياز نيست كه شما اينها را اضافه كنيد.
[hr:fb40703e45]
6: فايل posting_body.tpl كه در اين قسمت themes\xxxx\forums در دايركتوري اصلي NUke سايت و پوشه هاي ذكر شده آن قرار دارد را باز كرده و آن را بدين شكل ويرايش كنيد:
A: اول اين كدها را در اين فايل پيدا كنيد:
آنرا با كدهاي زير عوض كنيد:
B: كدهاي زير را پيدا كنيد:
كدهاي زير را به جاي آن قرار دهيد:
C: كد زير را پيدا كنيد:
و اين كد را به جاي كد بالا قرار دهيد:
D: اين كدرا پيدا كنيد:
E:و به جاي آن اين كد را قرار دهيد:
F: در پايان كدهاي زير را حذف كنيد:
ابتدا فايلها را از اين قسمت دريافت كنيد.
http://irantraining.com/modules.php?name=Downloads&op=getit&lid=102
سپس مراحل زير را طي كنيد:
[hr:fb40703e45]
1: محتواي پوشه images را به پوشه images در دايركتوري اصلي Nuke انتقال دهيد.
2: دو فايل bbcode.tpl و posting_body.tpl كه در پوشه modules/Forums/templates/subSilver قرار دارد را جايگزين فايلهاي قبلي نماييد.
[align=left:fb40703e45]modules/Forums/templates/subSilver/bbcode.tpl======»»»»modules/Forums/templates/subSilver/
[/align:fb40703e45][align=left:fb40703e45]modules/Forums/templates/subSilver/posting_body.tpl======»»»»modules/Forums/templates/subSilver/[/align:fb40703e45]
[hr:fb40703e45]
3: پوشه bbcode_box را اگر در اين بخش modules/Forums نداريد آن را اضافه كنيد.(احتمال 99٪ اين پوشه وجود دارد)
[align=left:fb40703e45]modules/Forums/bbcode_box======»»»»modules/Forums[/align:fb40703e45]
[hr:fb40703e45]
4: فايل bbcode.tpl را كه در پوشه themes/xxxx/forums قرار دارد را جايگزين فايل قبلي در قسمت: themes/xxxx/forums برروي سرور خود كنيد.
نكته: منظور از xxxx همان نام قالب شما برروي سايت است.
[align=left:fb40703e45]themes/xxxx/forums/bbcode.tpl======»»»»themes/xxxx/forums/[/align:fb40703e45]
[hr:fb40703e45]
5: فايل bbcode.php كه در پوشه (includes) در دايركتوري اصلي Nuke قرار دارد را باز كرده و بدين شكل ويرايش كنيد:
ابتدا اين كدها را پيدا كنيد:
کد:
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
و بعد از آن اين قسمت را اضافه كنيد:
کد:
// bbcode_box Mod
$bbcode_tpl['align_open'] = str_replace('{ALIGN}', '\\1', $bbcode_tpl['align_open']);
$bbcode_tpl['stream'] = str_replace('{URL}', '\\1', $bbcode_tpl['stream']);
$bbcode_tpl['ram'] = str_replace('{URL}', '\\1', $bbcode_tpl['ram']);
$bbcode_tpl['marq_open'] = str_replace('{MARQ}', '\\1', $bbcode_tpl['marq_open']);
$bbcode_tpl['table_open'] = str_replace('{TABLE}', '\\1', $bbcode_tpl['table_open']);
$bbcode_tpl['cell_open'] = str_replace('{CELL}', '\\1', $bbcode_tpl['cell_open']);
$bbcode_tpl['web'] = str_replace('{URL}', '\\1', $bbcode_tpl['web']);
$bbcode_tpl['flash'] = str_replace('{WIDTH}', '\\1', $bbcode_tpl['flash']);
$bbcode_tpl['flash'] = str_replace('{HEIGHT}', '\\2', $bbcode_tpl['flash']);
$bbcode_tpl['flash'] = str_replace('{URL}', '\\3', $bbcode_tpl['flash']);
$bbcode_tpl['video'] = str_replace('{URL}', '\\3', $bbcode_tpl['video']);
$bbcode_tpl['video'] = str_replace('{WIDTH}', '\\1', $bbcode_tpl['video']);
$bbcode_tpl['video'] = str_replace('{HEIGHT}', '\\2', $bbcode_tpl['video']);
$bbcode_tpl['font_open'] = str_replace('{FONT}', '\\1', $bbcode_tpl['font_open']);
$bbcode_tpl['poet_open'] = str_replace('{POET}', '\\1', $bbcode_tpl['poet_open']);
// bbcode_box Mod
اين كدها را پيدا كنيد:
کد:
// [email][email protected][/email] code..
$patterns[5] = "#\[email\]([a-z0-9\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si";
$replacements[5] = $bbcode_tpl['email'];
و بعد از آن اين قسمت را اضافه كنيد:
کد:
// bbcode_box Mod
// [fade] and [/fade] for faded text.
$text = str_replace("[fade:$uid]", $bbcode_tpl['fade_open'], $text);
$text = str_replace("[/fade:$uid]", $bbcode_tpl['fade_close'], $text);
// real
$patterns[6] = "#\[ram:$uid\](.*?)\[/ram:$uid\]#si";
$replacements[6] = $bbcode_tpl['ram'];
// sound
$patterns[7] = "#\[stream:$uid\](.*?)\[/stream:$uid\]#si";
$replacements[7] = $bbcode_tpl['stream'];
//web
$patterns[8] = "#\[web:$uid\](.*?)\[/web:$uid\]#si";
$replacements[8] = $bbcode_tpl['web'];
// [flash width= height= loop= ] and [/flash] code..
$patterns[9] = "#\[flash width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9]):$uid\](.*?)\[/flash:$uid\]#si";
$replacements[9] = $bbcode_tpl['flash'];
// [flash width= height= loop= ] and [/flash] code..
$patterns[10] = "#\[video width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9]):$uid\](.*?)\[/video:$uid\]#si";
$replacements[10] = $bbcode_tpl['video'];
$text = preg_replace($patterns, $replacements, $text);
// align
$text = preg_replace("/\[align=(left|right|center|justify):$uid\]/si", $bbcode_tpl['align_open'], $text);
$text = str_replace("[/align:$uid]", $bbcode_tpl['align_close'], $text);
// marquee
$text = preg_replace("/\[marq=(left|right|up|down):$uid\]/si", $bbcode_tpl['marq_open'], $text);
$text = str_replace("[/marq:$uid]", $bbcode_tpl['marq_close'], $text);
// table
$text = preg_replace("/\[table=(.*?):$uid\]/si", $bbcode_tpl['table_open'], $text);
$text = str_replace("[/table:$uid]", $bbcode_tpl['table_close'], $text);
// cell
$text = preg_replace("/\[cell=(.*?):$uid\]/si", $bbcode_tpl['cell_open'], $text);
$text = str_replace("[/cell:$uid]", $bbcode_tpl['cell_close'], $text);
// center
$text = preg_replace("/\[center:$uid\]/si", $bbcode_tpl['center_open'], $text);
$text = str_replace("[/center:$uid]", $bbcode_tpl['center_close'], $text);
// font
$text = preg_replace("/\[font=(.*?):$uid\]/si", $bbcode_tpl['font_open'], $text);
$text = str_replace("[/font:$uid]", $bbcode_tpl['font_close'], $text);
// poet
$text = preg_replace("/\[poet(.*?):$uid\]/si", $bbcode_tpl['poet_open'], $text);
$text = str_replace("[/poet:$uid]", $bbcode_tpl['poet_close'], $text);
//[hr]
$text = str_replace("[hr:$uid]", $bbcode_tpl['hr'], $text);
// bbcode_box Mod
اين قسمت را پيدا كنيد:
کد:
// [img]image_url_here[/img] code..
$text = preg_replace("#\[img\](http(s)?://)([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+]+)\[/img\]#si", "[img:$uid]\\1\\3[/img:$uid]", $text);
و بعد از آن اين كدها را اضافه كنيد:
کد:
// bbcode_box Mod
// [fade] and [/fade] for faded text.
$text = preg_replace("#\[fade\](.*?)\[/fade\]#si", "[fade:$uid]\\1[/fade:$uid]", $text);
// [align] and [/align]
$text = preg_replace("#\[align=(left|right|center|justify)\](.*?)\[/align\]#si", "[align=\\1:$uid]\\2[/align:$uid]", $text);
// [marq] and [/marq]
$text = preg_replace("#\[marq=(left|right|up|down)\](.*?)\[/marq\]#si", "[marq=\\1:$uid]\\2[/marq:$uid]", $text);
// [table] and [/table]
$text = preg_replace("#\[table=(.*?)\](.*?)\[/table\]#si", "[table=\\1:$uid]\\2[/table:$uid]", $text);
// [cell] and [/cell]
$text = preg_replace("#\[cell=(.*?)\](.*?)\[/cell\]#si", "[cell=\\1:$uid]\\2[/cell:$uid]", $text);
// [font] and [/font]
$text = preg_replace("#\[font=(.*?)\](.*?)\[/font\]#si", "[font=\\1:$uid]\\2[/font:$uid]", $text);
// [poet] and [/poet]
$text = preg_replace("#\[poet(.*?)\](.*?)\[/poet\]#si", "[poet\\1:$uid]\\2[/poet:$uid]", $text);
// [center] and [/center]
$text = preg_replace("#\[center\](.*?)\[/center\]#si", "[center:$uid]\\1[/center:$uid]", $text);
// [real]and[/real]
$text = preg_replace("#\[ram\](.*?)\[/ram\]#si", "[ram:$uid]\\1[/ram:$uid]", $text);
// [stream]and[/stream]
$text = preg_replace("#\[stream\](.*?)\[/stream\]#si", "[stream:$uid]\\1[/stream:$uid]", $text);
// [web]and[/web]
$text = preg_replace("#\[web\](http(s)?://)([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+]+)\[/web\]#si", "[web:$uid]\\1\\3[/web:$uid]", $text);
//[flash width= heigth= loop=] and [/flash]
$text = preg_replace("#\[flash width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9])\](([a-z]+?)://([^, \n\r]+))\[\/flash\]#si","[flash width=\\1 height=\\2:$uid\]\\3[/flash:$uid]", $text);
//[video width= heigth=] and [/video]
$text = preg_replace("#\[video width=([0-6]?[0-9]?[0-9]) height=([0-4]?[0-9]?[0-9])\](([a-z]+?)://([^, \n\r]+))\[\/video\]#si","[video width=\\1 height=\\2:$uid\]\\3[/video:$uid]", $text);
// [hr]
$text = preg_replace("#\[hr\]#si", "[hr:$uid]", $text);
// bbcode_box Mod
[hr:fb40703e45]
6: فايل posting_body.tpl كه در اين قسمت themes\xxxx\forums در دايركتوري اصلي NUke سايت و پوشه هاي ذكر شده آن قرار دارد را باز كرده و آن را بدين شكل ويرايش كنيد:
A: اول اين كدها را در اين فايل پيدا كنيد:
کد:
<script language="JavaScript" type="text/javascript">
<!--
// bbCode control by
// subBlue design
// [url]www.subBlue.com[/url]
..
..
..
..
..
..
..
..
//-->
</script>
آنرا با كدهاي زير عوض كنيد:
کد:
<script language="JavaScript" src="modules/Forums/bbcode_box/add_bbcode.js" type="text/javascript"></script>
B: كدهاي زير را پيدا كنيد:
کد:
<tr align="center" valign="middle">
<td><span class="genmed">
<input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onClick="bbstyle(0)" onMouseOver="helpline('b')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onClick="bbstyle(2)" onMouseOver="helpline('i')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onClick="bbstyle(4)" onMouseOver="helpline('u')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onClick="bbstyle(6)" onMouseOver="helpline('q')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onClick="bbstyle(8)" onMouseOver="helpline('c')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onClick="bbstyle(10)" onMouseOver="helpline('l')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onClick="bbstyle(12)" onMouseOver="helpline('o')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onClick="bbstyle(14)" onMouseOver="helpline('p')" />
</span></td>
<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>
</tr>
كدهاي زير را به جاي آن قرار دهيد:
کد:
<tr align="right" valign="middle">
<td>
<p dir="rtl" style="margin-top: 0; margin-bottom: 0" align="left"><span class="gen">
<span class="genmed">
&nbsp;<select name="fc" onChange="BBCfc()" onMouseOver="helpline('fc')"
<option style="color:darkred; background-color: {T_TD_COLOR1}" value="darkred" class="genmed" dir="ltr">
<option selected>Font Color</option>
<option style="color:black; value="{T_FONTCOLOR1}" value="{T_FONTCOLOR1}">{L_COLOR_DEFAULT}</option>
<option value="darkred">{L_COLOR_DARK_RED}</option>
<option style="color:red; background-color: {T_TD_COLOR1}" value="red" class="genmed">{L_COLOR_RED}</option>
<option style="color:orange; background-color: {T_TD_COLOR1}" value="orange" class="genmed">{L_COLOR_ORANGE}</option>
<option style="color:brown; background-color: {T_TD_COLOR1}" value="brown" class="genmed">{L_COLOR_BROWN}</option>
<option style="color:yellow; background-color: {T_TD_COLOR1}" value="yellow" class="genmed">{L_COLOR_YELLOW}</option>
<option style="color:green; background-color: {T_TD_COLOR1}" value="green" class="genmed">{L_COLOR_GREEN}</option>
<option style="color:olive; background-color: {T_TD_COLOR1}" value="olive" class="genmed">{L_COLOR_OLIVE}</option>
<option style="color:cyan; background-color: {T_TD_COLOR1}" value="cyan" class="genmed">{L_COLOR_CYAN}</option>
<option style="color:blue; background-color: {T_TD_COLOR1}" value="blue" class="genmed">{L_COLOR_BLUE}</option>
<option style="color:darkblue; background-color: {T_TD_COLOR1}" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option>
<option style="color:indigo; background-color: {T_TD_COLOR1}" value="indigo" class="genmed">{L_COLOR_INDIGO}</option>
<option style="color:violet; background-color: {T_TD_COLOR1}" value="violet" class="genmed">{L_COLOR_VIOLET}</option>
<option style="color:white; background-color: {T_TD_COLOR1}" value="white" class="genmed">{L_COLOR_WHITE}</option>
<option style="color:black; background-color: {T_TD_COLOR1}" value="black" class="genmed">{L_COLOR_BLACK}</option>
</select>&nbsp;&nbsp; <select name="fs" onChange="BBCfs()" onMouseOver="helpline('fs')"
<option value="7" class="genmed" dir="ltr">
<option selected>Font Size</option>
{L_FONT_TINY}</option>
<option value="9" class="genmed">{L_FONT_SMALL}</option>
<option value="12" class="genmed">{L_FONT_NORMAL}</option>
<option value="18" class="genmed">{L_FONT_LARGE}</option>
<option value="24" class="genmed">{L_FONT_HUGE}</option>
</select> <span lang="ar-sy">&nbsp;</span><select name="ft" onChange="BBCft()" onMouseOver="helpline('ft')"
<option style="color:black; background-color: #FFFFFF " value="{L_ARIAL}" class="genmed" dir="ltr">
<option selected>Font type</option>
<option value="Arial">Default font
</option>
<option style="color:black; background-color: #FFFFFF " value="Andalus" class="genmed">
Andalus</option>
<option style="color:black; background-color: #FFFFFF " value="Arial" class="genmed">
Arial</option>
<option style="color:black; background-color: #FFFFFF " value="Comic Sans MS" class="genmed">
Comic Sans MS</option>
<option style="color:black; background-color: #FFFFFF " value="Courier New" class="genmed">
Courier New</option>
<option value="Lucida Console">Lucida Console
</option>
<option style="color:black; background-color: #FFFFFF " value="Microsoft Sans Serif" class="genmed">
Microsoft Sans Serif</option>
<option style="color:black; background-color: #FFFFFF " value="Symbol" class="genmed">
Symbol</option>
<option style="color:black; background-color: #FFFFFF " value="Tahoma" class="genmed">
Tahoma</option>
<option style="color:black; background-color: #FFFFFF " value="Times New Roman" class="genmed">
Times New Roman</option>
<option style="color:black; background-color: #FFFFFF " value="Traditional Arabic" class="genmed">
Traditional Arabic</option>
<option style="color:black; background-color: #FFFFFF " value="Verdana" class="genmed">
Verdana</option>
<option style="color:black; background-color: #FFFFFF " value="Webdings" class="genmed">
Webdings</option>
<option style="color:black; background-color: #FFFFFF " value="Wingdings" class="genmed">
Wingdings</option>
</select></span></span></span><p dir="rtl" style="margin-top: 0; margin-bottom: 0">
<span class="genmed"><span style="font-size: 5pt">&nbsp;</span></span></td>
</tr>
<span class="gen">
<tr>
<td width="450">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<p dir="ltr" align="left"><span class="gen">
<span class="genmed">
<span lang="ar-sy">&nbsp;</span><img border="0" src="modules/Forums/bbcode_box/images/justify.gif" name="justify" type="image" onClick="BBCjustify()" onMouseOver="helpline('justify')" style="border-style: outset; border-width: 1" alt="justify"><img border="0" src="modules/Forums/bbcode_box/images/right.gif" name="right" type="image" onClick="BBCright()" onMouseOver="helpline('right')" style="border-style: outset; border-width: 1" alt="right"><img border="0" src="modules/Forums/bbcode_box/images/center.gif" name="center" type="image" onClick="BBCcenter()" onMouseOver="helpline('center')" style="border-style: outset; border-width: 1" alt="center"><img border="0" src="modules/Forums/bbcode_box/images/left.gif" name="left" type="image" onClick="BBCleft()" onMouseOver="helpline('left')" style="border-style: outset; border-width: 1" alt="left">&nbsp;&nbsp;
<img border="0" src="modules/Forums/bbcode_box/images/bold.gif" name="bold" type="image" onClick="BBCbold()" onMouseOver="helpline('b')" style="border-style: outset; border-width: 1" alt="bold"><img border="0" src="modules/Forums/bbcode_box/images/italic.gif" name="italic" type="image" onClick="BBCitalic()" onMouseOver="helpline('i')" style="border-style: outset; border-width: 1" alt="italic"><img border="0" src="modules/Forums/bbcode_box/images/under.gif" name="under" type="image" onClick="BBCunder()" onMouseOver="helpline('u')" style="border-style: outset; border-width: 1" alt="under line">&nbsp;&nbsp;
<img border="0" src="modules/Forums/bbcode_box/images/fade.gif" name="fade" type="image" onClick="BBCfade()" onMouseOver="helpline('fade')" style="border-style: outset; border-width: 1" alt="fade"><img border="0" src="modules/Forums/bbcode_box/images/grad.gif" name="grad" type="image" onClick="BBCgrad()" onMouseOver="helpline('grad')" style="border-style: outset; border-width: 1" alt="gradient">&nbsp;&nbsp;
<img border="0" src="modules/Forums/bbcode_box/images/rtl.gif" name="dirrtl" type="image" onClick="BBCdir('rtl')" onMouseOver="helpline('rtl')" style="border-style: outset; border-width: 1" alt="Right to Left"><img border="0" src="modules/Forums/bbcode_box/images/ltr.gif" name="dirltr" type="image" onClick="BBCdir('ltr')" onMouseOver="helpline('ltr')" style="border-style: outset; border-width: 1" alt="Left to Right">&nbsp;&nbsp;
<img border="0" src="modules/Forums/bbcode_box/images/marqd.gif" name="marqd" type="image" onClick="BBCmarqd()" onMouseOver="helpline('marqd')" style="border-style: outset; border-width: 1" alt="Marque to down"><img border="0" src="modules/Forums/bbcode_box/images/marqu.gif" name="marqu" type="image" onClick="BBCmarqu()" onMouseOver="helpline('marqu')" style="border-style: outset; border-width: 1" alt="Marque to up"><img border="0" src="modules/Forums/bbcode_box/images/marql.gif" name="marql" type="image" onClick="BBCmarql()" onMouseOver="helpline('marql')" style="border-style: outset; border-width: 1" alt="Marque to left"><img border="0" src="modules/Forums/bbcode_box/images/marqr.gif" name="marqr" type="image" onClick="BBCmarqr()" onMouseOver="helpline('marqr')" style="border-style: outset; border-width: 1" alt="Marque to right"></span></span></td>
</tr>
<tr>
<td dir="rtl">
<p align="right" dir="rtl" style="margin-top: 0; margin-bottom: 0">
<span style="font-size: 5pt">&nbsp;</span><p align="left" dir="ltr" style="margin-top: 0; margin-bottom: 0"><span class="gen">
<span class="genmed">
&nbsp;<img border="0" src="modules/Forums/bbcode_box/images/code.gif" name="code" type="image" onClick="BBCcode()" onMouseOver="helpline('code')" style="border-style: outset; border-width: 1" alt="Code"><img border="0" src="modules/Forums/bbcode_box/images/quote.gif" name="quote" type="image" onClick="BBCquote()" onMouseOver="helpline('quote')" style="border-style: outset; border-width: 1" alt="Quote">&nbsp;&nbsp;
<img border="0" src="modules/Forums/bbcode_box/images/url.gif" name="url" type="image" onClick="BBCurl()" onMouseOver="helpline('url')" style="border-style: outset; border-width: 1" alt="URL"><img border="0" src="modules/Forums/bbcode_box/images/email.gif" name="email" type="image" onClick="BBCmail()" onMouseOver="helpline('mail')" style="border-style: outset; border-width: 1" alt="Email"><img border="0" src="modules/Forums/bbcode_box/images/web.gif" name="web" type="image" onClick="BBCweb()" onMouseOver="helpline('web')" style="border-style: outset; border-width: 1" alt="Wep Page">&nbsp;&nbsp;
<img border="0" src="modules/Forums/bbcode_box/images/img.gif" name="img" type="image" onClick="BBCimg()" onMouseOver="helpline('img')" style="border-style: outset; border-width: 1" alt="Image"><img border="0" src="modules/Forums/bbcode_box/images/flash.gif" name="flash" type="image" onClick="BBCflash()" onMouseOver="helpline('flash')" style="border-style: outset; border-width: 1" alt="Flash"><img border="0" src="modules/Forums/bbcode_box/images/video.gif" name="video" type="image" onClick="BBCvideo()" onMouseOver="helpline('video')" style="border-style: outset; border-width: 1" alt="Video"><img border="0" src="modules/Forums/bbcode_box/images/sound.gif" name="stream" type="image" onClick="BBCstream()" onMouseOver="helpline('stream')" style="border-style: outset; border-width: 1" alt="Stream"><img border="0" src="modules/Forums/bbcode_box/images/ram.gif" name="ram" type="image" onClick="BBCram()" onMouseOver="helpline('ram')" style="border-style: outset; border-width: 1" alt="Real Media">&nbsp;&nbsp;
<img border="0" src="modules/Forums/bbcode_box/images/hr.gif" name="hr" type="image" onClick="BBChr()" onMouseOver="helpline('hr')" style="border-style: outset; border-width: 1" alt="H-Line">&nbsp;&nbsp;
<img border="0" src="modules/Forums/bbcode_box/images/plain.gif" name="plain" type="image" onClick="BBCplain()" onMouseOver="helpline('plain')" style="border-style: outset; border-width: 1" alt="Remove BBcode"></span></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
C: كد زير را پيدا كنيد:
کد:
<input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" />
و اين كد را به جاي كد بالا قرار دهيد:
کد:
<input type="text" name="subject" onkeypress=FKeyPress(post); onkeydown=FKeyDown(post); size="45" maxlength="60" style="width:450px; font-family:Tahoma; font-size:8pt" tabindex="2" class="post" value="{SUBJECT}" />
<IMG src='images/fa2.gif' style='CURSOR: hand' align='absbottom' onclick=change(subject)>
D: اين كدرا پيدا كنيد:
کد:
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
E:و به جاي آن اين كد را قرار دهيد:
کد:
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onkeypress=FKeyPress(post); onkeydown=FKeyDown(post);onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
<IMG src='images/fa.gif' style='CURSOR: hand' align='absbottom' onclick=change(message)><br>
F: در پايان كدهاي زير را حذف كنيد:
کد:
<tr>
<td colspan="9">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="genmed"> &nbsp;{L_FONT_COLOR}:
<select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]')" onMouseOver="helpline('s')">
<option style="color:black; background-color: {T_TD_COLOR1}" value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option>
<option style="color:darkred; background-color: {T_TD_COLOR1}" value="darkred" class="genmed">{L_COLOR_DARK_RED}</option>
<option style="color:red; background-color: {T_TD_COLOR1}" value="red" class="genmed">{L_COLOR_RED}</option>
<option style="color:orange; background-color: {T_TD_COLOR1}" value="orange" class="genmed">{L_COLOR_ORANGE}</option>
<option style="color:brown; background-color: {T_TD_COLOR1}" value="brown" class="genmed">{L_COLOR_BROWN}</option>
<option style="color:yellow; background-color: {T_TD_COLOR1}" value="yellow" class="genmed">{L_COLOR_YELLOW}</option>
<option style="color:green; background-color: {T_TD_COLOR1}" value="green" class="genmed">{L_COLOR_GREEN}</option>
<option style="color:olive; background-color: {T_TD_COLOR1}" value="olive" class="genmed">{L_COLOR_OLIVE}</option>
<option style="color:cyan; background-color: {T_TD_COLOR1}" value="cyan" class="genmed">{L_COLOR_CYAN}</option>
<option style="color:blue; background-color: {T_TD_COLOR1}" value="blue" class="genmed">{L_COLOR_BLUE}</option>
<option style="color:darkblue; background-color: {T_TD_COLOR1}" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option>
<option style="color:indigo; background-color: {T_TD_COLOR1}" value="indigo" class="genmed">{L_COLOR_INDIGO}</option>
<option style="color:violet; background-color: {T_TD_COLOR1}" value="violet" class="genmed">{L_COLOR_VIOLET}</option>
<option style="color:white; background-color: {T_TD_COLOR1}" value="white" class="genmed">{L_COLOR_WHITE}</option>
<option style="color:black; background-color: {T_TD_COLOR1}" value="black" class="genmed">{L_COLOR_BLACK}</option>
</select> &nbsp;{L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
<option value="7" class="genmed">{L_FONT_TINY}</option>
<option value="9" class="genmed">{L_FONT_SMALL}</option>
<option value="12" selected class="genmed">{L_FONT_NORMAL}</option>
<option value="18" class="genmed">{L_FONT_LARGE}</option>
<option value="24" class="genmed">{L_FONT_HUGE}</option>
</select>
</span></td>
<td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td>
</tr>
</table>
</td>
</tr>