Code: Select all
#
#-----[ OPEN ]---------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]---------------------------------
#
<td colspan="2"><span class="postbody">{postrow.MESSAGE}
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
<br clear="all" />
#
#-----[ SAVE/CLOSE FILES ]---------------------------------
#
# EoM
Code: Select all
#
#-----[ OPEN ]---------------------------------
#
templates/subSilver/bbcode.tpl
#
#-----[ FIND ]---------------------------------
#
<!-- BEGIN left --><img src="{URL}" border="0" align="left"
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
hspace="10" vspace="5"
#
#-----[ FIND ]---------------------------------
#
<!-- BEGIN right --><img src="{URL}" border="0" align="right"
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
hspace="10" vspace="5"
#
#-----[ SAVE/CLOSE FILES ]---------------------------------
#
# EoM
Code: Select all
// LEFT-RIGHT-start
$text = preg_replace("#\[img=left\]((ht|f)tp://)([^\r\n\t<\"]*?)\[/img\]#sie", "'[img=left:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);
$text = preg_replace("#\[img=right\]((ht|f)tp://)([^\r\n\t<\"]*?)\[/img\]#sie", "'[img=right:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);
// LEFT-RIGHT-end
Code: Select all
// LEFT-RIGHT-start
$text = preg_replace("#\[img=left\]((ht|f)tp://)([^ \?&=\"\n\r\t<]*?(\.(jpg|jpeg|gif|png)))\[/img\]#sie", "'[img=left:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);
$text = preg_replace("#\[img=right\]((ht|f)tp://)([^ \?&=\"\n\r\t<]*?(\.(jpg|jpeg|gif|png)))\[/img\]#sie", "'[img=right:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);
// LEFT-RIGHT-end
agiacosa wrote: This mod is not working for me. It doesn't show the image. When I check the image property by right clicking the red X, I get this:
http://www.aquaticplantcentral.com/forum/{URL}
What could be wrong?
agiacosa wrote: I used Easymod. I'll double check it. It did say everything was successfull.