Extends LimeSurvey Remote Control API with new methods Based in demo plugin from Denis Chenu (credits at the bottom)
- Go to your LimeSurvey Directory (version up to 2.06)
- Clone in plugins/extendRemoteControl directory
- Get the file and uncompress it
- Move the file included to plugins/extendRemoteControl directory
To allow plugin to be called via RPC POST routine, you need to disable CsrfValidation for plugins/direct'. This can be done in application/config/config.php.
'components' => array(
'db' => array(
[...]
),
'request' => array(
'class'=>'LSHttpRequest',
'noCsrfValidationRoutes'=>array(
'remotecontrol',
'plugins/direct'
),
[...]
),
The plugin can be used with newUnsecureRequest event
You can call the new function with the link shown in plugin settings. If you publish API in LimeSurvey core config : another url is show where you can see all availablke function (the new one and the other from LimeSurvey core).
Since authentification and get_session_key
is the same function, you can create the session key with the core remote control url and use it in the plugin remote control url. This allow different plugin with different function. Using same control key.
- HomePage http://extensions.sondages.pro/extendremotecontrol/
- Copyright © 2015-2016 Denis Chenu http://sondages.pro
- Copyright © 2019 Neuromat Technology Transfering Time https://neuromat.numec.prp.usp.br/
- Licence : GNU General Public License https://www.gnu.org/licenses/gpl-3.0.html