Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Dunny, Ruben), 48 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#222328 - 02/13/09 06:58 AM 7.4.2 allow images = no doesn't disable the img button
Kayjey Offline

journeyman
Registered: 12/24/03
Posts: 94
Loc: Belgium
standard_text_editor.tpl contains "if" statements for $allow_images but don't seem to work - it shows the buttons regardless.

I presume it's got something to do with html.inc.php which sets allow_images to true - always.

function create_text_editor($name="",$value="",$tabindex="",$allow_images=true)

I've taken the ",$allow_images=true" out of that line, which has made the button disappear. Regarding the fact that the [img] tag is NOT parsed however, I presume the "tag_is_allowed" function works properly. Probably using the max. nr of images or something. So I will also presume that the if($allow_images) is not valid, it should use instead the "tag_is_allowed" validation.

Can someone correct the code for "if($allow_images)"?
_________________________
www.straydesign.com
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#230815 - 11/08/09 07:09 AM Re: 7.4.2 allow images = no doesn't disable the img button [Re: Kayjey]
Kayjey Offline

journeyman
Registered: 12/24/03
Posts: 94
Loc: Belgium
Seems to still be the same bug in 7.5.4.2
_________________________
www.straydesign.com
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image