Simple Machines Forum (SMF) Ice Auth Python Script

Ice/DBus, Web-Interfaces, Management tools

Re: Simple Machines Forum (SMF) Ice Auth Python Script

Postby devorian » Mon Apr 04, 2011 12:31 pm

and i almost forgot regarding my second question:
is there any chance to make this script some thing like cron - to run it automatically for example each hour or 30 mins, but do not get duplicates in murmur users DB? Also question how to make such option like ban user in mumble if it was banned on SMF board? or maybe i'm really stuipid and this potions already done?
devorian
 
Posts: 6
Joined: Mon Apr 04, 2011 9:40 am

Re: Simple Machines Forum (SMF) Ice Auth Python Script

Postby devorian » Mon Apr 04, 2011 1:50 pm

and btw i've tryed wiciu script and installed all what was required, and getting this error:
Code: Select all
./smfauth.py
Traceback (most recent call last):
  File "./smfauth.py", line 867, in <module>
    do_main_program()
  File "./smfauth.py", line 248, in do_main_program
    Ice.loadSlice('', ['-I' + Ice.getSliceDir(), cfg.ice.slice])
AttributeError: 'module' object has no attribute 'getSliceDir'
devorian
 
Posts: 6
Joined: Mon Apr 04, 2011 9:40 am

Re: Simple Machines Forum (SMF) Ice Auth Python Script

Postby kissaki » Mon Apr 04, 2011 11:35 pm

You first have to setup python to use the ice module.
See http://mumble.sourceforge.net/Ice
MumPI: Your Mumble Web Interface in PHP
User avatar
kissaki
Team member
Team member
 
Posts: 1294
Joined: Sat Jan 09, 2010 12:15 pm

Re: Simple Machines Forum (SMF) Ice Auth Python Script

Postby devorian » Tue Apr 05, 2011 5:06 am

That was done, i also installed all requied libraries which are listed in requierements.
devorian
 
Posts: 6
Joined: Mon Apr 04, 2011 9:40 am

Previous

Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest

cron