Survey ID call

Mehr
2 Monate 4 Tage her #173678 von brewski
brewski erstellte das Thema Survey ID call
I had someone write a custom output to a survey. I'm trying to update a survey, which I did by copying the live survey and making the edits, then activating the new survey.

The challenge is, the DB is called in the code (PHP).

$_GET is used to call the id of the "it" survey.

I can't see in limesurvey anywhere that just "it" is used in the survey name, hence, I don't know what the new survey I've created would be called.

I know this is rather vague, but any thoughts?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 4 Tage her - 2 Monate 4 Tage her #173682 von holch
holch antwortete auf das Thema: Survey ID call
Post the current script here and people might be able to help.

Or you could just ask the person that custom coded this for you. ;-)

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Letzte Änderung: 2 Monate 4 Tage her von holch.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 4 Tage her #173684 von brewski
brewski antwortete auf das Thema: Survey ID call
This is the pertinent section:
// what surveys are we using (admin,it)
$surveys = array("admin"=>$_GET,"it"=>$_GET);
// get current company's token
$token = $_GET;

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Tage her #173709 von holch
holch antwortete auf das Thema: Survey ID call
This seems to be a very small excerpt of the whole script.

I am not an expert, but I assume that they check if the person is an admin or belongs to the IT department (maybe you have users or user groups called "admin" or "it" in your LS installation)?

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Tage her #173710 von LouisGac
LouisGac antwortete auf das Thema: Survey ID call
please, formulate a question. I read your post thrice, and I see only one question:
"I know this is rather vague, but any thoughts?"

yes, I think it's rather vague.
Now, what is your real question?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Tage her #173712 von jelo
jelo antwortete auf das Thema: Survey ID call
The threadstarter seems to try to get the surveyid of the current selected survey in LimeSurvey GUI.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Tage her #173729 von DenisChenu
DenisChenu antwortete auf das Thema: Survey ID call

jelo schrieb: The threadstarter seems to try to get the surveyid of the current selected survey in LimeSurvey GUI.

Yii::app()->getRequest()->getParam('surveyid');

But i don't think it's this $_GET is clearly not related to LimeSurvey …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Tage her #173733 von holch
holch antwortete auf das Thema: Survey ID call

I had someone write a custom output to a survey.


I assume that this someone created a custom script to read out the database to deliver the custom output (report, I guess).

Now the survey ID has changed and the output doesn't work anymore.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Tage her #173735 von brewski
brewski antwortete auf das Thema: Survey ID call
I appreciate the input folks.
@DenisChenu got me going in the right direction, as he was correct that call is not a call to the limesurvey db.
As I don't have time to unscramble this mess, I'm calling this complete and will post a new question to to the forum.
Thanks again all.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha