Forum

[IMPORTANT] Remove ...
 
Notifications
Clear all

[IMPORTANT] Remove Market from existing Osclass installations

22 Posts
8 Users
0 Likes
1,757 Views
Defected
(@dftd)
Posts: 614
Honorable Member Admin
Topic starter
 

Hello there!

Maybe I'm a little late to the party, but Osclass Market is closing tomorrow.
I wrote a guide that you can use to remove Market requests and more from your Osclass installations.
Check it here: https://docs.osclasscommunity.com/removing-market/

Be sure to make a backup, you never know...

Update: Don't have time? Download the edited core files from here.

Regards.

Available for custom Osclass development. www.defected.dev

 
Posted : 04/09/2019 4:19 pm
(@rusnam)
Posts: 219
Estimable Member
 

Can you make it simple?
Is it possible to remove market by installing plugin? Or updating osclass with navojttomer fork?

 
Posted : 04/09/2019 6:01 pm
joecool
(@joecool)
Posts: 197
Reputable Member
 

https://docs.osclasscommunity.com/removing-market/introduction#

it's worked great for me thank you, and speeded up my admin panel

thank you

 
Posted : 04/09/2019 7:09 pm
Defected
(@dftd)
Posts: 614
Honorable Member Admin
Topic starter
 

Can you make it simple?
Is it possible to remove market by installing plugin?

Nope...
A plugin can't do all that. A lot of core modifications are required.
One developer made a plugin that apparently removes Market, but it didn't do even half of the job and he promoted his plugins where Osclass promotions were...

Or updating osclass with navojttomer fork?

These mods are made in a pull request on Navjot's fork and will be merged in develop branch eventually.

it's worked great for me thank you, and speeded up my admin panel
thank you

Glad I helped. 🙂

Regards.

Available for custom Osclass development. www.defected.dev

 
Posted : 04/09/2019 7:13 pm
Defected
(@dftd)
Posts: 614
Honorable Member Admin
Topic starter
 

Another page added to the guide. It disables "Upgrade" page. Check it here: https://docs.osclasscommunity.com/removing-market/remove-calls-to-osclass/disable-upgrade-page

Regards.

Available for custom Osclass development. www.defected.dev

 
Posted : 05/09/2019 1:09 am
marius-ciclistu
(@marius-ciclistu)
Posts: 121
Estimable Member
 

Hi. Do you know what is causing this error when osclass,com is dowm?

PHP Warning:  Error while sending QUERY packet. PID= in /oc-includes/osclass/classes/database/DBCommandClass.php on line 1011
?

 
Posted : 25/09/2019 10:58 pm
Defected
(@dftd)
Posts: 614
Honorable Member Admin
Topic starter
 

Hi. Did you know what is causing this error when osclass,com is dowm?

PHP Warning:  Error while sending QUERY packet. PID= in /oc-includes/osclass/classes/database/DBCommandClass.php on line 1011
?

I don't know which part exactly does it, but performing these mods fix all the problems.

Maybe you can add something like this to osc_file_get_contents function


if (strpos($url, 'osclass') !== false) {
    return array();
}

Available for custom Osclass development. www.defected.dev

 
Posted : 25/09/2019 11:21 pm
marius-ciclistu
(@marius-ciclistu)
Posts: 121
Estimable Member
 

Now that osclass sites are down, I see many hangs in admin:) I commented out or ruled out any code I could find that contains osclass.org from the project. Now I see that your market removal from the project is big for a reason:)

 
Posted : 25/09/2019 11:41 pm
Defected
(@dftd)
Posts: 614
Honorable Member Admin
Topic starter
 

Now that osclass sites are down, I see many hangs in admin:) I commented out or ruled out any code I could find that contains osclass.org from the project. Now I see that your market removal from the project is big for a reason:)

Yeah, there's a bunch of code scattered around in a lot of files. It's really a huge improvement in speed after you do the mods, or comment the code, or even just change osclass.org to localhost or something.

Available for custom Osclass development. www.defected.dev

 
Posted : 25/09/2019 11:56 pm
marius-ciclistu
(@marius-ciclistu)
Posts: 121
Estimable Member
 

I just finished your tutorial. the admin is flying now. Thanks.

but still for example for category stats i got this and a hang (or import from tools. i think the first clicked item from tools generates this)

PHP Warning:  Error while sending QUERY packet. PID= in oc-includes/osclass/classes/database/DBCommandClass.php on line 1011

Also I am logout and must login again when this happens.

edited
I think i solved it with this
https://docs.osclasscommunity.com/removing-market/remove-calls-to-osclass/delete-featured-products-from-admin.
I missed those.

edited again

you missed a spot


            //$this->add_submenu( 'tools', __('Upgrade Osclass'), osc_admin_base_url(true) .'?page=tools&action=upgrade', 'tools_upgrade', 'administrator');

from AdminMenu.php

 
Posted : 26/09/2019 12:17 am
Defected
(@dftd)
Posts: 614
Honorable Member Admin
Topic starter
 

you missed a spot


//$this->add_submenu( 'tools', __('Upgrade Osclass'), osc_admin_base_url(true) .'?page=tools&action=upgrade', 'tools_upgrade', 'administrator');

from AdminMenu.php

I'm not sure was that left intentionally or not... Anyways, when you open the page, it's changed so it always says that Osclass is up to date.

Available for custom Osclass development. www.defected.dev

 
Posted : 26/09/2019 9:14 pm
(@subzero)
Posts: 149
Member
 

I removed completely osclass market and also re-designed the backend as it was very outdated. Now i have a modern UI that is absolutely awesome, functional and lighter.

Just a screen shot of listings statistics page 😉

IMGUR SCREENSHOT

Frontend Dev / UX-UI Designer / Illustrator / Father / Linux Enthusiast / Minimalist

 
Posted : 28/09/2019 12:39 pm
marius-ciclistu
(@marius-ciclistu)
Posts: 121
Estimable Member
 

I removed completely osclass market and also re-designed the backend as it was very outdated. Now i have a modern UI that is absolutely awesome, functional and lighter.

Just a screen shot of listings statistics page 😉

IMGUR SCREENSHOT

I also made some changes to it to, to be able to use it on mobile.

 
Posted : 28/09/2019 1:25 pm
Defected
(@dftd)
Posts: 614
Honorable Member Admin
Topic starter
 

Great job. 🙂

If anyone of you two wants, post a zip file of the admin themes. I would love to try them out!

Available for custom Osclass development. www.defected.dev

 
Posted : 28/09/2019 1:59 pm
marius-ciclistu
(@marius-ciclistu)
Posts: 121
Estimable Member
 

Great job. 🙂

If anyone of you two wants, post a zip file of the admin themes. I would love to try them out!

Mine is verry chopped out. I don't think it's relevant.

 
Posted : 28/09/2019 2:01 pm
Page 1 / 2
Share: