Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

plugin development to limesurvey 6

  • portaisversatec
  • portaisversatec's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago - 1 year 8 months ago #245689 by portaisversatec
plugin development to limesurvey 6 was created by portaisversatec
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.2.1
Own server or LimeSurvey hosting: own server
Survey theme/template: default
==================

Hello everyone, I'm testing LimeSurvey and would like to learn how to create plugins. However, all the manuals and guides I've found are outdated and not compatible with version 6. Additionally, in LimeStore, there are no plugins available that are compatible with version 6 for me to study.

Could someone provide me with some guidance on this?
Last edit: 1 year 8 months ago by portaisversatec.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago #245696 by Joffm
Replied by Joffm on topic plugin development to limesurvey 6
Hi,

Additionally, in LimeStore, there are no plugins available that are compatible with version 6 for me to study.

Correct, Limestore is not active at the moment.

But there is a lot of plugins available
by DenisChenu
[url] gitlab.com/SondagesPro/ [/url]

If some seem to be not compatible, just try to add the compatibility in the "config.xml"
    <compatibility>
        <version>3</version>
        <version>4</version>
        <version>5</version>
        <version>6</version>
    </compatibility>
 

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • portaisversatec
  • portaisversatec's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #245699 by portaisversatec
Replied by portaisversatec on topic plugin development to limesurvey 6
All the ones I've tested still indicate "incompatible version."

Could you please point me to one that is compatible with version 6? All the projects I've looked at only have compatibility up to version 5.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 year 7 months ago #245902 by DenisChenu
Replied by DenisChenu on topic plugin development to limesurvey 6
Did you edit the config.xml file like Joffm show you ?

I think addScriptToQuestion can be comptaible without other update for example.

Else: you can have a look at github.com/LimeSurvey/LimeSurvey/tree/ma...ication/core/plugins
All 6.X compatible plugins.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 7 months ago #245909 by Joffm
Replied by Joffm on topic plugin development to limesurvey 6

All the ones I've tested still indicate "incompatible version."

Hm, which did you test.

Just an example.
"updateTokenByResponse" works.

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 year 7 months ago #250420 by DenisChenu
Replied by DenisChenu on topic plugin development to limesurvey 6
Yes, i update one by one.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 22 hours ago #269309 by Mazi
Replied by Mazi on topic plugin development to limesurvey 6

Could you please point me to one that is compatible with version 6? All the projects I've looked at only have compatibility up to version 5.
@portaisversatec let me provide some background information (also for others):
There are many free Limesurvey plugins, a good starting point is  www.limesurvey.org/manual/Available_third_party_plugins . But many of these may have been developed for the older 3.x or 5.x versions. Sometimes you can easy add support for new versions by adding compatibility details at the plugin's config.xml file as Joffm had already pointed out. But there can be cases at which this will not work, for example:
  • At Limesurvey 5.x the database layout for loading response details has changed. So any 3.x plugins referring to answer data need to be fully re-worked.
  • Some plugins load additional sources from a "vendor" folder. The location of this folder has changed (at version 5.5 if I remember correctly). So if you see an "require_once(vendor/autoload.php): failed to open stream: No such file or directory" error, then this part needs to be adjusted.
  • Between version 3.x and 5.x the location for uploading plugins has changed fro /limesurvey/plugins to /limesurvey/upload/plugins. So any plugin using fixed paths e.g. for loading internal JS or CSS files may require path adjustments.
  • We have also seen some issues with 3.x plugins adding new question attributes. Depending on the way the attributes are used within the plugin, such plugins also require further adjustments.
From our experience free plugins are often not adjusted for new versions. But we can help with that if needed (check survey-consulting.com/about-us/contact/ ).
There are also some paid plugins available for example at survey-consulting.com/product-category/limesurvey-plugins . These are usually updated for new versions.

Hope this helps!

Best regards/Beste Grüße,
Dr. Marcel Minke
survey-consulting.com
offlinesurveys.com
Feel free to contact me by email for professional LimeSurvey support!

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose