img tag change to code tag

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
Harry
BBCoder II
BBCoder II
Posts: 9
Joined: 12 Mar 2010, 21:33

img tag change to code tag

Post by Harry »

Plees
Can be done in some forums that the img tag change to code tag
edit bbcode .html

Code: Select all

    <!-- IF FORUM_ID eq "80" -->
    <!-- BEGIN img --><img src="{URL}" alt="{L_IMAGE}" {REIMG_PROPERTIES}/><!-- END img -->
    <!-- ELSE -->
  <!-- BEGIN code_open --><div class="ca-bbcode"><div class="ca-bbcode2 ca-code"><dl class="codebox"><dt><span class="code-links"><a href="#" onclick="ca_expand_code(this); return false;" class="code-expand" title="{L_EXPAND_VIEW}">&nbsp;</a><a href="#" onclick="ca_select_code(this); return false;" class="code-select" title="{L_SELECT_ALL_CODE}">&nbsp;</a></span>{L_CODE}: <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></dt><dd><code><!-- END code_open -->
<!-- BEGIN code_close --></code></dd></dl></div></div><!-- END code_close -->
    <!-- ENDIF -->
How to achieve that change in certain forums

Sorry for my english
Locked