Change skin via API

cyberneticos

Verified User
Joined
Aug 21, 2005
Messages
706
Location
Spain
Hi everyone,

I have tried changing user skin using

Code:
$sock = new HTTPSocket;
	$sock->connect(xx.xx.xx.xx,2222);

	$sock->set_login('admin','xxxxxxx');

	$sock->set_method('POST');

	$sock->query('/CMD_MODIFY_USER',
	array(
		'action' => 'customize',
		'user' => 'xxxxxxxx',
        'skin' => 'cambiar',
        'skinvalue' => $skintochangeto,
    ));

     $result = $sock->fetch_body();

I found that what it wants to do is also set the other form elements all to OFF (cgi, ssl, php,ssh,dns control, etc...)

Is there a way I can change JUST the skin without having to post the other option variables ?
 
Hello guys,

It's really important that I can change the skin via API, since it's the only thing I can't automate and it's the only thing making me waiste too much time on each new reseller account. I can't assign a skin to a reseller.

Also I want to give my users the capability of switching thier own skins.

I have looked in the API and havn't found anything, and looked in the API thread, and nothing, no help, either.

Any one got any hints on how to make this happen ?
 
Back
Top