Previous Thread
Next Thread
Print Thread
Hop To
#228491 08/20/2009 11:18 AM
Joined: Apr 2004
Posts: 232
Likes: 1
D
DennyP Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Apr 2004
Posts: 232
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 12:30 PM
Joined: Jun 2006
Posts: 9,242
R
Former Developer
Offline
Former Developer
R
Joined: Jun 2006
Posts: 9,242
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 12:46 PM
Joined: Apr 2004
Posts: 232
Likes: 1
D
DennyP Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Apr 2004
Posts: 232
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 1:47 PM
Joined: Jun 2006
Posts: 9,242
R
Former Developer
Offline
Former Developer
R
Joined: Jun 2006
Posts: 9,242
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 2:02 PM
Joined: Apr 2004
Posts: 232
Likes: 1
D
DennyP Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Apr 2004
Posts: 232
Likes: 1
Thanks for the info.


DennyP - www.dennyp.com
DennyP Travel
DennyP #237262 06/06/2010 8:37 AM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Offline
Pooh-Bah
D
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 10:36 AM
Joined: Jun 2006
Posts: 9,242
R
Former Developer
Offline
Former Developer
R
Joined: Jun 2006
Posts: 9,242
Images are currently not allowed in gallery forum replies. We'll be making this an optional setting in v8.

Rick #237267 06/06/2010 11:11 AM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Offline
Pooh-Bah
D
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 11:20 AM
Joined: Jun 2006
Posts: 9,242
R
Former Developer
Offline
Former Developer
R
Joined: Jun 2006
Posts: 9,242
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 11:49 AM
Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
i concur with Rick laugh

SD #237271 06/06/2010 11:57 AM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Offline
Pooh-Bah
D
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 12:02 PM
Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
Oi Oi ? laugh

driv #237292 06/06/2010 11:16 PM
Joined: Jun 2006
Posts: 16,085
Likes: 76
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,085
Likes: 76
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 6:48 PM
Joined: Oct 2007
Posts: 282
Likes: 2
Enthusiast
Offline
Enthusiast
Joined: Oct 2007
Posts: 282
Likes: 2
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

UBBThreads 7.7.4
Web Server Apache/2.4.44
PHP Version 7.4.8
MySQL Version 5.6.49
Database Size 2.23 GB

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
IMG Options
by mmem700 - 06/12/2021 10:14 AM
Custom Island database updates
by Pak Chan - 06/09/2021 2:11 PM
PHP 8 support + which php engine is used in IIS?
by luket - 06/08/2021 7:05 AM
7.7.5 Update error
by ECNet - 05/30/2021 8:08 PM
Re: Custom Island Questions
by ECNet - 05/30/2021 5:00 PM
Who's Online Now
1 members (Ruben), 61 guests, and 97 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5