Hi, I have create a script for adding a client. i define the value parent_client_id with the reseller id. but when i check in the database the value is 1 not the reseller id. Is allways 1 I have open a task in the bugtracker http://bugtracker.ispconfig.org/index.php?do=details&task_id=2601 Tanks
I've closed the bugtracker request as its a duplicate to an existing request and has already been fixed in 3.0.5 RC1.
Hi, I have send a request fo reopen the ticket 2314 I have create a user. In the reseller, the user display. But when i had a mail domain i have a error. I have checked and in the database, the field parent_id is false (always 1). If i change to the reseller id, it's OK Best regards
When you create a client which is assigned to a reseller, you have to set the value of the field parent_id to the ID of the reseller in the params array.
It should work when you set the ID correctly in these 2 places. Tested it before the RC got released and I was able to create clients with correct ID's for resellers. $reseller_id = 2; $params( ..... 'parent_client_id' => 2, ..... ); $affected_rows = $client->client_add($session_id, $reseller_id, $params);