Mosets Tree - Directory for Joomla 4&5&6 v4.1.7
Release Date: November 19, 2026
New
- Listing Export & Import Attachments: Added support for carrying uploaded files from File, Image, Audio, and Video custom fields inside export ZIPs (when "Attachments" is ticked) and restoring them upon import; preserves existing files during "Update Existing Listings" unless replaced, and skips missing file references (such as in CSVs or older exports) with a count report instead of creating broken download links or players.
Security
- SQL Injection & Front-End Authorization: Cast `link_id` to an integer during listing submission (`task=savelisting`) to prevent SQL injection when guest modification is enabled, and enforced owner or authorized group permission checks on both the front-end edit form and save handler so visitors cannot overwrite other users' listings or inject restricted fields (owner, hits, rating, publish dates, approval state, and Featured).
- Back-End Attachment Upload Validation: Applied the same always-banned extension list and filename clean-up rules to the back-end listing form as used on the front-end and import, blocking executable uploads like `.phtml` or trailing-space filenames (`x.php `).
Improved
- Listing Query Performance: Optimized listing pages (All, Related, New, Recently Updated, Popular, Most Rated, Top Rated, Featured, Random, Alphabetical, directory index listings, and the Map module) to paginate listings before loading images and categories, achieving 3x–18x faster performance on a 20,000-listing directory and adding an index on `link_modified` in `#__mt_links` (note: Random Listings now selects a different set per shuffle period).
Fixed
- Joomla Caching & Inode Usage: Stopped listing pages from generating a new cache file per crawler hit (by excluding the hit counter from the cache key), fixed SEF routing caching per URL instead of per category, removed per-page cache folders created by the Listings module (cleaned up automatically on upgrade), and preserved head scripts (`listings.js`, `vote.js`, map scripts) and page titles on cache hits.
- Smart Search Indexing (`4.0.4` Plugin): Fixed missing indexing for Meta Keys, Meta Description, First Name, Last Name, State (previously overwritten by published status), Contact Person, Mobile, Date, and Year (clear and re-index Smart Search after upgrading), resolved CLI indexer crashes (`ConsoleApplication::getCfg()` and `::getMenu()`), and ensured back-end listing saves pass the listing ID to update Smart Search immediately.
- Custom Field Ordering & Attachment Downloads: Fixed custom field, category, and listing image ordering failing to save on Joomla `4` with MariaDB by self-renumbering rows, and replaced the `"Attempt to assign property \"filedata\" on null"` error on missing attachment files with a `"not authorised to access this attachment"` message.