
10-25-2007, 12:19 AM
|
|
|
Join Date: Aug 2005
Location: UK London
Posts: 276
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by rapidphim
This mod is now acting weird. Not sure how it happened and why it happend but I am not able to use any bbcode for coding anymore. For example, if I use any bbcode tag for this below codes
Code:
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
Then I received this error message:
Code:
Parse error: syntax error, unexpected T_BAD_CHARACTER, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/xxx/public_html/vshares/includes/ame_bbcode.php(192) : regexp code on line 2
Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_substitute(4, " <if condition=\"$show[\'largereplybutton\']\"> <td class=\"smallfont\"><a href=\"newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID\" rel=\"nofollow\"><if condition=\"$show[\'closethread\']\"><img src=\"$stylevar[imgdir_button]/reply.gif\" alt=\"$vbphrase[reply]\" border=\"0\" /><else /><img src=\"$stylevar[imgdir_button]/threadclosed.gif\" alt=\"$vbphrase[closed_thread]\" border=\"0\" /></if></a></td> <else /> ", "", $subbed) in /home/xxxx/public_html/vshares/includes/ame_bbcode.php on line 192
Even the error occured but the thread with bbcode thread still post in the back end.
Can anyone help me to fix this? I really hate to remove this awesome hack.
|
Same problem....
|