Beginner question

0 views
Skip to first unread message

Jonathan Hayward

unread,
Jul 10, 2009, 11:00:27 AM7/10/09
to tinyp...@googlegroups.com
We now have Tinypug 0.9.3 basically working, but I'm a bit stuck on a question:

We have created a poll; how can we allow anonymous access? I don't anticipate nearly so many users participating if they have to create a login and get an administrator to approve the login before they can answer.

How do I give users as smooth access as possible to click on a link and give their opinions on the poll in question?

--
→ Jonathan Hayward, christos.jon...@gmail.com
→ An Orthodox Christian author: theology, literature, et cetera.
→ My award-winning collection is available for free reading online:
☩ I invite you to visit my website at http://JonathansCorner.com/

andy

unread,
Jul 10, 2009, 11:58:35 AM7/10/09
to tinyp...@googlegroups.com
Hi there Jonathan,

Great question, and a totally reasonable use-case!

There are two primary things an admin needs to do to make sure anonymous users can vote in polls:

1. Permissions to vote: (Tinypug language calls this "permissions to answer," because sometimes participating isn't just voting)

 Here's how to change permissions so that anonymous users can vote in Polls:
  • Login to Tinypug as your administrative account
  • Go to Admin -> Users -> Roles -> Anonymous -> Assign permissions
  • in Permission answers/add, change "No" to "Yes"
That took even me a bit to figure out, as most of the other permissions are grouped according to content-type, but that in this case, it's according to user-behavior.

2. Permission to access survey:
  • Login to Tinypug as your administrative account
  • Admin -> Survey -> (the survey/poll you've created OR Add New)
  • Change "Access" to "Open to Anyone (anonymous)"

Andy

Jeffrey McManus

unread,
Jul 10, 2009, 12:37:42 PM7/10/09
to tinypug-dev
Normally we'd control this kind of thing using the role-based
permission system but in this case the anonymous attribute has to
belong to the survey/poll because you might want some surveys to be
limited to registered users while others are open to anonymous users.

The term "voting" pertains only to ideas, not to polls, at least the
way we're using it. When a user responds to a poll, we internally call
that a user_answer. I realize that this nomenclature isn't ideal and
that something like "survey_response" would probably be better, but
since the nomenclature isn't user-facing it's probably not a huge
priority (please let me know if you disagree, though -- if we change
it we should do so before the 1.0 release).

The answers/add permission actually pertains to survey authoring
performed by administrators, not to survey responses performed by
users. So if you just change the survey/poll access to "anonymous" you
should be able to do what you want.

Jeffrey


On Jul 10, 8:58 am, andy <andia...@gmail.com> wrote:
> Hi there Jonathan,
> Great question, and a totally reasonable use-case!
>
> There are two primary things an admin needs to do to make sure anonymous
> users can vote in polls:
>
> 1. Permissions to vote: (Tinypug language calls this "permissions to
> answer," because sometimes participating isn't just voting)
>
>  Here's how to change permissions so that anonymous users can vote in Polls:
>
>    - Login to Tinypug as your administrative account
>    - Go to Admin -> Users -> Roles -> Anonymous -> Assign permissions
>    - in Permission
> answers/add<http://qa.tinypug.org/permissions/edit/CzRf6My3dmndv>,
>    change "No" to "Yes"
>
> That took even me a bit to figure out, as most of the other permissions are
> grouped according to content-type, but that in this case, it's according to
> user-behavior.
>
> 2. Permission to access survey:
>
>    - Login to Tinypug as your administrative account
>    - Admin -> Survey -> (the survey/poll you've created OR Add New)
>    - Change "Access" to "Open to Anyone (anonymous)"
>
> Andy
>
> On Fri, Jul 10, 2009 at 8:00 AM, Jonathan Hayward <
>
> christos.jonathan.hayw...@gmail.com> wrote:
> > We now have Tinypug 0.9.3 basically working, but I'm a bit stuck on a
> > question:
>
> > We have created a poll; how can we allow anonymous access? I don't
> > anticipate nearly so many users participating if they have to create a login
> > and get an administrator to approve the login before they can answer.
>
> > How do I give users as smooth access as possible to click on a link and
> > give their opinions on the poll in question?
>
> > --
> > → Jonathan Hayward, christos.jonathan.hayw...@gmail.com

andy

unread,
Jul 10, 2009, 6:56:09 PM7/10/09
to tinyp...@googlegroups.com
hi there Jonathan,

Jeffrey is right. I gave you one step too many.

I just did some testing. Here is an example poll on 0.9.3, where users are able to vote anonymously:


Here is an edited-down version of what I wrote earlier.  This will get you to where you want to go:

Permission to access survey:
    • Login to Tinypug as your administrative account
    • Admin -> Survey -> (the survey/poll you've created OR Add New)
    • Change "Access" to "Open to Anyone (anonymous)"

    Jonathan Hayward

    unread,
    Jul 13, 2009, 9:48:02 AM7/13/09
    to tinyp...@googlegroups.com
    Thank you. This works great; I appreciate your handling my question!
    --
    → Jonathan Hayward, christos.jon...@gmail.com

    Jonathan Hayward

    unread,
    Jul 13, 2009, 11:03:56 AM7/13/09
    to tinyp...@googlegroups.com
    One P.S.--After searching through the interface and not seeing what looked like an obvious public link, I guessed that changing "edit" to "view" in the URL would get an anonymous-friendly way of answering the survey. When I had connected anonymously from another browser, I didn't see the "survey" button--I still don't see how, besides a guess and hand-editing the URL based on the one you gave below what the intended way is to get an exportable URL...

    Usability-wise, it might be a little easier for an administrator who has assigned anonymous permissions to a survey to get an appropriate link. I think there's a simpler way than what I did, but I couldn't tell from the administrator interface how to get a public URL.

    On Fri, Jul 10, 2009 at 5:56 PM, andy <andi...@gmail.com> wrote:



    --
    → Jonathan Hayward, christos.jon...@gmail.com

    jeffrey...@gmail.com

    unread,
    Jul 13, 2009, 6:04:40 PM7/13/09
    to tinyp...@googlegroups.com
    Jonathan,

    Agree that this should be more obvious. It's an easy fix; we should be able to get it into 0.9.4.

    Thanks,

    Jeffrey

    -- Sent from my Palm Pre


    andy

    unread,
    Jul 13, 2009, 6:30:19 PM7/13/09
    to tinyp...@googlegroups.com
    Jonathan,

    I'm curious how you found out about Tinypug.

    (I found out via Twitter.)

    Andy

    Jeffrey McManus

    unread,
    Jul 13, 2009, 9:00:56 PM7/13/09
    to tinyp...@googlegroups.com
    I've logged this as issue #116.

    http://code.google.com/p/tinypug/issues/detail?id=116

    Jeffrey


    On Mon, Jul 13, 2009 at 3:04 PM,
    jeffrey...@gmail.com<jeffrey...@gmail.com> wrote:

    Jonathan Hayward

    unread,
    Jul 14, 2009, 9:09:11 AM7/14/09
    to tinyp...@googlegroups.com
    I found it through Freshmeat, where the description really caught my eye.

    Most of the other items sounded like a way to ask a closed question and then stack up who answered what. I haven't really explored Tinypug properly, but the description sounded like it allowed more open-ended questions that could be receptive to wisdom the person designing a survey didn't think to ask for.
    Reply all
    Reply to author
    Forward
    0 new messages