Prev Previous Post   Next Post Next
  #1  
Old 20th November 2011, 06: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 06:25.
Reply With Quote
Sponsored Links
 

Bookmarks

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 13:05
[Info] Remote Desktop Solutions for Linux mar.and65 Desktop Operation 0 27th April 2011 07:05
remote api problem germinator Developers' Forum 1 13th February 2011 21:27
Installing remote api bahadircolak Developers' Forum 1 7th May 2010 05:13
Remote API - Add domain, add DNS Zone fabiosergio Tips/Tricks/Mods 1 5th May 2010 09:13


All times are GMT +2. The time now is 21:57.


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