*

MB Themes

Osclass 8.0.2 release
« on: May 05, 2022, 08:26:46 AM »
Hey community, Osclass 8.0.2 has been release!, here you can find changes and updates made since 8.0.1!

  • IMPORTANT: "upsert" function has been added into DAO that makes working with database much simpler, especially for plugin developers.
    Function is combination of insert and update and does INSERT INTO *** ON DUPLICATED KEY UPDATE ***
  • New feature: Image canvas background can now be changed from white to black.
    Extremely useful feature in case theme design would prefer black image canvas instead of white.
  • New option in user settings: Username generator.
    It is possible now let osclass generate usernames based on name of user and not based on ID. This may have positive impact on SEO, as username is used to generate public profile URL of user.
  • Media section in backoffice slightly redesigned.
  • Renew button has been added into listings list in backoffice. Only item that is eligible for renewal can be renewed, otherwise this button is hidden.
  • Osclass generator meta tag can now be hidden in Settings > General.
    New filter has been created: meta_generator, that allows to customize generator content if needed.
  • Function osc_register_script now support attributes parameter (last - 4th) that allows to add attributes to <script> tag
      As example, "async" attribute can be added to script as follow: osc_register_script('uid', 'link', null, 'async');
  • Language/locale switch (if language is present in url) has been moved and redesigned.
    Now it supports also 2-letter language code and switch user locale before page is rendered. List of supported language formats: xx-YY, xx_YY, xx.
    Static pages also support 2 letters country code in URL and has improved language switch mechanism that does not require page reload (Permalinks settings must be re-saved).
    Updated language controller to update language slug in URL when changing language on that already containts language slug in URL.
  • Added native support to theme item & category tables to be included in Osclass queries directly.
    It is necessary to implement this support into theme as define('THEME_ITEM_TABLE', 't_item_theme'), define('THEME_CATEGORY_TABLE', 't_category_theme').
  • Meta tags construction for plugin pages has been improved and now force to use title defined in routes, even not using "custom" as location.
  • PHP Mailer updated to latest version.
  • Added create/update timestamp to list of ban rules, so it is clear when rule was created or lately updated.
  • Added new filters: search_list_orders, search_list_columns, search_list_types, limit_alert_items, public_items_per_page.
  • Identification of current active menu/submenu item has been redesigned and work much better now.
  • Function osc_get_parent_domain has been redesigned and now provides much more relevant results.
  • Updated phone labels in user profile in backoffice (Cell phone -> Mobile phone, Phone -> Land phone).
  • Design adjustmenst and updates in backoffice. Database logs removed from homepage widgets.
  • Support URI added to loadThemeInfo function to allow theme authors easily define link to support channel.
  • Database logger table has been slightly redesigned in order to be properly shown on mobile devices.
  • Added set of filters to items helper: item_contact_name, item_contact_phone, item_contact_other, item_contact_email.
  • Added hooks pre_send_email, before_send_email, after_send_email to enable better control over email sending function.
  • Fixed bug where listings marked as SPAM were visible on user public profile.
  • Fixed incorrect image size calculation for "best crop" option (for smaller images and images close to square aspect).
  • Fixed possible incorrect plugin counts on backoffice landing page (widget - at a glance).
  • Fixed orientation of images uploaded from mobile with landscape orientation.
  • Fixed PHP 8.1 issues with mysqli connector.
  • Fixed SQL bug for counting images (oc_t_user.pk_i_id column unknown).
  • Fixed design and position of buttons in modals in backoffice (now primary action button is always blue).
  • Fixed bug in Backoffice > Market section for themes & plugins, where these sections could be empty.
  • Fixed not functional "Update expiration?" checkbox in listing edit page.
  • Position of "Save changes" button in media settings in backoffice has been moved above "Regenerate images" section.
  • Fixed numerous bugs and notices, as well as code improvements inside core and oc-admin folders.
  • Fixed minor bugs with widgets in main page in backoffice.
  • Fixed issues with repeating items in alerts section (one item repeated multiple times).
  • Fixed design of radio & checkbox custom fields in backoffice.
  • Numerous fixes and improvements with alert listings and their counting.
  • Added support for alpha & beta testing.

