Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Deny Reply For Staff Members in Closed Threads Details »»
Deny Reply For Staff Members in Closed Threads
Version: 1.00, by Shadow Shadow is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.x.x Rating:
Released: 06-04-2012 Last Update: Never Installs: 23
Uses Plugins
Re-useable Code Translations  
No support by the author.

Description:
This hack adds prevents Staff Members from posting in closed threads. When a thread is closed, administrators and moderators are still able to post in it. This basically prevents that. There is also an option to exclude selective users from this. I made this modification for a client and decided to put it up here for others to use if they need to.

Installation Instructions:
To install simply import the attached product-denied_reply.xml file. Then you're done.

Altering the Error Message:
It is possible to change the error message that is displayed to users when they are denied from replying in a closed thread. This can be done by going to Phrase Manager in the Admin CP and searching for the denied_reply_error phrase. Then add a translation for the language your forum is in and alter the message as required.

Changelog:
05/06/2012 - Version 1.00:
- Initial release.

Notes:
I'm always looking to improve my work for the people that enjoy using it. If you have any suggestions on how I can improve this hack then please leave a comment and I'll see what I'm able to do. Don't forget to 'Mark As Installed' if you've got it installed!

Download Now

File Type: xml product-denied_reply.xml (3.8 KB, 82 views)

Screenshots

File Type: jpg Closed Thread.jpg (56.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-06-2012, 10:08 PM
Mastergumble Mastergumble is offline
 
Join Date: Sep 2008
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice addition!
Reply With Quote
  #3  
Old 06-06-2012, 10:31 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Couldn't you just you know, tell your staff to stop? And if they can't follow the rules deal with that?
Reply With Quote
  #4  
Old 06-07-2012, 08:27 AM
Shadow Shadow is offline
 
Join Date: Jan 2011
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"I made this modification for a client and decided to put it up here for others to use if they need to."
Reply With Quote
Благодарность от:
nacaruncr
  #5  
Old 07-21-2012, 02:27 PM
max1982 max1982 is offline
 
Join Date: Mar 2009
Location: london
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks it worked perfect on 4.2
Reply With Quote
  #6  
Old 07-21-2012, 03:31 PM
Shadow Shadow is offline
 
Join Date: Jan 2011
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remember to 'Mark As Installed' if you're using it on your forums.
Reply With Quote
  #7  
Old 08-08-2012, 01:12 PM
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working great.

Thanks
Reply With Quote
  #8  
Old 08-09-2012, 07:15 PM
TEST12345 TEST12345 is offline
 
Join Date: Nov 2011
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so nobody will be able to post anything including the administrator?
Reply With Quote
  #9  
Old 08-09-2012, 08:58 PM
Shadow Shadow is offline
 
Join Date: Jan 2011
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
When a thread is closed, administrators and moderators are still able to post in it. This basically prevents that. There is also an option to exclude selective users from this.
So as the thread states, you are able to choose who can be excluded from this functionality.
Reply With Quote
  #10  
Old 04-15-2014, 02:16 PM
edgeless edgeless is offline
 
Join Date: Mar 2013
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason, on my board this modification blocks staff members from replying to any threads. It seems to be the same behavior described by a number of users in this similar modification:

https://vborg.vbsupport.ru/showthrea...=prevent+staff

And as with that similar mod, regular registered members are still able to reply and post normally. I notice that max1982 has stated here that this mod worked for him on v4.2, which is my version as well. I'm unsure why it's not working for me, or if the problem has similar causation to that in the 'prevent staff' mod cited above. But the code in the two mods looks vastly different, so the solution offered for the 'prevent staff' mod doesn't seem applicable in this case.

Any thoughts?
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:30 PM.


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.13588 seconds
  • Memory Usage 2,315KB
  • Queries Executed 24 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete