Home : Products : Gossamer Forum : Development, Plugins and Globals :

Products: Gossamer Forum: Development, Plugins and Globals: Re: [sophiabarton] Yogi's Poll... I'm Going Bald!: Edit Log

Here is the list of edits for this post
Re: [sophiabarton] Yogi's Poll... I'm Going Bald!
Hey Spyder! Smile

If people don't have to belong to a group then simply don't set up any groups. Remember, the polls adopt the permissions of your users for a specific forum.

So for example:

If you want all users who can read posts in a forum to vote in a your polls then set:
poll_vote_permission = 3 ( 3 is the forum permission setting to read posts)

If you want all users who can post messages to a forum to be allowed to also create a poll then set:
poll_write_permission = 5 ( 5 is the forum permission setting to post messages)

If you also want to allow anyone who can post messages to a forum to edit their polls then set:
poll_edit_permission = 5

If for example you only want moderators to be able to edit a poll afterwards set:
poll_edit_permission = 6 ( 6 is the forum permission setting to moderators)

See if that works and let me know.

With these settings, add the Post Poll buttons and the users should be able to create polls. Now, if you for example only want registered users to be able to create polls in a specific forum then you should only allow registered users to post to that forum as well. The poll will adopt the forum permissions for a user and you have effectively said that:

poll_write_permission (poll permission) = post messages (forum permission) (#5)

The permissions below are really only needed for groups and you said you don't want to set up a group.. so just ignore these. This is what is confusing!
(none = 0, may vote = 1, may write polls = 2, may edit/disable polls = 3)

Hope this helps... umm.. and I hope I got it right seeing as it's a while since I've set up mine and I remember it being confusing as well. Hell, I could have it completely upside down but I'm sure if that's the case someone will sooner call me an idiot and set you straight! Tongue

Safe swoops
Sangiro

Last edited by:

sangiro: Apr 12, 2003, 12:53 AM

Edit Log: