Gabriel Torres Posted July 13, 2023 Posted July 13, 2023 Hi, We enabled archiving here and I noticed a behavior that you may want to address. When a topic is archived, the "state" row is kept in its original value (e.g. "open/closed"). When a closed topic is archived, then we end up having two messages saying that the topic is closed: one because it is archived and another becaise it is closed: This is clearly redundant. When the topic is set as "open", the second message doesn't show up. I believe the row "state" is kept with its original value because if we ever need to restore the topic, it must be restored to with its original state. Anyway, maybe it a matter of adding a logic it a template to supress the second message if the topic is archived, so we get rid of this additional message. For instance: forums > front > topics > topic Original: {{if $topic->commentForm() || $topic->locked() || \IPS\Member::loggedIn()->restrict_post || \IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings'] || !\IPS\Member::loggedIn()->checkPostsPerDay()}} Change to: {{if ($topic->commentForm() || $topic->locked() || \IPS\Member::loggedIn()->restrict_post || \IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings'] || !\IPS\Member::loggedIn()->checkPostsPerDay()) && !$topic->isArchived()}} This worked great here and I hope you can adjust this in a coming release. Cheers! 🙂
Marc Posted July 14, 2023 Posted July 14, 2023 Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release. Â Gabriel Torres 1
Marc Posted September 6, 2023 Posted September 6, 2023 This issue was resolved in the recently released 4.7.13 release. Please update in order to fix this issue, and if you see any problem after that point, please let us know. Gabriel Torres 1
Recommended Posts