[(X)Aseco] Fufi Widgets (v0.80b)

This forum is dedicated to the Aseco/Rasp 2 server records and control script by Flo and Assembler Maniac. Announcements and issues can be discussed in this forum.

Moderators: Flo, f*ckfish, Assembler Maniac, TM-Patrol

User avatar
shoei
wheelbarrow operator
wheelbarrow operator
Posts: 24
Joined: 18 Nov 2010 06:43
Owned TM-games: tmuf

Re: [(X)Aseco] Fufi Widgets (v0.80b)

Post by shoei » 05 Feb 2011 18:47

hello, serait'il possible to isolate the karma fufi widgets to make it a plugin

for example fufi karma plugin
Image
Image

User avatar
Knutselmaaster
swift roadking
swift roadking
Posts: 692
Joined: 16 Feb 2007 01:40
Owned TM-games: TMO/TMN/TMNF/TMU
Manialink(s): intr
Location: Between DisneyLand and Paris
Contact:

Re: [(X)Aseco] Fufi Widgets (v0.80b)

Post by Knutselmaaster » 05 Feb 2011 19:08

You can disable all other widgets, so that just the karma remains.

User avatar
shoei
wheelbarrow operator
wheelbarrow operator
Posts: 24
Joined: 18 Nov 2010 06:43
Owned TM-games: tmuf

Re: [(X)Aseco] Fufi Widgets (v0.80b)

Post by shoei » 06 Feb 2011 10:45

Ok thank you but where and how to disable other Wiget?
And it will be compatible with plugin.records_eyepiece ?
Image
Image

User avatar
Knutselmaaster
swift roadking
swift roadking
Posts: 692
Joined: 16 Feb 2007 01:40
Owned TM-games: TMO/TMN/TMNF/TMU
Manialink(s): intr
Location: Between DisneyLand and Paris
Contact:

Re: [(X)Aseco] Fufi Widgets (v0.80b)

Post by Knutselmaaster » 06 Feb 2011 10:55

Yup, i got it running together too on 5 of my servers.
But you need to comment out line 2751 - 2756 in the fufi widgets plugin.

Replace

Code: Select all

Aseco::addChatCommand('togglewidgets', 'Toggle the display of the record widgets');

    function chat_togglewidgets($aseco, $command){
        global $fufiWidgets;
        $fufiWidgets->chatToggle($command);
    } 
with

Code: Select all

 /*Aseco::addChatCommand('togglewidgets', 'Toggle the display of the record widgets');

    function chat_togglewidgets($aseco, $command){
        global $fufiWidgets;
        $fufiWidgets->chatToggle($command);
    }*/
The other widgets need to be set to false in the xml.
Also you will need to change the position of the karma widget because it will be on the same place as one of the eyepiece widgets.
Refer to the fufi widgets documentation on how to do this.

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: [(X)Aseco] Fufi Widgets (v0.80b)

Post by Ant » 06 Feb 2011 18:39

This also needs to be done with the newest records eyepiece version.

User avatar
shoei
wheelbarrow operator
wheelbarrow operator
Posts: 24
Joined: 18 Nov 2010 06:43
Owned TM-games: tmuf

Re: [(X)Aseco] Fufi Widgets (v0.80b)

Post by shoei » 06 Feb 2011 19:45

thank you very much it works thanks to you

I can change [plugin_record_eyepiece.php] on line 421

I commented with / * * / plugin.fufi.wigets.php


Code: Select all

	// Check for forbidden Plugins
	$forbidden = array(
		/*'plugin.fufi.widgets.php',*/ <<< ligne 421
		'plugin.current.song.php',
		'plugin.elist.php',
		'plugin.nicofinish.php',
		'plugin.simplcp.php'
	);
	foreach ($forbidden as &$plugin) {
		foreach ($aseco->plugins as &$installed_plugin) {
			if ($plugin == $installed_plugin) {
				// Found, trigger error
				trigger_error('[plugin.records_eyepiece.php] This Plugin can not run with "'. $plugin .'" together, you have to remove "'. $plugin .'" from plugins.xml!', E_USER_ERROR);
			}
		}
I am truly sorry for my bad English spoken

thank you
Image
Image

User avatar
Knutselmaaster
swift roadking
swift roadking
Posts: 692
Joined: 16 Feb 2007 01:40
Owned TM-games: TMO/TMN/TMNF/TMU
Manialink(s): intr
Location: Between DisneyLand and Paris
Contact:

Re: [(X)Aseco] Fufi Widgets (v0.80b)

Post by Knutselmaaster » 06 Feb 2011 21:18

Pas de souci ;)
I think this will help a lot of people.

Post Reply