miniBB ® 

miniBB

®
Support Forums
  
 | Start | Sign in | Register | Search | Statistics | File Bank | Manual |
News miniBB Support Forums / News /  
 

Premium add-ons updated: Captcha, File Bank, Mobile layout

 
Author Paul
Lead Developer 
#1 | Posted: 24 Jan 2025 17:33
All the best in New Year to everyone!

Prior to the new miniBB release which should follow in February, and which will contain the automatic Dark Mode embedded (it's already available to check on these forums and miniBB website), the Captcha add-on (current version 1.5.3) has been updated to have the background of the Captcha code being generated as transparent.

Updated files are:

  • addon_captcha.php — includes new codes for the transparent background on output;
  • addon_captcha_options.php$backgroundColor — eliminated option.

The File bank add-on (current version 1.8.2) amongst the Mobile Layout (current version 2.3.3) will now display dimensions info, i.e. Width and Height, if a picture is being uploaded.

It looks like this on Desktop:

File Bank dimensions — Desktop

And like this on Mobile:

File Bank dimensions — Mobile

This actually makes the life a lot easier, specially when this extension is used on a Mobile device — you know in advance what to do with the picture if it's too big, or too small.

Updated File Bank add-on's files are:

  • /templates/addon_filecheck.js — new function: `getUploadedImgSize`
  • /templates/addon_storage_upload.htmladdon_filecheck.js inclusion moved above {$fileUploadForm} and it's now 'defer'
  • /templates/addon_storage_fileform.html — `outputFSize` updated to have a call for `getUploadedImgSize`.

Updated Mobile Template add-on's files are:

  • /templates-mobi/addon_storage_upload.htmladdon_filecheck.js inclusion moved above {$fileUploadForm} and it's now 'defer'
  • /templates-mobi/addon_storage_fileform.html — `outputFSize` updated to have a call for `getUploadedImgSize`
  • /templates-mobi/user_dataform.htmlautocomplete=off for the «login» field.

Keep an eye out for upcoming updates!

Author tom322
Active Member
#2 | Posted: 24 Jan 2025 21:56
It would be good to also add support for .avif and .webp files as they become more popular. Happy New Year and Birthday as it always applies in any given year ;)

Author Paul
Lead Developer 
#3 | Posted: 24 Jan 2025 22:30
tom322
Thank you and cheers 👍

I know about these formats, but I'm not sure if they are supported by browsers in a similar way like raster jpg or png. Will keep in my TODO notes for the future dev.

Author tom322
Active Member
#4 | Posted: 25 Jan 2025 00:57
I think they are fully supported in modern browsers now, but probably they must also be set up properly on the server as the MIME types. By default, they don't exist in older servers.

News miniBB Support Forums / News /
 Premium add-ons updated: Captcha, File Bank, Mobile layout
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.