1
MaxIT
Pre-moderating forums: an idea
  • 2002/7/8 12:47

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


To let XOOPS forum moderators doing their job before the publish of what they should moderate, I'm thinking about an hack that should be simple.
The idea is following:
- add a db field in table PREFIX__bb_posts_text called post_approved.
- ad a db field in table PREFIX_bb_forums called forum_moderated
- when a user post a message, default value of post_approved will be = !forum_moderated
- for normal user, when forum engine will display messages, it will display only those ones in which post_approved = 1
- for moderators, forum engine will display all messages with an additional approve button (which will show the state of post_approved value, too). Clicking on it will switch post_approved field value.

I'm going do it on myself but I'm interested on knowing devs & community opinion about integrating this in official release.

Other than in France, in Italy too there is a problem of 'responsability' of site contents, including forums, and this is a important feature, IMHO.

2
MaxIT
Re: Pre-moderating forums: an idea
  • 2002/7/9 10:48

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


*bump*

(only 11 visits at now and could interests larger public)

3
onokazu
Re: Pre-moderating forums: an idea
  • 2002/7/10 14:43

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


I think you have a very nice idea...of course we accept any contribution by users any time..

4
MaxIT
Re: Pre-moderating forums: an idea
  • 2002/7/10 17:06

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


Quote:
I think you have a very nice idea...of course we accept any contribution by users any time..

I almost finished the hack: I just need to work on viewpost.php for filtering posts according to user permission, and add a checkbox "moderated" on forum administration.
It will be a beta because I think I'll get some posts-related problem like user-posts count and showing empty thread when all posts are hided (a better version should add a 'hide' flag to thread headers)
I'll release it soon.

5
MaxIT
Re: Pre-moderating forums: an idea
  • 2002/7/10 18:24

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


(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)

6
mike
Re: Pre-moderating forums: an idea
  • 2002/7/10 21:52

  • mike

  • Just popping in

  • Posts: 21

  • Since: 2002/2/3 1


Why not release it as a separate module instead of a hack so both modules can be used together? So we could use an unmoderated newbb and a moderated one together - the same as the current faqmodule/xoopsdoc module - would be a nice option

7
MaxIT
Re: Pre-moderating forums: an idea
  • 2002/7/11 0:36

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


Quote:
Why not release it as a separate module instead of a hack so both modules can be used together?

That is a good idea. I should simply rename module and referring to same tables. At now it still need hacking db and /include/functions.php, but last could be solved by duplicating showThread function instead than hacking it.

BTW, I have some doubts on managing informations shared with other modules or blocks: recent discussions, user posts count and other stuff should all be re-built or hacked. I need some tests.

8
Bambinator
Re: Pre-moderating forums: an idea
  • 2002/7/11 10:57

  • Bambinator

  • Just popping in

  • Posts: 3

  • Since: 2002/7/11


Very exciting idea !
Where can I download it ?

Does your hack permits to choose which level of user would pass through the moderation ?
For example only "Just popping in" users will be pre-moderated but not the "Quite a regular" users ?

It will be powerfull like this
Because the real danger is often the new users not the old one.

Thx

9
MaxIT
Re: Pre-moderating forums: an idea
  • 2002/7/11 14:52

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


Quote:
Where can I download it ?

Wait some, I still need to make it decently working.
Quote:
Does your hack permits to choose which level of user would pass through the moderation ?

I didn't though about this, it's very interesting feature, quite simple to add. I'll put on my list.

10
Bambinator
Re: Pre-moderating forums: an idea
  • 2002/7/11 17:33

  • Bambinator

  • Just popping in

  • Posts: 3

  • Since: 2002/7/11


Oh thx !

I really need this function : in France (by the way i'm french ) we've got a lot of legals problems with the moderation.
I dont want to go to jail but i also want to let my forums opens. Now u know evreyting

The next time u'll be on Paris i'll buy u a drink


See u

Login

Who's Online

162 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 162


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits