5
(pre-)Hack is finished, it looks like working fine.
You can take a look at my
RC3 Test Site.
Just login as testuser/testuser and post anything. Logout, then look at your thread, will be empty. Login again as testmoderator/testmoderator, look in the threads, and you will se a button: if you press the 'red' one, it will hide the post; if you do the 'green' one, it will unhide it.
Known bugs:
- incongruency in user/thread/forum posts count (it involves too many code lines)
- if thread has not at least 1 post unhided, it should not appear on forum threads list (this is a mess, except by adding further field and logic for threads table)
- if post is sent from a moderator, it should be implicitally approved (easy one)
- post should be see from owner, too (not sure)
- forum module admin should have same rights as moderator (just a keyword)