CodeWalrus

CodeWalrus Website => Site Discussion => Site News & Announcements => Topic started by: Dream of Omnimaga on September 15, 2016, 05:03:56 PM

Title: Empty topics bug fixed
Post by: Dream of Omnimaga on September 15, 2016, 05:03:56 PM
Those who likes browsing through old forum topics might have noticed that in larger sub-forums, there were a lot of topics with broken icons, no title and empty "last post" information at the bottom of each page except the first and the last. There were also plenty of topics at the top (or sometimes the entire page) that were not ordered properly, rendering certain topic list pages unusable. If you browsed the forum as guest, those topics showed an unclickable title saying "(Awaiting approval)" in italic letters. To alleviate the problem until a solution is found, we set topic listings to 100 topics per page instead of 50.

(https://img.ourl.ca/clonetopicbug.png)

This was due to a bug with the topic cloning plug-in we have used for over a year, which allows a topic to appear in more than 1 sub-forum. The bug was fixed a long time ago, but for some reasons, uninstalling the buggy plug-in version left some code behind, which went unnoticed until a new version of that mod came out a few days ago. The offending bit of code was removed and it seems the problem is gone now (it is unknown if it will come back if we have posts awaiting admin approval, but under such situation the issue would most likely be much less severe than it was). As a result, we have reverted back to 50 topics per page instead of 100 and older post lists should be easier to browse now!
Title: Re: Empty topics bug fixed
Post by: p2 on September 15, 2016, 08:19:27 PM
yay ^.^ But why are there even posts that need admin improval in the first place? ^^ aren't all posts visible right from the start? :)
Title: Re: Empty topics bug fixed
Post by: Dream of Omnimaga on September 15, 2016, 10:17:46 PM
There are two ways a post might require admin approval:

1) If it's a new topic posted in the Randomness section

2) If the user is temporarily banned (after 3 warnings)