Osclass 8.1.0 - A Major Evolution in Classifieds Software

Osclass 8.1.0 is a groundbreaking update that brings full support for PHP 8.1 and 8.2, introduces a built-in translation manager, improves cache options, enhances subdomain functionality, and adds comment reply features. This update also removes outdated features like multisite support and optimizes many core functions.

PHP 8.1 & PHP 8.2 Compatibility

Osclass now fully supports PHP 8.1 and 8.2, ensuring compatibility with the latest server environments. Additionally, the minimum PHP version required to run Osclass has been raised from 5.6 to 7.2 due to updates in dependent libraries.

New Cache Options – Now Supporting Redis & Memcache

Osclass cache handling has been reviewed and optimized with new options added:

  • New Cache Support: Redis (Beta) & Memcache.
  • Osclass now supports APC, APCu, Memcache, Memcached, and Redis.
  • Cache statistics have been improved and are now displayed in the same format as database logs.
  • More queries are now cached to improve performance.

Multisite Feature Removed

The rarely used multisite feature has been completely removed due to its poor implementation and lack of real-world usage. The feature was buggy and did not provide sufficient value to maintain in future releases.

Enhanced Subdomain Functionality

Subdomains have been significantly improved, with two major updates:

  • Language-Based Subdomains: Each language can now have its own subdomain.
  • Country-Based Subdomains: Users can be automatically redirected to their country-based subdomain using geolocation (via geoplugin.com).
  • Option to restrict country subdomains so that they are accessible only within the respective country.
  • Fixed item URLs to prevent redundant information in subdomains.

Full documentation has been updated with step-by-step instructions for setting up subdomains on different hosting environments.

Language Code in URLs

Osclass now allows adding a language code in URLs:

  • Supports short (en, cz, de) and long (en-us, cz-cs, ar-sy) versions.
  • Requires Friendly URLs to be enabled.
  • Works automatically with themes and plugins that use Osclass functions for generating URLs.

Note: This feature is in beta, so test thoroughly before using on a live website.

Built-in Translations Manager

Osclass now includes a full translation management system in the backoffice, eliminating the need for third-party tools.

Supported Features:

  • Translate PO (MO) files directly from the Osclass backoffice.
  • Create new translation files for core, themes, and plugins.
  • Update or generate translations from source code.
  • Merge translations between different catalogs.
  • Download translation files as ZIP archives.
  • Send translations to the Osclass community with one click.
  • View translation statistics, flags (fuzzy/need work), and completeness percentage.

Note: While this feature is powerful, tools like Poedit may still be more efficient in some cases.

Comment Replies – Enable User Conversations

Osclass now allows comment replies, making discussions more interactive. Admins can enable comment replies in settings.

Key Features:

  • Replies can be enabled for everyone, logged-in users, listing owners, or admins only.
  • Rating can be disabled for replies.
  • Backoffice comments section redesigned, now showing:
    • Comment titles
    • Listing links separated from user details
    • New columns: "Is reply to comment" and "Has replies"
  • Admin can now filter comments based on their parent comment.

Important: Themes must be updated to support this feature.

Other Important Updates & Improvements

  • Limit the number of ratings a user can leave on a listing.
  • New static page visibility options: (Anyone, Logged-in users, Personal users, Company users, Admins only, or Hidden).
  • Admin menu reorganized with a new "International" section for Currency & Languages.
  • Filter and ban words in latest searches.
  • Country flags added to oc-includes/images (all flags have a uniform height of 48px).
  • Listing "Mark as" options can now be disabled completely in settings.
  • Item URLs now contain more keywords for better SEO.
  • All JavaScript libraries updated to their latest versions.
  • Improved "Remember Me" function – now login can persist up to 3 years.
  • Static pages and email templates sections redesigned in the backoffice.
  • Child themes now support functions_child.php for additional customization.
  • Redesigned flash messages in the backoffice to reflect their status better.
  • Cookies model redesigned to improve performance and fix issues.
  • Better auto-upgrade mechanism with new helper functions and improved documentation.

Upgrade to Osclass 8.1.0 Today

This is one of the biggest Osclass updates yet, introducing long-awaited features and significant improvements.