|
Joined: Apr 2004
Posts: 233 Likes: 1
Enthusiast
|
Enthusiast
Joined: Apr 2004
Posts: 233 Likes: 1 |
I am running 7.5.3. I have UBBCode enabled but not html for general users. When the [img] tag is used like the image is not displayed inline. The tags and the url are displayed as typed. Second question ... is there a way to disable the image tag icon so it can't be used to display inline images?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Hmm, it's possible that you have img tag in signatures enabled (which is a group based permission), but [img] tag in posts isn't enabled. You can double check that under Feature Settings -> General Tab. It's the first option.
As for disabling the image tag icon. I'm not quite sure I follow. Since it sounds like it's currently disabled already. But perhaps I'm misunderstanding.
|
|
|
|
Joined: Apr 2004
Posts: 233 Likes: 1
Enthusiast
|
Enthusiast
Joined: Apr 2004
Posts: 233 Likes: 1 |
Allow [img] tag in posts? is disabled. The image tag icon is not disabled/dimmed. You can still click on it and get an input dialog displayed for the image file. Then after you click on ok on that dialog the image URL and the tags are displayed in the post - example below. Image tags in signatures is disabled at the Site Permission level.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
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.
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.
|
|
|
|
Joined: Apr 2004
Posts: 233 Likes: 1
Enthusiast
|
Enthusiast
Joined: Apr 2004
Posts: 233 Likes: 1 |
|
|
|
|
Joined: Jan 2004
Posts: 2,474 Likes: 3
Pooh-Bah
|
Pooh-Bah
Joined: Jan 2004
Posts: 2,474 Likes: 3 |
I have a similar problem. One forum (gallery) is displaying the text link like so...
[img]http://www.example.com/forums/gallery/20/medium/349.jpg[/img]
It displays as an image in other forums. The image is only about 20Kb and I have ' Max Size for inline uploaded images' set at around 50Kb. I also have ' Can post using Markup/UBBCode' set at 1. Anyone see what I'm missing?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Images are currently not allowed in gallery forum replies. We'll be making this an optional setting in v8.
|
|
|
|
Joined: Jan 2004
Posts: 2,474 Likes: 3
Pooh-Bah
|
Pooh-Bah
Joined: Jan 2004
Posts: 2,474 Likes: 3 |
Thanks, it's a relief to know I'm not going nuts
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Thanks, it's a relief to know I'm not going nuts I didn't say that
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
i concur with Rick
|
|
|
|
Joined: Jan 2004
Posts: 2,474 Likes: 3
Pooh-Bah
|
Pooh-Bah
Joined: Jan 2004
Posts: 2,474 Likes: 3 |
Why can I never think of a smart-ass response at times like this?
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
Oi Oi ?
|
|
|
|
Joined: Jun 2006
Posts: 16,367 Likes: 126
|
Joined: Jun 2006
Posts: 16,367 Likes: 126 |
Why can I never think of a smart-ass response at times like this? Because you are the weakest link...
|
|
|
|
Joined: Oct 2007
Posts: 464 Likes: 11
Addict
|
Addict
Joined: Oct 2007
Posts: 464 Likes: 11 |
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. <!-- 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? 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 5:49 PM.
|
|
|
2 members (Ruben, SenecaFlyer),
929
guests, and
67
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|