Originally Posted by Rick
Ok, currently there is no way to disable the img tag on the markup panel without editing the code. This is something we need to address for version 8 since it needs to be based on if you have permission.
In case the OP wants to know how to do that:
Comment out the section in templates/default/standard_text_editor.tpl that displays the image in the Markup Panel. Standard warnings apply; make a backup of the original file before editing anything.
Code
<!-- Remove the image button from the Markup Panel
 {if $allow_images}
 <a href="javascript: void(0)" onclick="showHTML('image','image-drop');" title="{$lang.IMAGE_ALT}"><img width="25" height="24" alt="{$lang.IMAGE_ALT}" id="image" onmouseover="raiseButton(this.id);" onmouseout="normalButton(this.id);" onmousedown="lowerButton(this.id);" class="markup_panel_normal_button" src="{$config.BASE_URL}/images/{$style_array.markup_panel}/image.gif" /></a>
 {/if}
-->
For some reason that if statement doesn't remove the image. Bug?

Originally Posted by Rick
As for the first part of your question, currently img tags in posts is a global on/off thing for everyone. So the only way to allow it is to enable the img tags in posts option.
So, if you're going to fiddle with that in version 8, how about making an on/off option in Forum Permissions so the img tag could be allowed by Forum?

Last edited by Baldeagle; 02/11/2013 6:49 PM.

The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 8.0.0
Release 20240826
Server OS Linux
Server Load 0.11
Web Server Apache/2.4.37
PHP Version 8.3.11
MYSQL Version 8.0.39
Database Size 1.82 GB