*

MB Themes

Osclass 4.4 released - May major update
« on: April 27, 2021, 08:45:50 AM »
Hey everyone,
Osclass 4.4 has been release today as it was time to do one big step again.

You can read about relase on our blog: https://osclasspoint.com/blog/osclass-44-major-release-b36
Or you can check all details in changelog: https://osclass-classifieds.com/changelog

Download Osclass classifieds script v4.4.0

There is 41 improvements, fixes and updates in 4.4 update!
  • IMPORTANT: jQuery updated from 1.8 into 3.6.
      This includes update of all related javascript libraries, market themes and several plugins.
      jQuery version can be changed in oc-admin > settings, by default old 1.8 library will be selected for retro-compatibility.
  • Plugin section in backoffice updated:
      Bulk action has been added into plugin section.
      Search option added, you can search plugins by string in name, description, author or version fields.
      Plugin list design has been slightly updated (support link instead of icon, changed wording, adjusted font size).
  • Breadcrumbs feature updated:
      Created new section in Settings > Breadcrumbs.
      Added option to disable/hide breadcrumbs on specific pages, including custom (plugin) pages.
      Added option to show all levels of categories on listing page.
      Added option to add country, region and city into breadcrumbs on listing page.
      New filter created: breadcrumbs_page_title_filter.
  • Category tree box has been redesigned, new icons used and now allows to choose category up to 4 levels.
      This allows i.e. custom fields or different plugins to be defined in lowest level (nested) category.
  • Admin can now choose backoffice color scheme, besides default one there is additional 8 color schemes those can be applied in backoffice.
  • Completely redesigned functionality of structured data, created new functions, new hooks and new filters.
      New functions: osc_structured_data_title, osc_structured_data_description, osc_structured_data_image, osc_structured_data_footer, osc_structured_data_header.
      New hooks: structured_data_footer, structured_data_header.
      New filters: structured_data_title_filter, structured_data_description_filter, structured_data_image_filter.
  • Checking for plugins & themes update has been redesigned and osclass now cache version data from OsclassPoint.
      Also all product versions are provided in one call, instead of using 1 call per product, that significantly speed-up updates checking.
  • New constants are supported in config.php: DEMO_THEMES, DEMO_PLUGINS.
      If defined to true, admin those username contains "demo" will have significantly restricted access in backoffice only to themes/plugins, where this admin is not able to perform changes. Only one of these constants can be used at same time.
      In case DEMO, DEMO_THEMES or DEMO_PLUGINS constant is set to true, and admin user with username "demo" exists, this is auto-filled into login form and login with demo admin will work with any password.
      In case DEMO, DEMO_THEMES or DEMO_PLUGINS constant is set to true, and user with username "demo" exists, this is auto-filled into login form. Login with username starting with "demo" will work with any password.
  • Added tabbing functionality into backoffice, especially useful on plugin configuration pages (i.e. Realestate).
  • Widget in backoffice home page now cache and reuse results for 3 days, that speedup loading of data inside widgets related on external services.
  • Custom HTML code section/field has been added into Appearance > Cusotmization has been created. You cann add there custom HTML or JavaScript code that will be added into footer.
      This code will not be changed or modified during theme or osclass updates.
  • Added cyrilic to latin conversion for URLs. Previously called cyrilic has been changed to greek.
  • Fixed and improved performence of location functions & queries.
  • Update of city, region or country native name, in case it is empty string, will be put into database as null.
  • Redesigned how price field is validated when publishing new listing, new functions has been added to properly extract number from user entered price value.
  • Set of fixes and updates to avoid getting undefined notices.
  • Fixed installation bug (undefined constant WEB_PATH) and possible issues with database connection while installing osclass on PHP 8.0
  • Fixed bug when trying bulk removal of listings.
  • Fixed bug that could occur when switching backoffice themes.
  • Fixed numerous bugs and design issues in Settings > Locations.
  • Fixed Sigma theme missing configuration link in Appearance section.
  • Fixed Sigma theme issue with text "Are you sure you want to delete your account?" being visible until page loaded in user account.
  • Improved Sigma publish page
  • increased size of wrapping box from 640px to 760px, fixed responsive view of TinyMCE box.
  • Added tabber functionality into Sigma theme.
  • In backoffice, when user is successfully updated, you will not be redirected to user list anymore, instead you stay on user profile page.
  • Variable $_SERVER['SCRIPT_FILENAME'] used to define base ABS_PATH is now refined and double forward slashes are removed, this caused on incorrect hosting configuration problems with osclass plugins and links.
  • Updated osc_search_url() function to correctly search regions & cities by slug (not just by name & id).
  • Fixed bug for moderator admin user, that could not use backoffice homepage at all and got stuck there.
  • TinyMCE upgraded from 5.4 to 5.7 version.
  • get_ip() function has been sunset.
  • osc_get_ip() function has been created, that is more reliable than get_ip() and get more realistic IP of user. Function get_ip() still can be used and will return content osc_get_ip().
  • Following keywords can now be used in any email template: {WEB_URL}, {WEB_TITLE}, {WEB_LINK}, {CURRENT_DATE}, {HOUR}, {IP_ADDRESS}; no matter if is pre-defined for template or no.
  • Fixed responsive layout for sigma theme on publish page.
  • OsclassPoint API fixed to properly identify products that has been already purchased by user.
  • Item ID and User ID has been added to edit pages in backoffice.
  • Listing table in backoffice now also shows premium views
  • how many time was listing shown in "Premium block". Premium views are visible only for listings those are set as premium.
  • When editing listing, link to edit user profile & profile picture is added into User Information block in case listing belongs to registered user
  • Admin can now block/unblock all users listing by one click from User list in backoffice.
  • Admin type (Moderator/Administrator) has been added to admins table in backoffice.
