Page 1 of 1

How to disable the "Donation" widget ?

Posted: 16 Jan 2016 11:24
by Krill
Hi all,
I would like to disable the Donation widget at race, with Records Eyepiece, but I don't find where I can configure it.

I don't know if it works with Records Eyepiece...
It's this widget :
Image

Thank you for your help.

Re: How to disable the "Donation" widget ?

Posted: 16 Jan 2016 15:09
by weasel
That donation widget you mean is part of xaseco, so maybe you should disable that plugin. ( in the plugin.xml file )

I don't know if it effects the donate function at score.
That one you find in Records-eyepiece. ( line 654 )

Re: How to disable the "Donation" widget ?

Posted: 16 Jan 2016 15:23
by Krill
I disabled the widget at score, there is a setting in the record eyepiece config. I want to keep the donate plugin, but only disable the widget at race.

Re: How to disable the "Donation" widget ?

Posted: 16 Jan 2016 16:06
by Xymph
Krill wrote:I want to keep the donate plugin, but only disable the widget at race.
It wasn't built to allow that.

Re: How to disable the "Donation" widget ?

Posted: 19 Jan 2016 17:22
by Krill
We can't edit the php file to remove the widget ? :?

Re: How to disable the "Donation" widget ?

Posted: 23 Feb 2019 09:46
by weasel
Anyone found a solution for this ?

Re: How to disable the "Donation" widget ?

Posted: 23 Feb 2019 11:16
by L3cKy
weasel wrote:
23 Feb 2019 09:46
Anyone found a solution for this ?
Just outcomment this two lines at plugin.panels.php

From:

Code: Select all

Aseco::registerEvent('onNewChallenge2', 'display_alldonpanels');
Aseco::registerEvent('onPlayerConnect', 'load_donpanel');
To:

Code: Select all

//Aseco::registerEvent('onNewChallenge2', 'display_alldonpanels');
//Aseco::registerEvent('onPlayerConnect', 'load_donpanel');
Greetings

Re: How to disable the "Donation" widget ?

Posted: 23 Feb 2019 11:20
by weasel
Ah ok , thanks a lot :thumbsup: