Support Forums - Classified Ads Script Osclass
General osclass questions => Feature request => Topic started by: Wiz on February 14, 2023, 09:38:55 AM
-
Hello,
Can we kindly have PHPMailer updated to the latest 6.7.1 release (tested locally, simple drag & drop, backward compatible to php 5.5)?
And by looking at https://cyan4973.github.io/xxHash/, perhaps we can also upgrade the hash from md5 to xxh3 for php ≥8.1 installs (also tested locally, working nicely).
Tinymce - is on versions 6, doesn't use "mode" option anymore, just selector and some plugins have been merged into the main release.
Font awesome - is also at version 6 (6.3 to be exact) has been out for a while and is backward compatible with fa/fas/far so it can be upgraded across the board (including free/paid plugins). You can use latest branch link to avoid having to manually update links to current versions in the future https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css
Nice to have for future minor releases - Adding osc_is_rtl function to frontend free / paid plugins with user rtl styles which can be automated with a converter plugin or done online.
Thanks!
-
@Wiz
PHP mailer was updated in 8.1.0 somewhere in December I think. Will check when 8.1.2 will be ready.
For font awesome 6, not planned. Getting lost with these updates, compatibility never works well to v5/v4, they are changing everything regularly.
For tinymce 6, not planned. Do not see much benefits in v6 yet, looks more-less exactly same as v5.
-
@MB Themes
Sorry if I use this post, but is a minor request too.
It is possible to add a delete button beside the download button in Tools->Debug/Error log so that is possible to delete the file without using FTP or Server control panel?
Thank you
-
@cartagena68
Yes that is possible.
-
@cartagena68
Yes that is possible.
:) Thank you
-
@Wiz
Adding osc_is_rtl function to frontend free / paid plugins with user rtl styles which can be automated with a converter plugin or done online.
Can you be more specific about your idea and conversion?
Right now all rtl related styling is hold by theme.
Our idea was to update html attribute dir to ltr/rtl and let rtl styles be applicable by this attribute, so no extra stylesheet is required.
-
@Wiz
Adding osc_is_rtl function to frontend free / paid plugins with user rtl styles which can be automated with a converter plugin or done online.
Can you be more specific about your idea and conversion?
Right now all rtl related styling is hold by theme.
Our idea was to update html attribute dir to ltr/rtl and let rtl styles be applicable by this attribute, so no extra stylesheet is required.
It's true, theme has RTL styling but only for theme elements and not for plugins ie. pay, blog, invoice, business profile and so many more. They're all LTR even with RTL direction set in head and/or plugin language has been translated. No RTL alignment whatsoever and numbers are reversed!
Consistency is very important.
The idea I'm proposing is expanding the use of osc_is_rtl (new function) or use current osc_locale_is_rtl function across all plugins with frontend/facing user interaction (not all plugins require RTL styling) ie:
if(osc_locale_is_rtl()) {
osc_enqueue_style('bpr-user-rtl-style', osc_base_url() . 'oc-content/plugins/business_profile/css/user-rtl.css?v=' . date('YmdHis'));
}
And use something like https://github.com/moodlehq/rtlcss-php or a better backend converter or framework that converts on RTL language activation with maybe an option to manually manage CSS styling via the plugin itself (via gui).
I don't recommend adding plugin RTL styling to the theme's RTL styling as it would grow in size, slow things down and users may have 1, 2, all plugins or none at all.
Forgot to add - best part, you'll be saving yourself dev time and time is $$$$
-
Not sure about that library, it woukd need a lot of testing to see if it works
-
That's how I'm handling RTL for plugins but I'm doing the conversion online using https://rtlcss.com/playground/index.html which is available on github at https://github.com/MohammadYounes/rtlcss
There are other converters/frameworks for this purpose.
I'm sure you know this, osclass core was coded over 10 or 11 years ago when barely any frameworks were available, everything was coded from scratch or based on wordpress... now there are frameworks for everything, including the most challenging and troubling issues with osclass - routing (without 302 redirections) and seo friendly urls as SEO was not a specialization of any of the main developers (they even admitted it on github).
We're getting there, bit by bit.
Thank you for your efforts!
-
@MB
Thanks so much for baking RTL support in the recently updated plugins. I like your simple and straightforward css way!
Look forward to the rest, especially Osclass Pay as it has many elements.
Cheers
Wiz
-
@Wiz
Osclass pay is done already and updated together with invoice plugin.
There is little down size of having little of extra lines, but its not that terrible :)
-
@MB
That was quick! 8)
True, a couple of extra lines of css won't hurt especially since loading times are already sub 1 ~ 1.5s and they're only enqueued when needed so there's that as well.
There's still a few more plugins that require RTL support ie. make offer, booking etc., are you working on those too?
You got those done too :)
Also, and while we're on the subject of css and presentation, it would be great if you'd consider merging the comments (received and made) into a similar unified layout as make offer (2 tabs with notification alerts for comments received / comments made) so there's less navigation links and pages to present / load.
I think it would aesthetically look better from a UX/navigation perspective.
Thanks again!
-
@MB
I certainly hope 8.1.2 is coming soon with language url out of beta.. really need this feature with working plugins.
Please let me know If there's anything I could assist with, ie. testing etc. as I have most of the plugins.
Thank you!
-
@Wiz
In your config.php set:
define('BETA_TEST', true);
Then look for new updates.
You should do this just on TEST site, not production.
You will be able to download and test 8.1.2 ;)
-
@Wiz
In your config.php set:
define('BETA_TEST', true);
Then look for new updates.
You should do this just on TEST site, not production.
You will be able to download and test 8.1.2 ;)
Niiiice! I'll get cracking on it. What's your preferred reporting medium? email, chat, forum?
Thanks
-
@Wiz
Put it here:
https://forums.osclasspoint.com/osclass/alpha-beta-testing-comments-feedback-questions/
-
Hi,
Could we possibly expand the category settings functionality under general to include another option for childless sub-categories which restricts user ability to post in sub categories with children sub-categories. If sub category is childless, then users can post listings under it.
Thanks
Wiz
-
@Wiz
I see your point, currently we check parent categories just by looking on fk_i_parent_id in database.
Doing something more complext would bring also complexity into DB queries and hit performance.
-
No worries. I looked at the code and have identified the changes I needed to do. I'm using a mariadb and redis cluster with custom compiled and optimized php so I'm not worried about the extra few queries.
Thanks