How to change values Donate panel

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
Vins75000
pedestrian
pedestrian
Posts: 11
Joined: 05 Apr 2012 23:28
Owned TM-games: TMUF
Manialink(s): Team-RAR

How to change values Donate panel

Post by Vins75000 » 28 Dec 2012 11:00

Hi all

I try to change values in donate panel but not work
I think we should change the file manialinks.inc.php

Code: Select all

 *           "30": Donate panel, button 1         call "/donate 200"
 *           "31": Donate panel, button 2         call "/donate 500"
 *           "32": Donate panel, button 3         call "/donate 1000"
 *           "33": Donate panel, button 4         call "/donate 2000"
 *           "34": Donate panel, button 5         call "/donate 3000"
 *           "35": Donate panel, button 6         call "/donate 5000"
 *           "36": Donate panel, button 7         call "/donate 7500"
but it is not that

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

Re: How to change values Donate panel

Post by Xymph » 28 Dec 2012 13:05

plugins/plugin.donate.php:

Code: Select all

$donation_values = array(20, 50, 100, 200, 500, 1000, 2000);
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

Vins75000
pedestrian
pedestrian
Posts: 11
Joined: 05 Apr 2012 23:28
Owned TM-games: TMUF
Manialink(s): Team-RAR

Re: How to change values Donate panel

Post by Vins75000 » 28 Dec 2012 13:29

thank you xymph
I tried but it was stuck on 20,50,100,200,500,1000,1500 on panel in game

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1328
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: How to change values Donate panel

Post by undef.de » 28 Dec 2012 17:04

Or when you use the Records-Eyepiece, then you can edit:

Code: Select all

<donation_widget>
     <amounts>
And don't forget to enable this Widget. ;)
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

Vins75000
pedestrian
pedestrian
Posts: 11
Joined: 05 Apr 2012 23:28
Owned TM-games: TMUF
Manialink(s): Team-RAR

Re: How to change values Donate panel

Post by Vins75000 » 29 Dec 2012 18:59

Thanks it work !!
i used record eye piece
:thumbsup:

Post Reply