-
Hi Ben,
If $experiment_id variable is used, the function will not return the latest possible session time, instead it will return the 'registration end' time of the session that was created first. Indeed MAX function in mysql query will return a column named 'time' with the time of the latest session, but other columns will be related to the first listed session. You have to use MAX in subquery...
2009-06-02 11:19:55 UTC in ORSEE
-
Subjects can change subject-pool ID to any value upon registration by amending get query (/participant_create.php?s=1&dr=Yes), or by amending the form hidden values afterwards. Though tagsets/participant.php has some subpool ID validity check it does not amend the hidden parameter in the form. What have to be changed:
First, tagsets/participant.php, function 'participant__form':
Now:
if...
2009-02-27 12:31:24 UTC in ORSEE
-
Participant is marked as invited even if mail sending failed. experimentmail__update_invited_flag() function is called whithin experimentmail__send_invitation_mail() function even if no mail is sent (experimentmail__mail() returned false).
Files: tagsets\experimentmail.php, line 534
Solution:
$done=experimentmail__mail($recipient,$subject,$message,$headers);
if($done...
2008-10-13 14:37:04 UTC in ORSEE
-
I see your point. Anyhow, please notice there was no code that would change 'experiment_types' field in subpools table.
2008-10-13 10:27:55 UTC in ORSEE
-
May be you are right. On the other hand it might be more convenient to let people select '-' instead of ticking off many classes.
2008-10-13 10:16:47 UTC in ORSEE
-
Hello,
Good to know that this feature is implemented in new version. In fact we had experiments where invitation described something which participant should know before signing up - like that experiment has two parts and participants will have to attend second one if they attend this one.
Thanks,
Ruslan.
2008-10-13 10:03:28 UTC in ORSEE
-
fname and lname check functions allow to use any symbols in Name and Surname fields in registration form.
File: tagsets\participant.php lines 116, 128
Solution:
function participant__check_fname($required) {
participant__check_exist("fname",$required);
global $errors__dataform, $lang;
if ($_REQUEST['fname']) {
$isok=ereg("^[A-Z]{0,1}[a-z]+\$",$_REQUEST['fname']);
if (!$isok)
2008-10-10 16:04:11 UTC in ORSEE
-
The bug is related to changing 'subscription' field in tables 'participants', 'participants_temp', 'participants_os' when experiment type is deleted. MySQL Concat() string function is used for 'subscription' fields change, so its implementation will be resulted in having former experiment type values unchanged.
Example: some participants are sighed for two experiment types, these two types are...
2008-10-09 16:16:41 UTC in ORSEE
-
* Implementing $settings__stop_admin_site control in public/header.php I assumed that when admin site is stopped, public site should be stopped as well.
2008-10-09 15:08:32 UTC in ORSEE
-
Hello,
For example, at settings we have default Subpool ID different from 1 and none of subpools are defined to be shown on the registration page. In this case participant will be put in subpool_id=1 despite of subpool_default_registration_id setting.
File: public/participant_create.php lines 26,28
Solution:
if (count($all_pool_ids)
2008-10-09 12:00:35 UTC in ORSEE