CMD_API_MODIFY_USER and action=single

john de bom

New member
Joined
Jul 9, 2009
Messages
2
hi,

anyone figured action=single out?

http://www.directadmin.com/features.php?id=390

i just need to change the value of suspend_at_limit to OFF, i know this is possible with action=customize. but not only is it prone to errors, it just feels very wrong updating every field in the customize section when i only need to change one.

i did numerous attempts all resulting in "Settings changed" but nothing is happening.

anyone?
 
Hello,

The action=single only covers the Email, Name, Language, and skin.

The important values are:

email=anything
evalue=email address

name=anything
nvalue=full name

language=anything
lvalue=en

skin=anything
skinvalue=skinname

The "anything" parts is just the text value of the button, but it's the presence of the name of the button that DA uses to figure out which button was pressed.

"suspend_at_limit" must be passed with the entire list of package values.. it doesn't work in "single" mode.

John
 
Back
Top