2022-02-14, 09:39 AM
2022-02-14, 05:29 PM
thank you 

2022-02-26, 03:41 PM
Version 1.2.1 released:
- The addition of a setting for usergroups whose members are authorised to close/reopen threads they've authored in the stipulated forums. This feature was requested and sponsored by @spear.
- Improved error messaging when a non-author tries to post to an author-closed thread: the message now states that the author closed the thread; originally, the default message was used, which states erroneously that a moderator closed the thread.
- Two "Close thread" checkbox fixes:
- The addition of the checkbox to the new reply pages on top of new thread pages.
- The persistence of the value of the checkbox when submitting either page when (core) input errors occur, such as message too short.
- The addition of the checkbox to the new reply pages on top of new thread pages.
2022-02-28, 12:09 AM
Version 1.3.0 released:
2022-02-28, 01:27 PM
thank you for full filling my request
is there anyway we can edit the "Close Thread" button text?
any option to set user can close the thread only but cannot re-open.
is there anyway we can edit the "Close Thread" button text?
any option to set user can close the thread only but cannot re-open.
2022-02-28, 01:39 PM
(2022-02-28, 01:27 PM)lkop Wrote: [ -> ]thank you for full filling my request
No worries.
(2022-02-28, 01:27 PM)lkop Wrote: [ -> ]is there anyway we can edit the "Close Thread" button text?
Yar. In the ACP, select
Configuration
then Languages
then beside your language pack in the list click Options
, then Edit Language Variables
, then beside opcanclosethread.lang.php
click Edit
, and edit the value of opcct_close_thread
to your preference. Or just edit that same language file in the filesystem, which achieves the same effect.(2022-02-28, 01:27 PM)lkop Wrote: [ -> ]any option to set user can close the thread only but cannot re-open.
I'll take that as a feature request. You're rife with them, apparently. Feel free to add it as a GitHub issue.
2022-02-28, 03:30 PM
thanks again 

2023-01-18, 07:34 PM
will it be possible to make an option that admin, mod can use the close thread feature, please?
2023-01-18, 11:59 PM
(2023-01-18, 07:34 PM)lkop Wrote: [ -> ]will it be possible to make an option that admin, mod can use the close thread feature, please?
You can enable it for mods by selecting "Moderators" in the plugin's settings in the ACP: Configuration » Settings » OP Can Close Thread » Authorised Usergroups (multiple usergroups can be selected by holding down ctrl as you select them).
Admins already have access to it via the "Moderation Options:" dropdown box bottom-right of thread pages. When I've finished what I'm working on at the moment I'll see about adding the same "Close Thread" button for admins that other usergroups selected in the above setting see.
Potentially related: https://github.com/mybbgroup/OP-can-clos...d/issues/4
(2023-01-18, 11:59 PM)Laird Wrote: [ -> ]You can enable it for mods by selecting "Moderators" in the plugin's settings in the ACP: Configuration » Settings » OP Can Close Thread » Authorised Usergroups (multiple usergroups can be selected by holding down ctrl as you select them).
Oh, I should add that the button is not shown to those moderators who already have the permission to close threads via the same interface as Admins:
(2023-01-18, 11:59 PM)Laird Wrote: [ -> ]Admins already have access to it via the "Moderation Options:" dropdown box bottom-right of thread pages.
That was a deliberate decision:
https://github.com/mybbgroup/OP-can-clos...a390458744
I'm open to reverting that decision given that it seems that at least you and Eldenroot are unhappy with it.
2023-01-19, 12:48 AM
Moderators and admins that already have mod permissions need not see the Close Thread button to close a thread. They have that ability already.
However, this plugin is for selected usergroups. And given that there is an option to automatically add a thread prefix when that button is clicked, admins and moderators should have the one-click ability for *their* threads if they are in the selected usergroup. If an admin or mod is closing a thread through the moderator's interface, the prefix should not be, and is not, automatically applied.
I am using a [Closed by OP] prefix in my use case.
Nice plugin, just installed it. It solves a problem recently developed in my forum where someone started a conversation and had better thoughts about it. Rather than delete the thread and all the other discussion, It was simply closed by an admin. The OP wanted to have that choice without waiting for an admin response.
Thanks Laird. Your coding is quality.
edited to add underlined text, and edited again for clarity.
However, this plugin is for selected usergroups. And given that there is an option to automatically add a thread prefix when that button is clicked, admins and moderators should have the one-click ability for *their* threads if they are in the selected usergroup. If an admin or mod is closing a thread through the moderator's interface, the prefix should not be, and is not, automatically applied.
I am using a [Closed by OP] prefix in my use case.
Nice plugin, just installed it. It solves a problem recently developed in my forum where someone started a conversation and had better thoughts about it. Rather than delete the thread and all the other discussion, It was simply closed by an admin. The OP wanted to have that choice without waiting for an admin response.
Thanks Laird. Your coding is quality.
edited to add underlined text, and edited again for clarity.