Survey ID call

Mehr
7 Monate 1 Woche her #173678 von brewski
COM_KUNENA_MESSAGE_CREATED_NEW
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.

LimeSurvey Partners
Mehr
7 Monate 1 Woche her - 7 Monate 1 Woche her #173682 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
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
Last edit: 7 Monate 1 Woche her by holch.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
7 Monate 1 Woche her #173684 von brewski
COM_KUNENA_MESSAGE_REPLIED_NEW
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
7 Monate 1 Woche her #173709 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
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
7 Monate 1 Woche her #173710 von LouisGac
COM_KUNENA_MESSAGE_REPLIED_NEW
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
7 Monate 1 Woche her #173712 von jelo
COM_KUNENA_MESSAGE_REPLIED_NEW
The threadstarter seems to try to get the surveyid of the current selected survey in LimeSurvey GUI.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
7 Monate 1 Woche her #173729 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW

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
7 Monate 1 Woche her #173733 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW

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
7 Monate 1 Woche her #173735 von brewski
COM_KUNENA_MESSAGE_REPLIED_NEW
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