Complete changelog of Osclass can be found here:
https://osclass-classifieds.com/changelog
« Last Edit: May 06, 2022, 04:16:29 PM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

tomi327

  • ***
  • 67 posts
Re: Osclass 8.0.2 release
« Reply #1 on: May 05, 2022, 12:40:35 PM »
Good job.  ;)

*

MB Themes

Re: Osclass 8.0.2 release
« Reply #2 on: May 05, 2022, 03:25:09 PM »
Thanks!

8.0.2 has been just released!
Try, test, report, comment, blame :D
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 485 posts
Re: Osclass 8.0.2 release
« Reply #3 on: May 06, 2022, 12:56:08 PM »
Update went smoothly and for now in testfase everything seems to work flawlessly GREAT job! :D

*

MB Themes

Re: Osclass 8.0.2 release
« Reply #4 on: May 06, 2022, 02:33:26 PM »
@mwindey
Cool, glad to hear that.
We've still identified minor issues with database check during installation those will be removed in next update, as database updates are made in different way and this looks to be just some old code never reviewed.
Was able to update 8 sites within 5 minutes :)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 88 posts
Re: Osclass 8.0.2 release
« Reply #5 on: May 06, 2022, 04:10:16 PM »
@mwindey
Cool, glad to hear that.
We've still identified minor issues with database check during installation those will be removed in next update, as database updates are made in different way and this looks to be just some old code never reviewed.
Was able to update 8 sites within 5 minutes :)
so skip this version?

*

MB Themes

Re: Osclass 8.0.2 release
« Reply #6 on: May 06, 2022, 04:16:05 PM »
No the "issue" with database check is there maybe from v3.3 and is simply redundant.
If it fails it means nothing, it is just false positive error that is not error.
8.0.3 will come probably much later this year :)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Marius

  • ***
  • 89 posts
Re: Osclass 8.0.2 release
« Reply #7 on: May 07, 2022, 01:19:19 PM »
Good job!!!

*

MB Themes

Re: Osclass 8.0.2 release
« Reply #8 on: May 07, 2022, 05:28:54 PM »
@marius
Thank you  :-*
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Hugo

  • ****
  • 186 posts
Re: Osclass 8.0.2 release
« Reply #9 on: May 08, 2022, 06:39:33 PM »
"Language/locale switch (if language is present in url) has been moved and redesigned.
Now it supports also 2-letter language code and switch user locale before page is rendered. List of supported language formats: xx-YY, xx_YY, xx.
Static pages also support 2 letters country code in URL and has improved language switch mechanism that does not require page reload (Permalinks settings must be re-saved).
Updated language controller to update language slug in URL when changing language on that already containts language slug in URL."

How do you mean exactly? Like when one has a website in English, Germand and Dutch it will be visible as the following:
example.com
example.com/de/
example.com/nl/

Please let me know.

Cool update btw!

*

MB Themes

Re: Osclass 8.0.2 release
« Reply #10 on: May 08, 2022, 07:41:51 PM »
Maybe preparation for future so osclass understands to 2 letter language code !as it does not make sense to do it with 5 letters), but for now it is applicable to static pages only those supports language code in URL
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Nick N

  • **
  • 28 posts
Re: Osclass 8.0.2 release
« Reply #11 on: May 09, 2022, 11:38:03 PM »
I have bugs:
1. manage listings -> edit listing -> "item sold" check box: I unchecked it, pushed "update listing" button, but check box remains checked.
2. photo upload button disappeared when submitting a new listing
(Delta Osclass Theme 1.2.5)
« Last Edit: May 10, 2022, 01:12:51 PM by Nick N »

*

MB Themes

Re: Osclass 8.0.2 release
« Reply #12 on: May 10, 2022, 04:02:21 PM »
@nick
Already addressed in different thread.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots