Skip to main content
Recent Posts
54
General ElkArte discussions / Re: Preliminary ElkArte 1.1.10 - Release Notes
Last post by Spuds -
It should run fine under either ... I've been doing all my testing under 8.2 just to try and stay ahead of things.

Seems like 8.2 will trigger more deprecation notices than 8.1, but it could simply be things I missed in 8.1 and 1.1.9  :zipper_mouth:

I've been testing 1.1.10 for a few days and have found a few more 8.2 glitches, but not many, and certainly in remote areas.
55
Addons / Re: [ADDON] Levertine Gallery
Last post by Spuds -
You have the option to set the file types you allow in your gallery .... just don't select tiff ;)

Yes they are big, like ginormous, lossless files ... I get them when scanning in film negatives or when transferring Cannon CR2 raw files from Abobe Lightroom to other photo plugins that I use.  So I understand their use case, but its not really much use for the web.  I'd have to check what happens when "limits" are in place and you upload a tif, I think it will be converted but would have to check.
57
Addons / Re: [ADDON] Levertine Gallery
Last post by radu81 -
I believe TIFF files should not be allowed in a web gallery, or at least they should be converted to JPEG/PNG or WebP.
Tif files are mostly used for high quality printing, it's a lossless format, sometimes not even compressed, often in CMYK, could embed colour profile, I really don't know if a cmyk file could be converted to RGB by GD/Imagick and how the results could be. The colours accuracy will surely differ from the original file.
For me it's a no.
59
General ElkArte discussions / Re: Preliminary ElkArte 1.1.10 - Release Notes
Last post by Spuds -
I'm attaching an updated GenericControls.template.php which is in your themes/default directory.

We have a behavior (due to the version of the editor we use) that causes the editor to sometimes move into view when the page loads, and sometimes not, its a bit complicated with browser and editor plugins interaction   ....  and you probably don't even notice :D

Moving the editor into view, I think, is a generally nice.  There are some places where you don't want that to happen, for example quick reply or a comments box below an article as those are not the focus of the page, but modify or reply I think it makes sense.

The other behavior we have is when you go to edit a post (not quick edit but full modify) the post loads and the editor has scrolled to the bottom of the post and places the cursor there.  Its not as noticeable on a short post, but if you have a long post its obvious.

Attached is a proposal that will fix/standardize both behaviors.  The editor will load the message to modify and begin at the start of the message, not the end.  It will also move the editor to the page top (modify/reply/etc) since that is the focus of what you are doing.  So give the below a try, its just one file, save your old one so you can revert, and let me know what you think:thinking:

ETA its in the latest patch file attached in a later post
60
Addons / Re: [ADDON] Levertine Gallery
Last post by Spuds -
You can always use WinMerge to compare the versions .... The above fix was just a few lines added to the (3) .on thumbnail events, two in album and one in item templates.