Osclass 8.0.2 - Performance, SEO, and Usability Enhancements

Osclass 8.0.2 continues the evolution of the classifieds script with major backend improvements, SEO-friendly user profiles, a redesigned media management section, and additional refinements for PHP 8.1 compatibility.

New Upsert Function – Optimized Database Operations

A new upsert function has been introduced to Osclass, allowing developers to update or insert database records without checking for the existence of a record beforehand.

This significantly improves performance and simplifies queries, making database operations more efficient.

Customizable Image Canvas Background

Users can now modify the background color of image canvases in Osclass.

  • Previously, unused image areas were automatically filled with white.
  • Now, users can switch the background color to black.
  • This is especially useful when the "best crop" or "force image aspect" features are not enabled.

SEO-Optimized Username Generation

Osclass now offers multiple username generation options for better SEO and structured URLs.

  • Previously, if a username was not provided at registration, Osclass used the user ID.
  • Now, usernames can be auto-generated based on the user’s real name, making public profile URLs more readable and SEO-friendly.

Redesigned Media Section in Backoffice

The media management section has been completely redesigned, improving usability and providing more control over listing media files.

Improvements include:

  • A cleaner, more intuitive design.
  • Better image previews.
  • Faster load times and reduced query execution.

Renew Button for Admins in Backoffice

Admin users can now renew expired listings directly from the backoffice.

  • Previously, only listing owners could renew their ads.
  • Now, admins can manage expired listings more effectively.

Language Code Enhancements

Significant improvements have been made to how Osclass handles language codes:

  • Support for two-letter language codes (e.g., yourdomain.com/ru/static-page-p22).
  • Improved handling of static pages when switching languages.
  • Better compatibility with multi-language sites.

Native Support for Theme-Specific Database Tables

Themes can now push their custom tables into core queries, reducing the number of queries required to generate pages.

  • Particularly useful for home and search pages.
  • Supports theme-specific item and category tables.

Additional Improvements & Fixes

  • Option to hide Osclass generator meta tag in backoffice.
  • New filters added to manage the meta generator content without modifying the core.
  • osc_register_script function now supports deferred and async attributes for improved script loading performance.
  • Meta tag (title) improvements for plugins, eliminating the need for the "custom" section.
  • PHP Mailer updated to the latest version.
  • New filters and hooks introduced to allow better customization of core output.
  • Further PHP 8.1 improvements (not fully supported yet).
  • Optimized search queries, fixing issues with search counts.
  • Improved installation process design.
  • Fixed "best crop" functionality, ensuring accurate image proportions.
  • Fixed domain function used in API calls, resolving issues with domains using .xx.yy extensions.

Upgrade to Osclass 8.0.2 Today

This update delivers significant performance improvements, SEO enhancements, and UI refinements.