Ulf Schenk

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: add volunteer name to 'clear' area #7810
    Ulf Schenk
    Participant

    Oh, now I understand.

    This is a feature for the admin rather than a bug.

    Thanks,
    Ulf

    in reply to: add volunteer name to 'clear' area #7806
    Ulf Schenk
    Participant

    Hm,

    I guess you refer to the situation when the options require a person to be logged in. In this case storing a user_id might make sense even if it is mine. But I refer to the situation where the option “Login required?” is set to false.

    If a guest signs up (without logging in) then the code also has no access to a user_id and stores the signup as is without user_id (the field user_id is 0). The guest has of course no “clear” link, but I as admin or a user having the right permission has access to the clear link for this signup.

    If I as a logged in user sign up in behalf for another person I would expect exactly the same behavior, meaning my user_id is not listed in the guests signup record.
    Right now my user id is listed in their signup records if I sign up for them in their behalf. If they sign up by them self, it is not listed (field user_id is 0).

    Here the code that makes sense from my point of view

    if (login required == true) {
       validate entered information.
       Store current users id in field user_id if the entered data can not be correlated to any user  in WP.
    }
    else {
       validate entered information.
       if ( entered information can be correlated to a user) {
          store that entered users id in field user_id.
       } else {
          store 0 in field user_id.
       }
    }
    

    Cheers,
    Ulf

    in reply to: add volunteer name to 'clear' area #7802
    Ulf Schenk
    Participant

    Thanks for getting back.

    I saw the lookup query while entering the name.
    However my situation is different in that the persons I signup for are not users in wordpress. I enable my sheets for public signup and these persons are not stored in the system.

    Maybe this is a corner case that sets my user_id incorrectly.

    Thanks,
    Ulf

    in reply to: add volunteer name to 'clear' area #7798
    Ulf Schenk
    Participant

    Hi Stephen,

    This sounds counter intuitive.
    I as an admin for example forgot to sign out before I added signups for other people.
    The result is that these persons are now listed in their time slot, but the tasks are shown in my list of upcoming events.

    I would think that if I signup for someone else, the system should never take my user id into account. This could be determined by the email address entered into the signup field. If it is the logged in users email address, link the user_id to the record. If I enter a different persons email address treat it like an anonymous signup and do not connect it to my account?

    This would allow me to signup for someone else in a transparent way. Let me know if that might be something that could be improved and I can try to fix it.

    Cheers,
    Ulf

Viewing 4 posts - 1 through 4 (of 4 total)