Previous Thread
Next Thread
Print Thread
Hop To
#228491 08/20/2009 10:18 AM
Joined: Apr 2004
Posts: 233
Likes: 1
D
Enthusiast
Enthusiast
D Offline
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

[Linked Image from dennyp.com]
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?


DennyP - www.dennyp.com
DennyP Travel
DennyP #228496 08/20/2009 11:30 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
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.

Rick #228499 08/20/2009 11:46 AM
Joined: Apr 2004
Posts: 233
Likes: 1
D
Enthusiast
Enthusiast
D Offline
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.

Quote
[img.]http://www.dennyp.com/dennyptravel/images/logo2.jpg[/img] I had to put the period in the img tag so it wouldn't actually display the image here

Image tags in signatures is disabled at the Site Permission level.


DennyP - www.dennyp.com
DennyP Travel
DennyP #228505 08/20/2009 12:47 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
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.

Rick #228509 08/20/2009 1:02 PM
Joined: Apr 2004
Posts: 233
Likes: 1
D
Enthusiast
Enthusiast
D Offline
Joined: Apr 2004
Posts: 233
Likes: 1
Thanks for the info.


DennyP - www.dennyp.com
DennyP Travel
DennyP #237262 06/06/2010 7:37 AM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
I have a similar problem.

One forum (gallery) is displaying the text link like so...

Code
[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?

driv #237266 06/06/2010 9:36 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
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.

Rick #237267 06/06/2010 10:11 AM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Thanks, it's a relief to know I'm not going nuts crazy

driv #237268 06/06/2010 10:20 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Originally Posted by driv
Thanks, it's a relief to know I'm not going nuts crazy

I didn't say that wink

Rick #237269 06/06/2010 10:49 AM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
i concur with Rick laugh

SD #237271 06/06/2010 10:57 AM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Why can I never think of a smart-ass response at times like this? cry

driv #237272 06/06/2010 11:02 AM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Oi Oi ? laugh

driv #237292 06/06/2010 10:16 PM
Joined: Jun 2006
Posts: 16,367
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,367
Likes: 126
Originally Posted by driv
Why can I never think of a smart-ass response at times like this? cry
Because you are the weakest link...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Rick #252248 02/11/2013 5:48 PM
Joined: Oct 2007
Posts: 464
Likes: 11
Addict
Addict
Joined: Oct 2007
Posts: 464
Likes: 11
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 5: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

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Profile avatar storage settings
by SenecaFlyer - 12/05/2024 1:24 PM
Not allowing attachment over 2m
by ehill - 12/03/2024 3:16 PM
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Who's Online Now
2 members (Ruben, SenecaFlyer), 929 guests, and 67 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)