Problems with idle php script

Ice/DBus, Web-Interfaces, Management tools

Problems with idle php script

Postby jesepi » Sun Feb 19, 2012 5:06 pm

I was using this script and a cronjob to move my idle users into a particular channel:

https://github.com/mumble-voip/mumble/b ... s/idle.php

After a php/zeroc update, the script no longer works. Looking around I found this documentation:

http://download.zeroc.com/Ice/3.4/Ice-3 ... EASE_NOTES
These functions have also been removed:

Ice_loadProfile()


The global variable $ICE is no longer defined. An application must
now initialize its own communicator as described above in the
"Communicators" section.




Can this be easily fixed by someone?
jesepi
 
Posts: 12
Joined: Fri Mar 05, 2010 3:29 pm

Re: Problems with idle php script

Postby kissaki » Thu May 17, 2012 6:30 am

As a quick link that will probably help you:
See the connecting logic of MumPI
https://github.com/Kissaki/MumPI/blob/a ... ce.php#L48

Especially the version check and differences in connecting.
For version 3.4 you will want to see line 60 onwards.
MumPI: Your Mumble Web Interface in PHP
User avatar
kissaki
Team member
Team member
 
Posts: 1289
Joined: Sat Jan 09, 2010 12:15 pm


Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest