Expired Posts
A Flarum extension. Mark posts as expired. An alternative to https://github.com/FriendsOfFlarum/prevent-necrobumping. Huge thanks to the Friends of Flarum group for the necrobumping extension. This uses their code, but changes things up a bit so that there are no replies at all after so many days, and the post is clearly marked as expired.
Discussion list will show post expired (or whatever text you want):
Post page will be "dimmed" stating that the post has expired (text customizable). Also, post nav buttons are hidden:
For me, I wanted it this way because for a certain forum I have, for a particular tag, I want to "expire" posts but still kind of show the post content behind. It's just the effect I personally wanted. With CSS adjustments, you can do something a little different.
Expired class is added to discussion list items so that you may change colors and other things with some custom CSS.
Example:
.DiscussionListItem.Expired {
color: red;
}
Installation
composer require zerosonesfun/expired-posts
Updating
composer update zerosonesfun/expired-posts
Links
Based on an extension by FriendsOfFlarum. This version modified by Billy Wilcosky.