Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[OzzModz] Closed Thread Reason Details »»
[OzzModz] Closed Thread Reason
Version: 2.0.0, by ozzy47 ozzy47 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Major Additions - Version: 4.x.x Rating:
Released: 08-09-2014 Last Update: 08-16-2014 Installs: 19
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Another mod brought to you by,


This is a modification that will allow admins to give their admins and mods, the ability to add a reason for closing a thread. It will display the reason for the thread being closed above the thread.

You can choose which usergroups can see the reason, which usergroups can add a reason, which usergroups can delete a reason and make it so multiple users can add reasons, or just a single entry.

Another feature of this mod, will allow admins the ability to disable the ability for staff to reply on closed threads. As we all know, by vBulletin default, admins and moderators can add replies to closed threads. Now you can prevent that from happening. You can also select which usergroups can add replies, if their usergroup is a admin or moderator group.

It is a simple installation, upload the file in the UPLOAD folder, then import the product XML, product-ozzmodz_t_closed_reason

You can edit the options under the settings, [OzzModz] Closed Thread Reasons Settings

Major Features

Usergroups Can See: Allows usergroups to see the thread closed reason.

Usergroups Can Add: Allows usergroups to be able to add thread closed reason.

Usergroups Can Delete: Allows usergroups to be able to delete thread closed reason.

No More Staff Replies: Ability to disable the ability for staff to reply to the closed threads.

Works In Forums: Ability to select which forums the mod will work in.

vBulletin Versions: Compatible with vB versions 4.x.x

Complete Feature List
  • Option to disable the mod completely.
  • Option to select which usergroups can see the reason for the thread being closed.
  • Option to select which usergroups can add a reason for the thread being closed.
  • Option to allow multiple reasons being added to the reason closed block.
  • Option to select which usergroups can delete reasons for the thread being closed.
  • Option to disable the ability for staff to reply to the closed threads.
  • Option to select which staff groups can still reply to the closed thread, if you choose to disable the ability for staff to reply to the closed threads.
  • Option to show a closed thread image inside the block.
  • Option to set the name of the image you wish to use for the closed thread image, so you can easily change it.
  • Option to select which forums the mod will work in.
  • Option to show guests a message to see the thread closed reason message, if you allow that group to see the reason.
Frequently Asked Questions.

Q. Why do I need such a thing, you ask?

A. Some admins might like to show users why a thread was closed.


-------------------------------------------------------------------------------------------

If you like this mod please hit the button to the right ---->

Please remember to click the, button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

First screenshot is of the acp settings.
Second screenshot what the block looks like with a comment added, being viewed by a user that can add a reason.
Third screenshot is what the block looks like with a comment added, being viewed by a user that can not add a reason.
Fourth screenshot is what the block looks like with multiple comments added.

-------------------------------------------------------------------------------------------
* History (Changelog) *
-------------------------
v1.0.0 (August 9, 2014)
- Initial public release.
v2.0.0 (August 16, 2014)
- Completely rewrote the mod.
- Fixed a issue with the mod not working on some sites.
- Added the missing phrases, now the mod is fully phrased.
- Increased security.
- Added a option to show a closed thread image in the block.
- Added a option to set the image name, so you can easy change it to one of your choosing.
- Added a option to select which forums the mod will work in, if the thread is closed.
- Added a option that if you allow guests to see the thread closed reason block, to show them a message asking them to register to see the reason for the thread being closed.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
puertoblack2003, RichieBoy67

Comments
  #2  
Old 08-09-2014, 11:04 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved.
Reply With Quote
  #3  
Old 08-09-2014, 11:05 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved also.
Reply With Quote
  #4  
Old 08-13-2014, 11:18 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks like very good and useful idea. Sometime people ask why thread has been closed. And some threads are closed only temporarily, to be opened later. We can make these things clear with your mod right away on closing, without farther discussions with users. :up:
Reply With Quote
2 благодарности(ей) от:
CAG CheechDogg, ozzy47
  #5  
Old 08-13-2014, 11:24 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you find it useful, and thanks for marking as installed.
Reply With Quote
  #6  
Old 08-13-2014, 11:34 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tested it a bit, first impressions:

a) Please include install instructions. I know how to install, but some people might have problems.

b) Please make this lines of code into a phrase:

Code:
	<h2 class="blockhead" style="text-align:center; font-weight:bold;">This Thread Has Been Closed</h2>
	<div class="blockbody settings_form_border" id="staff_reply" style="{vb:raw vbcollapse.collapseobj_staff_reply};">	
	<vb:comment><div class="blockhead" style="text-align:center; font-weight:bold;">Thread Closed Reason </div>
I need to edit this text manually in template, but it's much easier to work with phrases.

c) A feature request:

If we enable for guests to see reason why thread is closed, there could be option for us to ask them to register before they can see thread closing reason. Otherwise, if we don't ask them that, they see reason normally.

EDIT: Added more lines of code without phrases, colored them into red, as I later saw they also needs to be translated.
Reply With Quote
  #7  
Old 08-13-2014, 11:39 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem with showing thread closing reason. I enter reason, but I only see:

Reply With Quote
  #8  
Old 08-13-2014, 12:02 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you highlight the area, does anything show?
Reply With Quote
  #9  
Old 08-13-2014, 09:15 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you mean to select text as for coping it, everything is the same, only selected. No given reason is shown, - (minus sign) stays the same as when it's not selected.

EDIT: I enabled guests to see thread closing reason, so you could check for yourself: http://slobodni.net/t116947/

Guests obviously don't see minus sign and x to delete reason, but also don't see reason at all, just user name of person who gave reason.
Reply With Quote
  #10  
Old 08-13-2014, 09:18 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok PM me a admin account, and a link to a thread where the display is, and I can look into it.
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 08:00 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.07141 seconds
  • Memory Usage 2,310KB
  • Queries Executed 23 (?)
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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (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
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete