Prev Previous Post   Next Post Next
Old 20th November 2011, 07:14
nveid nveid is offline
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
'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
$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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3 Remote api - SOAP error kassyo General 9 27th November 2013 14:05
[Info] Remote Desktop Solutions for Linux mar.and65 Desktop Operation 0 27th April 2011 08:05
remote api problem germinator Developers' Forum 1 13th February 2011 22:27
Installing remote api bahadircolak Developers' Forum 1 7th May 2010 06:13
Remote API - Add domain, add DNS Zone fabiosergio Tips/Tricks/Mods 1 5th May 2010 10:13

All times are GMT +2. The time now is 10:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.