« Last Edit: April 27, 2021, 08:47:56 AM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

David Beaudoin

  • ****
  • 242 posts
  • https://abrutis.net
Re: Osclass 4.4 released - May major update
« Reply #1 on: April 27, 2021, 11:39:14 AM »
Wow so many features! Congratulations MB Theme and thank you for us!
Regards,
David
0640404083

*

MB Themes

Re: Osclass 4.4 released - May major update
« Reply #2 on: April 27, 2021, 12:47:21 PM »
Thank you, appreciated  ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oneloveb

  • ****
  • 112 posts
Re: Osclass 4.4 released - May major update
« Reply #3 on: April 27, 2021, 01:21:16 PM »
Hi,
Nice improvement and I think these features should come with the next update of osclass

How to fixed osclass price support billion
1.   go cpanel>> file manager>> public_html>> oc-includes>> osclass>> ItemActions.php
editing this code
((!osc_validate_max(number_format($aItem['price'],0,'',''), 15)) ? _m("Price too long.") . PHP_EOL : '' ) .
editing “15” with “20”
in this  ItemActions.php have 2 must to editing

So we can type any price of Items that have billion price

Thanks
« Last Edit: April 27, 2021, 01:45:23 PM by oneloveb »

*

MB Themes

Re: Osclass 4.4 released - May major update
« Reply #4 on: April 27, 2021, 01:39:45 PM »
@oneloveb
Milions has 6 zeros, number with 15 zeros is beyond milions.
But please create own thread for problems with price field ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Nagy Csaba

  • ***
  • 70 posts
Re: Osclass 4.4 released - May major update
« Reply #5 on: April 27, 2021, 02:04:12 PM »
woooooooooow

thank you

*

tomi327

  • ***
  • 66 posts
Re: Osclass 4.4 released - May major update
« Reply #6 on: April 27, 2021, 02:25:49 PM »
Great job. ;-)

*

Nagy Csaba

  • ***
  • 70 posts
Re: Osclass 4.4 released - May major update
« Reply #7 on: May 08, 2021, 09:43:36 AM »
Hi
Is ther a way to ann multiple phone fields at registration or in user panel and alow multiple phone numbers in user profile and listings? at least 5 numbers

*

MB Themes

Re: Osclass 4.4 released - May major update
« Reply #8 on: May 08, 2021, 12:39:43 PM »
No, but with proper mods you could reuse existing phone field to store all numbers
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

David Beaudoin

  • ****
  • 242 posts
  • https://abrutis.net
Re: Osclass 4.4 released - May major update
« Reply #9 on: May 08, 2021, 02:04:31 PM »
@MB Theme

What do you mean by "mods"?
Regards,
David
0640404083

*

MB Themes

Re: Osclass 4.4 released - May major update
« Reply #10 on: May 08, 2021, 08:16:58 PM »
Code modifications.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

David Beaudoin

  • ****
  • 242 posts
  • https://abrutis.net
Re: Osclass 4.4 released - May major update
« Reply #11 on: May 08, 2021, 08:26:23 PM »
ok, thanks !
Regards,
David
0640404083