How to disable the "Donation" widget ?

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

Post Reply
Krill
highway camper
highway camper
Posts: 3
Joined: 16 Jan 2016 11:08
Owned TM-games: United, Canyon

How to disable the "Donation" widget ?

Post by Krill » 16 Jan 2016 11:24

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.

weasel
speedy pilot
speedy pilot
Posts: 356
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: How to disable the "Donation" widget ?

Post by weasel » 16 Jan 2016 15:09

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 )

Krill
highway camper
highway camper
Posts: 3
Joined: 16 Jan 2016 11:08
Owned TM-games: United, Canyon

Re: How to disable the "Donation" widget ?

Post by Krill » 16 Jan 2016 15:23

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.

Xymph
Pit Crew
Pit Crew
Posts: 5706
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: How to disable the "Donation" widget ?

Post by Xymph » 16 Jan 2016 16:06

Krill wrote:I want to keep the donate plugin, but only disable the widget at race.
It wasn't built to allow that.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

Krill
highway camper
highway camper
Posts: 3
Joined: 16 Jan 2016 11:08
Owned TM-games: United, Canyon

Re: How to disable the "Donation" widget ?

Post by Krill » 19 Jan 2016 17:22

We can't edit the php file to remove the widget ? :?

weasel
speedy pilot
speedy pilot
Posts: 356
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: How to disable the "Donation" widget ?

Post by weasel » 23 Feb 2019 09:46

Anyone found a solution for this ?

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 193
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: How to disable the "Donation" widget ?

Post by L3cKy » 23 Feb 2019 11:16

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
Last edited by L3cKy on 23 Feb 2019 11:21, edited 1 time in total.

weasel
speedy pilot
speedy pilot
Posts: 356
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: How to disable the "Donation" widget ?

Post by weasel » 23 Feb 2019 11:20

Ah ok , thanks a lot :thumbsup:

Post Reply