Recent Posts

Pages: [1] 2 3 ... 10
1
General discussion / Re: PHP Limit not working
« Last post by MB Themes on Today at 06:08:29 PM »
https://docs.osclasspoint.com/settings

Code: [Select]
$max_upload = $this->_sizeToKB(ini_get('upload_max_filesize'));
$max_post = $this->_sizeToKB(ini_get('post_max_size'));
$memory_limit = $this->_sizeToKB(ini_get('memory_limit'));

$upload_mb = min($max_upload, $max_post, $memory_limit);
2
Zeta Osclass Theme / Mobile view
« Last post by Lamanuncios on Today at 04:03:54 PM »
Hi group. I want to ask , for mobile view , which page have to edit? I mean home page. Tks.
3
Stela Osclass Theme / Change Favicon & Name of Progressive Web App (PWA)
« Last post by IndoSun on Today at 03:53:10 PM »
Hello,

After downloading the PWA from the browser, it is installed correctly, but "Stela" appears as the app name and the theme's favicon as the app image.
How can I change the name to the name of my website and the favicon to my logo?

Thanks and Kind Regards
Indosun
4
General discussion / PHP Limit not working
« Last post by simon1111 on Today at 02:41:08 PM »
Hello I get the following error when I try to change the uploa limit on this page
oc-admin/index.php?page=settings&action=media



MY php limit is set correct on server and occlass even shows it as
Maximum size PHP configuration allows: 208896 KB


But OSClass still will not allow me to increase it 

I get this error
You cannot set a maximum file size higher than the one allowed in the PHP configuration: 2048 KB


Please see screen shots


5
Alpha Osclass Theme / Strange behavior on search page
« Last post by schoocom on Today at 11:57:45 AM »
Hi all,

I’m facing a strange issue on my search page.

I get this message but I can’t figure how to delete it :

<ullispan class="searchPaginationSelected list-first"1/span/li/ul>

I don’t remember having touched anything regarding the pagination.

If someone could help me …
6
Report bug / Breadcrumbs bug
« Last post by katalin2k on Yesterday at 08:25:46 PM »
If you have multiple cities with the same name but in different regions, in breadcrumbs you will see the same region for all the different cities.
7
Feature request / Re: Suggestion for uploading images
« Last post by katalin2k on Yesterday at 03:59:22 PM »
Try to play with compressor.
In oc-includes/osclass/frm/item.frm...


find this line:
Code: [Select]
}).use(Uppy.Compressor, {
I found it supports maxWidth and maxHeight, so if image is larger, it's going to convert to smaller dimension.
This can be handy if you upload image 8000x8000px, but on site you generate just 1024x768... you don't need that big one.

Change it to:
Code: [Select]
        }).use(Uppy.Compressor, {
          quality: 0.85,
          maxWidth: 1600,
          maxHeight: 1600
         

Carefully if you use "keep aspect ratio" as you might get portrait image... but if you use for maxWidth and height same value, you should be OK.
I tested it and it do compression on upload, so PHP already receive smaller image and might be faster.
This will not work for Importer as this one provides images to osclass diferently
I will try this. I uploaded 4 photos between 1,5 and 2MB with 4032x3024 and after I hit “Post” it loaded for 57 seconds! Huge time if you ask me! I will try what you suggested and let you know!
8
Just tested on demo and everything works OK.
https://starter.mb-themes.com/item/new

Ajax calls are disabled in item publish.php of theme as they are fully handled by Osclass core.
9
Zeta Osclass Theme / Re: Update Footer
« Last post by MB Themes on Yesterday at 09:13:20 AM »
If you modify original theme files - yes.
10
Feature request / Re: Suggestion for uploading images
« Last post by MB Themes on Yesterday at 08:41:54 AM »
Try to play with compressor.
In oc-includes/osclass/frm/item.frm...


find this line:
Code: [Select]
}).use(Uppy.Compressor, {
I found it supports maxWidth and maxHeight, so if image is larger, it's going to convert to smaller dimension.
This can be handy if you upload image 8000x8000px, but on site you generate just 1024x768... you don't need that big one.

Change it to:
Code: [Select]
        }).use(Uppy.Compressor, {
          quality: 0.85,
          maxWidth: 1600,
          maxHeight: 1600
         

Carefully if you use "keep aspect ratio" as you might get portrait image... but if you use for maxWidth and height same value, you should be OK.
I tested it and it do compression on upload, so PHP already receive smaller image and might be faster.
This will not work for Importer as this one provides images to osclass diferently
Pages: [1] 2 3 ... 10