Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2007, 02:07 PM
Krumbz Krumbz is offline
 
Join Date: Feb 2006
Location: Poconos, PA
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Can anyone please tell me how I can limit a forum's access according to post number ?

I have a forum, and I don't want people with less then 250 posts to enter it , how can I do this?

I have VB 3.5.3
Reply With Quote
  #2  
Old 01-09-2007, 02:27 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Create a new usergroup and give it permissions to access that forum and deny any user groups that you do not want to have access.

Set up a user promotion (Usergroups > Promotions) to move users with 250 posts to the new usergroup from the old usergroup.

Run the scheduled task "User Promotions" so that your existing members don't have to wait the hour for it to run.

That's it all done. Every hour vB will check the users and anyone with 250 posts will be moved into the new usergroup and therefore gain access to that forum.
Reply With Quote
  #3  
Old 01-09-2007, 09:16 PM
Krumbz Krumbz is offline
 
Join Date: Feb 2006
Location: Poconos, PA
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there any easier way, like a mod without me being forced to make that usergroup thing, my board has almost 1500 active users all the time, a total of 120,000 users, so im sure that it will slow down the performance, im always lookin to avoid such things
Reply With Quote
  #4  
Old 01-09-2007, 10:25 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm 99.9% sure that no-one is going to make a modification in place of a default feature. The task runs in the background and apart from the very first time, when you run it manually to bump all applicable users into the new group, the resources it will use are less than a modification which will double up on a function which occurs naturally in vB anyway.
Reply With Quote
  #5  
Old 01-10-2007, 11:57 AM
vppremier vppremier is offline
 
Join Date: Dec 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've followed what you've wrote and setup based on a post count of 10 for users in the registered members usergroup to have an additional usergroup added to their accounts called "art board access' and have set the art board to accept only users from this group, however it's not working. All users are still able to access the art, can you help me troubleshoot?
Reply With Quote
  #6  
Old 01-10-2007, 12:00 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure.

Check your permissions for the following user groups in the art forum

- registered users
- unregistered/not logged in
- (COPPA) Users awaiting moderation
- Users Awaiting email Confirmation
- Banned
- any additional usergroups you may have that you don't want to have access

These all need to have "Can view forum" set to NO for this forum.
Reply With Quote
  #7  
Old 01-10-2007, 12:20 PM
vppremier vppremier is offline
 
Join Date: Dec 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did that also, the permissions on the default usergroups as well as others I don't want to access are set to no. Only mods, admins and the art access usergroup has permissions set to yes, however with a default test account I can still access it.

I've attached a screenshot of the settings:
Attached Images
File Type: jpg screen.jpg (52.2 KB, 0 views)
File Type: jpg screen2.jpg (45.6 KB, 0 views)
Reply With Quote
  #8  
Old 01-10-2007, 12:23 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, something is definately going wrong there.

If you would like me to take a look at it in more detail, please drop me a PM with your URL and login details for your site.
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 09:53 PM.


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.04810 seconds
  • Memory Usage 2,239KB
  • Queries Executed 12 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete