Thread: Remote API
View Single Post
  #1  
Old 20th November 2011, 07:14
nveid nveid is offline
Member
 
Join Date: Jan 2006
Location: Daytona Beach, FL
Posts: 87
Thanks: 7
Thanked 17 Times in 14 Posts
Send a message via Yahoo to nveid Send a message via Skype™ to nveid
Default Remote API

Okay.. I'm at it again.. I swear, I don't know how ISPConfig accomplishes some of the things it does sometimes. Alright, so I'm working on some integration with another package and I'm requiring a new remote function.. How do I add a specific function the remote 'functions_list'?

I understand from the form in remote_user.tform.php that I need $functions_list
Quote:
'remote_functions' => array (
'datatype' => 'TEXT',
'formtype' => 'CHECKBOXARRAY',
'regex' => '',
'errmsg' => '',
'default' => '',
'value' => $function_list,
'separator' => ';',
'width' => '',
'maxlength' => '',
'rows' => '5',
'cols' => '30'
)
What I see is in lib/remote.conf.php
Quote:
$function_list['server_get,get_function_list,client_templates_get _all,server_get_serverid_by_ip'] = 'Server functions';
I don't understand how that equates to bunch of functions inside the database per each user added.. So given that, what steps am I suppose to go through when I'm adding a new remote function to allow checkPerm to work correctly?
__________________
-- RLB

Last edited by nveid; 20th November 2011 at 07:25.
Reply With Quote
Sponsored Links