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
  #52  
Old 08-16-2014, 10:05 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, your mod can at least help somewhat to get those curios enough to register.

And just to mention, there's some minor spelling errors, nothing that impacts the way the mod works (or I didn't noticed that for the moment).

For example:
_______

So by setting this to "Yes" you will stop dmins and moderators from being able to reply to closed threads.

Note: Of course this will only work if the selected usergroups are a admin or moderator group.

Set this to "Yes" to chow a thread closed image in the closed reason block.
________

As you can see, nothing big, but just to mention...
Reply With Quote
  #53  
Old 08-16-2014, 10:08 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Crap, I will get those fixed up in a future update, that's what I get for coding when I am tired.
Reply With Quote
  #54  
Old 08-16-2014, 10:34 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And I just tested with really long thread closing reason, and there's a bit of overlapping text with image. Take a look: http://slobodni.net/t116947/ (log in as ozzy47 to see how it looks)

I noticed that you reduced image to 125x125 in CSS, as I'm using a bit larger image (I removed this image restriction in CSS), then I first noticed this. But, it still appears even with 125x125. Maybe to use tables to separate image from text, just in case if someone needs to use really long reason? Or some other way that restricts text right of the image?
Reply With Quote
  #55  
Old 08-16-2014, 10:55 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To fix the text overlapping the image, in the ozzmodz_t_closed_reason.css find the following:
Code:
#ct_image {
    position:absolute;
    padding-left:2px;
    width:125px;
    height:125px;
    float:left;
}
And remove the line:
Code:
position:absolute;
I think I had that in there when I first added the image.
Reply With Quote
  #56  
Old 08-16-2014, 11:00 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have updated the zip to include the above fix, and the spelling corrections.

So if anyone downloaded v2.0.0 before this post, please re-download, only the XML has changed.
Reply With Quote
  #57  
Old 08-17-2014, 05:04 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice..good stuff Ozzy and Alan ! I come back from a nice long nap and I see this...im SO EXCITED ! LOL ............
Reply With Quote
  #58  
Old 08-17-2014, 06:04 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far so good ! everything is good to go !

I did make a few changes like changed the name of the folder where the image is in, I aligned the text and image to the left instead of center and the size of the image as well in the css.

But everything is looking smOOOOth! Thank you Ozzy! Once again great work my Man!!!
Reply With Quote
  #59  
Old 08-17-2014, 08:26 AM
woodmj woodmj is offline
 
Join Date: Sep 2013
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange. Uploading the new files to my site crashed it with a DB error. I needed to remove the files to get to my ACP and then uinstall the mod to get the whole site working again. I'm on 4.2.2 Patch 1, mySQL 5.5.38.
Reply With Quote
  #60  
Old 08-17-2014, 08:43 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What was the error?
Reply With Quote
  #61  
Old 08-17-2014, 09:27 AM
woodmj woodmj is offline
 
Join Date: Sep 2013
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately I didn't write it down and when I tried a fresh install there was no error but the mod just remained inactive even though it was set to active in Options in the ACP.
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 06:27 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.04555 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
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
  • (2)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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