Osclass 8.0.1 - A Step Closer to PHP 8.1 & Improved Performance

Osclass continues to evolve with the 8.0.1 release, focusing on PHP 8.1 compatibility groundwork, mobile-first installation, enhanced ban rules, and additional security and performance optimizations.

PHP 8.1 Compatibility Work Begins

The transition to PHP 8.1 has begun, but full compatibility is still pending due to external libraries that have yet to support PHP 8.1 fully. While Osclass itself is moving forward, some dependencies still generate notices and errors.

As PHP 8.1 adoption grows, expect continuous improvements in future Osclass releases.

Mobile-Optimized Installation Process

Installing Osclass from mobile devices is now seamless. The installation UI has been redesigned to be fully responsive, allowing users to set up their classifieds website from any device.

Other improvements in the installation process:

  • Better handling of database connection issues – now displaying proper error messages instead of generic failures.
  • Optimized compatibility with PHP 8.0 for improved stability.

Contact Forms Can Now Be Completely Disabled

For websites suffering from spam attacks or those needing to temporarily disable communication, admins can now fully disable contact forms.

Forms that can be disabled:

  • General contact form (Web contact form for site-wide inquiries)
  • Item contact form (Contact form on listing pages)

When disabled, even direct POST requests attempting to submit messages will be blocked, preventing spam from bypassing UI restrictions.

RTL Language Support via Backoffice

Until now, RTL (Right-to-Left) support was typically handled at the theme level. From Osclass 8.0.1 onwards, admins can officially designate a language as RTL directly from the backoffice.

Themes can now rely on this setting to adjust layouts and typography dynamically for RTL-based languages like Arabic, Hebrew, Persian, and Urdu.

Ban Rules Processing & Performance Improvements

Ban rules have been restructured for greater efficiency. Previously, Osclass loaded all ban rules into a single variable before evaluating them, which became inefficient for large datasets.

New ban rule processing method:

  • Now executes two optimized database queries instead of loading all rules at once.
  • Reduces memory consumption and speeds up validation.
  • Supports much larger ban rule datasets, benefiting sites with high anti-spam activity.

This update ensures faster rule evaluations during registration, listing creation, and other actions where ban rules apply.

Alerts Table Redesign – Enhanced Usability

The Alerts page in the backoffice has been redesigned for easier management. New fields include:

  • Status – Shows whether an alert is active or expired.
  • Status Color – Visual indicator for quick status identification.
  • Unsubscribe Date – Displays when a user opted out of alerts.

The new layout provides better insight and organization for managing user alert subscriptions efficiently.

Additional Features & Fixes

  • New cleanup tool: Admins can now remove outdated alerts from the database under Tools > Cleanup.
  • Improved upgrade process: Updating Osclass is now smoother with better handling of dependencies.
  • Update notifications: The "Osclass XY is available" message is now removed after successful upgrades.
  • oc-content folder inclusion in upgrades: Admins can choose whether oc-content should be updated during core upgrades (Settings > General).
  • Optimization file cleanup: CSS & JS minified files are now automatically cleaned after updates, as well as when activating/deactivating plugins or themes.
  • Bug fixes: Resolved issues related to:
    • Auto-upgrade functionality.
    • Searching & counting items with pictures.
    • Optimization of SQL queries for better performance.
    • Fixed notices during installation process.
    • Fixed sorting issues in the Osclass market.

Upgrade to Osclass 8.0.1 Now

With improved security, spam prevention, mobile installation, and performance enhancements, Osclass 8.0.1 is a must-have update for all users.