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
  #12  
Old 04-16-2014, 04:40 PM
edgeless edgeless is offline
 
Join Date: Mar 2013
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a testbed installation of vB 4.2.0 with absolutely no added products or modifications. It's hosted on an entirely different server that's running PHP 5.4.27 (as opposed to PHP 5.3.20 on my user-accessible installation of vB 4.2.0). I installed this 'Deny Reply for Staff' product for testing purposes on my testbed vB installation. It worked better in that it did not block staff members from posting or replying to unclosed threads. BUT, when the product is enabled, it throws the following error when attempting to post from the advanced editor:

Code:
Warning: Illegal string offset 'threadid' in [path]/newreply.php on line 519

Posting from the Quick Reply editor does NOT render this error when the product is enabled. And disabling the product eliminates this error during Advanced Reply posting.

The above behavior, coupled with the complete loss of our staff members' ability to post anywhere when the product is enabled on my user-accessible vB installation, leads me to believe that this product could use a bit more development in order to hopefully work out some of these apparent bugs. What's somewhat puzzling, though, is the fact that I'm the only one who has reported these problems. I'm unsure what the significance of that may be.

Comments will be appreciated. Thanks
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:26 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.04137 seconds
  • Memory Usage 2,229KB
  • Queries Executed 19 (?)
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_code
  • (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
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_attachment
  • (2)postbit_onlinestatus
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete