Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: website integration

website integration 4 years 8 months ago #70709

  • baaron13
  • baaron13's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
New to limeSurvey but well versed in php/mysql. I was hoping someone could point me in the right direction of which files/functions control the user tables and login. I'd like to integrate it with our corporate site so there is a seamless transition with no login and users in the corp. website are already in the limeSurvey.

If I knew where to start or if someone has already done this, that would be greeeat.
The administrator has disabled public write access.

website integration 4 years 8 months ago #70912

  • pbackx
  • pbackx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Thank you received: 1
  • Karma: 1
I have a similar problem.

I think there are 2 options:
  • Use Remote Control, but the API looks incomplete (for instance, no way to get a list of surveys) and it appears to have issues with the latest LimeSurvey version.
  • Directly work with the LimeSurvey database (copy pieces of SQL from the actual source), but this is guaranteed to break in future releases.

Can any one tell us if there are there other options? Is there some PHP I can include and use that (both sites are on the same server)?

Thanks!
The administrator has disabled public write access.

website integration 4 years 8 months ago #70919

  • Steve
  • Steve's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 493
  • Thank you received: 46
  • Karma: 17
Hello,

perhaps another solution would be to embedd/include LimeSurvey into the site using something like an iframe:
<iframe width="80%" name="limesurvey" src="http://localhost/limesurvey/admin.php">
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
The administrator has disabled public write access.

website integration 4 years 7 months ago #71309

  • pbackx
  • pbackx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Thank you received: 1
  • Karma: 1
Thanks, the iframe is a good idea. I will try to use this as much as possible, but I think there will be a few things where deeper integration is needed.
The administrator has disabled public write access.

website integration 4 years 7 months ago #71832

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5977
  • Thank you received: 368
  • Karma: 260
Do you want your exisitng users to be able to use the Limesurvey admin backend e.g. become admin users at Limesurvey or do you want them to participate at closed surveys which are using tokens?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

website integration 4 years 7 months ago #71964

  • pbackx
  • pbackx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Thank you received: 1
  • Karma: 1
The second option: I want to create tokens outside of LimeSurvey, let users answer the survey and also recall their responses.

I've currently ripped out most of the code I needed (mostly from common_functions.php) and re-used it in my own classes. It's not very future proof, but it works.

If any one wants the code, let me know
The administrator has disabled public write access.

website integration 4 years 7 months ago #72006

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5977
  • Thank you received: 368
  • Karma: 260
That's the y way I would have done it, too. simply let an external application write into the according Limesurvey database tables.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

website integration 4 years 6 months ago #73197

  • tacman1123
  • tacman1123's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 125
  • Karma: 1
I have a similar question -- a client wants to maintain the look and feel (mostly the HTML and CSS for their header, footer and sidebar). Instead of using an iFrame, I'd like to just copy their banner and other code.

Is their documentation for how to customize the Limesurvey UI? A "theme" or "skin" or something like that?

Thx,

Tac
The administrator has disabled public write access.

website integration 4 years 6 months ago #73200

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5977
  • Thank you received: 368
  • Karma: 260
If you are talking about the survey design, have a look at docs.limesurvey.org/The+template+editor&...tions+for+LimeSurvey

The admin section can only be styled by editing the main CSS, there is no template for it.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

website integration 4 years 6 months ago #73214

  • tacman1123
  • tacman1123's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 125
  • Karma: 1
Perfect, thanks, exactly what I was looking for.
The administrator has disabled public write access.

website integration 4 years 6 months ago #73226

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5977
  • Thank you received: 368
  • Karma: 260
You're welcome. If you are interested in professional customized Limesurvey templates you can ping me at This email address is being protected from spambots. You need JavaScript enabled to view it.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

website integration 4 years 6 months ago #73328

  • tacman1123
  • tacman1123's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 125
  • Karma: 1
The section on integrating with a CMS is really interesting. Does the license require that you link to only a GPL-licensed CMS?

I'm still not 100% sure that this even does what I'm thinking it does, can someone point me to a simple example of how this would work?

Thanks,

Tac
The administrator has disabled public write access.

website integration 4 years 6 months ago #73339

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9298
  • Thank you received: 1330
  • Karma: 386
tacman1123 wrote:
The section on integrating with a CMS is really interesting. Does the license require that you link to only a GPL-licensed CMS?
No.

For an example .... don't know :)
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

website integration 4 years 6 months ago #73359

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5977
  • Thank you received: 368
  • Karma: 260
I have never seen someone using this feature so I'm interested in examples as well.

I guess most people simply use Limesurvey as a stand alone application or run it at an iFrame inside their CMS.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

website integration / licensing question 4 years 6 months ago #73380

  • tacman1123
  • tacman1123's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 125
  • Karma: 1
Are you sure that the license won't infect the rest of the code? I don't see a
Linking Exception in the Limesurvey License. I can't understand how you'd be able to make a PHP call to a header function without having that code linked and distributed together. And that situation is explicitly spelled out in the Limesurvey license:
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.

Tac
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.276 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form