Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 12-11-2010, 03:29 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Banned Users can Access 1 Forum

I've been doing this off and on with a custom usergroup where if I "Ban" some people I instead really put them in a usergroup that only has permission to view/post in 1 forum and can't do anything else on the board... but you have to manually put people in this group and manually move them back out once the "ban" expires.

I'm looking for a mod that will allow all TEMP banned users the ability to access 1 particular forum I set (by forumid) to browse/post in but all other actions remained banned. On their banned notice there should be a link directing them to the 1 forum.

I know the "banned" code runs pretty deep into vbulletin but I'm guessing this might prove to be a pretty popular mod if it was released.
Reply With Quote
  #2  
Old 12-12-2010, 05:13 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you ban a user they get added to the banned usergroup

Simply edit the banned usergroup forum permissions, Once edited you wont need to edit anything ever again.

Not tested, but should work the way you want it.
Reply With Quote
  #3  
Old 12-12-2010, 06:57 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was my understanding that a "banned" usergroup can't do anything regardless of the permissions settings (that's why you have to specify if it's a "banned" group or not) but I will double check this, thank you.
Reply With Quote
  #4  
Old 12-12-2010, 07:22 PM
James T Brock James T Brock is offline
 
Join Date: Sep 2004
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

He's right, I have things set-up that way on my forum. However this doesn't work for banned IP's.
Reply With Quote
  #5  
Old 12-12-2010, 07:29 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I just triple checked as well... even going to the exact URL of a forum I explicitly gave banned users permission to view I still see just a "banned" message.
Reply With Quote
  #6  
Old 12-12-2010, 08:05 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may set up your Banned Usergroup however *you* want it to be. If you have the setting set that they cannot see any forums, then they can't see any forums. However, you can also go to Forum Permissions and change Can View Forum to yes and then they can see that one forum.
Reply With Quote
  #7  
Old 12-12-2010, 08:32 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You may set up your Banned Usergroup however *you* want it to be. If you have the setting set that they cannot see any forums, then they can't see any forums. However, you can also go to Forum Permissions and change Can View Forum to yes and then they can see that one forum.
That's what I did, I went to forum permissions under "Forums and Moderators" and for 1 forum I did customized permissions for banned users to view forums, view thread content, and post and reply to threads...

But when I went to the direct forum URL (domain.com/forums/forumdisplay.php?f=6) I still only got the banned message, couldn't see the forum.

Is there something else I need to change?
Attached Images
File Type: jpg ss_bannedperms.jpg (90.0 KB, 0 views)
Reply With Quote
  #8  
Old 12-12-2010, 10:58 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, it looks like you have to do it the other way. In the usergroup manager, set Can See Forum to Yes. Then, in Forum Permissions, go change it to No for all forums except the one you want him to see.
Reply With Quote
  #9  
Old 12-13-2010, 12:09 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
OK, it looks like you have to do it the other way. In the usergroup manager, set Can See Forum to Yes. Then, in Forum Permissions, go change it to No for all forums except the one you want him to see.
This does work but it's not ideal, user's can still see the forum home (although they don't see any forums listed) they can still access PMs (although not send them) and do other basics... Also if they try to access a forum they get a "no permission" error rather than the "banned" message.

I could fix a lot of this with template edits I guess to show a custom message to banned users but frankly it will add a layer of complication just not worth it.

I thank you for this option but my request stands, if possible for someone to make a product to over-ride a single forums ban I'd much appreciate it.
Reply With Quote
  #10  
Old 08-16-2012, 11:28 PM
Fluke667 Fluke667 is offline
 
Join Date: Feb 2007
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BirdOPrey5 how you solved it?
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:53 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04270 seconds
  • Memory Usage 2,264KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete