vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Polls per forum (https://vborg.vbsupport.ru/showthread.php?t=93957)

Boofo 08-09-2005 08:43 PM

Polls per forum
 
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

Quote:

Originally Posted by KirbyDE
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

Quote:

Originally Posted by KirbyDE
Erm ... that's already a Forum Permission (Can Post polls)?

Nope, that's a Usergroup Permission.. :p

Boofo 08-09-2005 08:53 PM

Quote:

Originally Posted by Oblivion Knight
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

Quote:

Originally Posted by KirbyDE
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

Quote:

Originally Posted by KirbyDE
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

Quote:

Originally Posted by KirbyDE
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) [sql]update usergroup set forumpermissions=forumpermissions-16384 where (forumpermissions & 16384)[/sql]

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

Quote:

Originally Posted by KirbyDE
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. ;)


All times are GMT. The time now is 01:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01065 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete