PDA

View Full Version : Polls per forum


Boofo
08-09-2005, 08:43 PM
Can anyone nake a plug-in that will allow you to turn polls off and on per forum? I have a poll forum and I want polls ONLY posted there? Is this feasible? ;)

Andreas
08-09-2005, 08:44 PM
Erm ... that's already a Forum Permission (Can Post polls)?

Boofo
08-09-2005, 08:46 PM
Erm ... that's already a Forum Permission (Can Post polls)?

Oh, really? I must have missed that. When was that added? I guess I'm still living in the 3.0 RC 1 world. ;)

Oblivion Knight
08-09-2005, 08:47 PM
Erm ... that's already a Forum Permission (Can Post polls)?Nope, that's a Usergroup Permission.. :p

Boofo
08-09-2005, 08:53 PM
Nope, that's a Usergroup Permission.. :p

I want it so it shows up when editing or making a forum though. Otherwise I need to go thorugh all the fourms and set it off for all the usergroups except in that one forum. This way it would be quicker and easier. ;)

Andreas
08-09-2005, 08:57 PM
It's a Forum Permission :)
A Usergroup Permission would be per-usergroup, but this permission can be set per usergroup per forum.

Boofo
08-09-2005, 09:01 PM
But it would still be easeir to have it in the forum manager instead of having to go though all the forums and usergroups, wouldn't it? ;)

Oblivion Knight
08-09-2005, 09:02 PM
It's a Forum Permission :)
A Usergroup Permission would be per-usergroup, but this permission can be set per usergroup per forum.Ah yes.. I actually forgot all about being able to do that.

It goes to show how much I use Forum Permissions per usergroup.

Andreas
08-09-2005, 09:03 PM
But then you would not be able to allow it for one Usergroup, but disallow it for another.

Boofo
08-09-2005, 09:04 PM
But then you would not be able to allow it for one Usergroup, but disallow it for another.

I could in the forums I wanted it in, right?

Andreas
08-09-2005, 09:07 PM
Not if would be a Forum Option.
Btw: Set it to no for all Usergroups in Usergroup Manager and then only set it to yes in that specific Forum you want and you're done.

Boofo
08-09-2005, 09:12 PM
Not if would be a Forum Option.
Btw: Set it to no for all Usergroups in Usergroup Manager and then only set it to yes in that specific Forum you want and you're done.

So the forum permission would overide the usergroup permission in that one forum?

Is there a query I casn run that will set all forums to off so I can just set it in that one forum? Because I think they all default to yes, don't they?

If I'm confused here, I'm sorry. ;)

Andreas
08-09-2005, 09:15 PM
1) update usergroup set forumpermissions=forumpermissions-16384 where (forumpermissions & 16384)

2) Rebuild Usergroupcache

3) Set it up for the Forum you want

Boofo
08-09-2005, 09:19 PM
How do I rebuild the usergroupcache? And do I still turn it off for all usergroups in all forums?

Andreas
08-09-2005, 09:24 PM
Bob, you might want to learn how vBs Permission System does work :)

It is turned off for all Usergroups in all Forums then (except those that have Permissions customized)

Update Usergroupcache => Edit any Usergroup and save it (make sure Can Post Polls = No)

Boofo
08-09-2005, 09:41 PM
Bob, you might want to learn how vBs Permission System does work :)

It is turned off for all Usergroups in all Forums then (except those that have Permissions customized)

Update Usergroupcache => Edit any Usergroup and save it (make sure Can Post Polls = No)

Well, Kirby, to tell you the truth, the permission system has always baffled me, and it seems I'm not the only one.

After the query and usercache rebuild, I set it for that forum for the usergroups I wanted and all is well, thank you.

Will that query ever change or will that be pretty standard?

Thank you, again, sir. ;)