Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2011, 05:41 PM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Post Permissions by Postcount

Well looks like my other thread isnt exactly as I need as after I installed it I found I dont want to restrict access, only new thread or post reply permission based upon a minimum number of posts or days registered or both etc.

Old thread - https://vborg.vbsupport.ru/showthread.php?t=266985

So how could I modify the referenced product to allow access but not post unless they meet the requirements?

Thanks
Reply With Quote
  #2  
Old 07-19-2011, 07:14 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you use a promotion? Go to Forum & Moderators -> Forum Permissions and set the current user group to disallow posting in those forums, then create a new user group with posting permission and add a promotion (Usergroups -> Promotions -> Add New Promotion) from the old to the new group. (It sounds like you'd want strategy "Posts and (Reputation or Date)".
Reply With Quote
  #3  
Old 07-19-2011, 07:24 PM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, yes thats what I originally thought I could do but I dont want it on all forums or to modify a usergroup creating a management nightmare.

I thought if you create a usergroup its for adding permissions, not taking them away if this usergroup is culmulative?

How can I create a new usergroup to disallow posting in a particular forum without affecting other forums or such?
Reply With Quote
  #4  
Old 07-19-2011, 07:38 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

+1 for promotions.

The maintenance overhead of creating plugins for this and debugging it later (or fixing them when you upgrade) is a lot more than having a few extra usergroups / forum permissions floating around.
Reply With Quote
  #5  
Old 07-19-2011, 07:43 PM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I think the plugin threw me off and you guys got me back on I hope lol.

If I create a usergroup that members with xx number of posts or less belong to and have a promotion move them out of it once they reach the minimum posts then that may solve the problem

Is this how you guys are suggesting? How do I make the usergroup membership excluded in only one or two forums and not site wide? I'll have to go to each forum and override the permissions allowing all access on forums that are not to be a part of the restriction (this is what I think will be a headache maintaining as new forums are added).
Reply With Quote
  #6  
Old 07-19-2011, 08:01 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't you just use Forum Permissions to go to each forum with the restriction and remove the permissions from the appropriate user group?
Reply With Quote
  #7  
Old 07-19-2011, 08:14 PM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ohhhhhh forum permission no usergroup permission

So for every forum go to the new usergroup, which is of xx posts and less, and Deny post new thread and post new reply permission. Then the promotion will automatically move them out when they post xx number of posts?

--------------- Added [DATE]1311110395[/DATE] at [TIME]1311110395[/TIME] ---------------

So do I set "Can override primary group title/markup" to No for this special usergroup and leave the title/markup blank? I assume all permissions that are "No" will deny and not be culmulative?

Quote:
Enable this option if you use this group as a member (secondary) group and you want group members to have this group's user title and username markup instead of the user title and username markup from their primary group.
Reply With Quote
  #8  
Old 07-19-2011, 08:35 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't really understand all the details of primary vs secondary user groups, it could be that if a permission from a primary group overrides a secondary group that doesn't have permission, then to make this work you'd have to have the promotion change the primary group. That's not a big deal except that you now have two user groups to alter if you want to change something.
Reply With Quote
  #9  
Old 07-19-2011, 08:45 PM
RobDog888's Avatar
RobDog888 RobDog888 is offline
 
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I think if its enabled then it acts like a secondary group and if you set any setting int he secondary group to "No" then it wont deny any "Yes" permission from the primary usergroup.

So not sure how to make this thing work. VB could have done such a better job on permissions and usergroups booo!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:44 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.05502 seconds
  • Memory Usage 2,236KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete