Hello
After three months we release a new version. The main focus was on eliminating errors but we also introduced a few small and one greater enhancement. We …
- fixed the broken MySQL-error reporting in the reworked upgrade script
- fixed the not allowed access to a restricted user list (accessible only for registered users or for the forum team), if a logged in user opened the userlist (in a new browser tab or window) and logged out, the user still had access to the userlist, even after a reload of the userlist page
- fixed a few errors in the HTML-structure of the posting form page
- fixed the restrictions for categories, one saw the thread trees of threads in a restricted categories one has no access to including the subject lines in the overview pages without being able to open the postings
Beside these bug fixes we …
- overhauled the sidebar toggle function; it was based on a small 9x9 pixel icon and an additional text link with support of a JavaScript-function; with the overhaul only the text link remained, the mini icon got replaced by status- and pagesize-dependent SVG background images and the JavaScript-function was simplified
- overhauled the forms for login, registration and for sending an e-mail because of a forgotten password. The forms moved horizontally to the centre of the page, got a borderframe and their explanations was included in these boxes
- in connection with this, two JavaScript-functions whose tasks are now fulfilled by HTML attributes could be removed from the codebase
- changed the definitions of index columns in the database tables that counts from 1 to any positive number to an unsigned integer; this doubles the range of possible values
- introduce a new management feature for the administration of uploaded images (for more details see below)
- checked the language files for date format strings, that doesn't match the rules for INTL date and time formats, where possible we altered the strings according to the rules of the main country for this language
The new management feature for uploaded images
With version 20220508.1 (2.5.0) we introduced a new table to store information about the upload. This includes the filename, the uploading account (if the user is registered and logged in) and the time of the upload. A new image upload comes with the creation of a related dataset. Images that was uploaded in an older version before the upgrade to version 20220508.1 (or a newer version) was not checked and are there are no informations about these images in the upload table.
With the new version 20250323.1 comes a new feature in the upload management page in the admin area. The purpose of the checkbox on an images card changes from "mark to delete" to "mark for (any) management feature". This includes the deletion of marked images as before but now also the inclusion of information about the selected images in the database. The upload time is reconstructed based on the file name. The user ID of the uploader is reconstructes based on the information about the author of the oldest existing post in which the image is used. This method is not exact but the best we can do with the information we have in the forum database.
![[image]](images/uploaded/2025032321384467e07f64d1583.png)
The screenshot above shows a card for an uploaded image in the upload management page. Below the image thumbnail we can see an icon in the first line and the checkbox for selecting the image for a management function in the second and last line. The purpose of the icon is as follows.
If a images already has a database entry or not is shown with the following icons, showing a typical database icon one without and one with a red cross in the foreground. They are here displayed in their original image size but in the upload cards they are displayed only with the height of a normal text line (as one can see in the screenshot above). Together with the icons for the overhauled sidebar toggle these icons start the time of SVG icons which are scalable and with further preparations also able to support light- and dark-modes for themes.
![[image]](https://mylittleforum.net/forum/themes/default/images/database.svg)
![[image]](https://mylittleforum.net/forum/themes/default/images/database-no.svg)
To simplify the overview of the uploaded images one is able to set a filter for listing images (not) managed in the database table above the uploads list as can be seen in the following screenshot.
![[image]](images/uploaded/2025032321574667e083dac7378.png)
The screenshot shows the currently available three states of the filter. One can filter for "not managed images", "managed images" of "all images".
As before one can select only the images of the current page for deletion or for creating the database entries. Even with the default value of 25 images per page the run of the function to create database entries for all of the 25 images can take a few seconds. This mainly depends on the amount of forum entries to check for being the first/oldest entry, where the image is referenced.
We plan to apply further enhancements to the upload management in the future.
Addendum
Known issue: When selecting a category in one of the overview pages by selecting it with the select field in the sub navigation bar or by clicking on one of the category names at the end of a subject line of an opening posting does not filter the thread list by the selected category.
As it has since turned out, my observation that the threads displayed after selecting a category did not correspond to the selection was a misperception. I apologise for any confusion that may have arisen.
Tschö, Auge