[3.3][RC] Schedule Topic Lock

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
david63
Registered User
Posts: 19067
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

[3.3][RC] Schedule Topic Lock

Post by david63 »

phpbb3-extension-schedulelock

Description:
An extension to schedule the locking of a topic.

Features:
  • A topic can be scheduled to be locked on a selected date & time.
  • Either all fora can be allowed to have scheduled locking or specific fora.
  • The option is only available when creating a topic or editing the the first post of a topic.
  • The scheduled locking is controlled by permissions.
  • There can be a message at either the top and/or bottom of the viewtopic page stating that the topic has expired.

    Languages:
    en

    Status:
    3.3.0-RC6

    Installation:
    • Download the latest release and unzip it.
    • Upload the unzipped files to [board root]/ext/david63/schedulelock and enable it in the ACP
    GitHub Repository: https://github.com/david63/schedulelock

    Extension Download:https://github.com/david63/schedulelock/archive/3.3.zip
Last edited by david63 on Sun Mar 07, 2021 3:38 pm, edited 3 times in total.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
david63
Registered User
Posts: 19067
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by david63 »

After installing this extension it will need configuring.
  • In ACP -> Extensions -> Schedule topic lock -> Schedule topic lock select the options for displaying the "expired" notice and whether all forums can be scheduled.
  • If you only want the feature available for specified forums the set the "Schedule topic lock" option for that forum.
  • Set the "Can schedule topic lock" permission for the groups and/or users that you want to be able to use this feature.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
ViolaF
Registered User
Posts: 1558
Joined: Tue Aug 14, 2012 11:52 pm

Re: [3.3][RC] Schedule Topic Lock

Post by ViolaF »

Great Job - Thanks for this one :D
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 5261
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by HiFiKabin »

Something I have wondered about for a long while, thanks David. Excellent


EDIT:-

Slight bugs

Topic Top Notice can not be switched off after being switched on.

Extension page title incorrect and not parsed
User avatar
david63
Registered User
Posts: 19067
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by david63 »

HiFiKabin wrote:
Mon Feb 22, 2021 4:52 pm
Extension page title incorrect and not parsed
Already spotted that.
HiFiKabin wrote:
Mon Feb 22, 2021 4:52 pm
Topic Top Notice can not be switched off after being switched on.
Fixed (typo :oops: ) - will upload later
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 5261
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by HiFiKabin »

david63 wrote:
Mon Feb 22, 2021 5:29 pm
Fixed (typo :oops: ) - will upload later
Join my world :lol:

Cheers David
User avatar
david63
Registered User
Posts: 19067
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by david63 »

Updated to RC2 (only bug fixes)
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 5261
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by HiFiKabin »

Another bug for you David Using RC2

If forum A as a sub forum B then you can not Schedule topic lock on forum A but you can on B which then allows it on forum A

Disallowing permissions on forum B then also removes it from forum A

I have run it through the settings on both my local test and online test boards and always get the same result
User avatar
david63
Registered User
Posts: 19067
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by david63 »

HiFiKabin wrote:
Tue Feb 23, 2021 11:16 am
If forum A as a sub forum B then you can not Schedule topic lock on forum A but you can on B which then allows it on forum A
Is that with "All forums" set or individual forums?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 5261
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by HiFiKabin »

All Forums selected in the configuration page, also

If there are 2 sub forums, one on one off you can not have the parent forum on

If both sub forums are on the parent can be either state.
User avatar
david63
Registered User
Posts: 19067
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by david63 »

I cannot recreate that issue with any combination of options - although I did spot another, totally unrelated, bug when creating a forum
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 5261
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by HiFiKabin »

I'll start over and report back
G83
Registered User
Posts: 25
Joined: Thu Feb 11, 2021 3:05 pm

Re: [3.3][RC] Schedule Topic Lock

Post by G83 »

Not sure if this is related, however, in a thread scheduled to close this evening, the first post of each new page is missing until a new page is created.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 5261
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by HiFiKabin »

Fresh install of 3.3.0 with QI on WAPMserver Installed RC2, added sub forum to "Your first forum", gave admin permissions, 'all forums' set to NO

Behaviours is exactly as before. the parent forum can not have a scheduled end unless the child does.

'all forums' set to yes, I can schedule an end point. (but the switch in acp>forums>manage forums >edit forum is shown as off)

EDIT:- On my Linux server its all working correctly now, but it wasn't before. All I did was disable, delete data and re enable and set permissions.

One of those things?

EDIT2:- the switch in acp>forums>manage forums >edit forum is shown as off, even though I can still add an end point to a topic.
User avatar
david63
Registered User
Posts: 19067
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [3.3][RC] Schedule Topic Lock

Post by david63 »

HiFiKabin wrote:
Tue Feb 23, 2021 1:32 pm
the switch in acp>forums>manage forums >edit forum is shown as off, even though I can still add an end point to a topic.
I think that there was a bug (now fixed).

Can you try RC3 please
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
Post Reply

Return to “Extensions in Development”