Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

Announcement

FluxBB 1.5.6 and 1.4.12 released

These releases fix a security issue - please update your forums! Download links: v1.5.6 | v1.4.12

#1 2013-12-30 10:07:55

totte
New member
Registered: 2013-09-04
Posts: 3

"Flag as spam" button for moderators to ban user and move topic/post

I'd like to provide a button on each individual post and each topic visible to moderators (and administrators) that bans the user (no expiry date, message "Banned for spamming") who wrote the post (or opening post if it is a topic) and moves the post (or topic) to a predefined location (e.g. a subforum named "Trashbin") - all in one click, possibly with a step to confirm ("Are you sure? Yes/No"). If the user already was banned the post(s) would simply be moved to the trashbin. In short, a one-click-ban-user-and-move-post(s)-button.

How would I go about doing this - or has someone already done something similar? I skimmed through the modifications but haven't found anything quite like this so far.

Offline

#2 2013-12-30 12:23:26

seven
Member
From: Torino, Italy
Registered: 2010-08-19
Posts: 138
Website

Re: "Flag as spam" button for moderators to ban user and move topic/post

It's been done in our Gamezoo Akismet mod. It lets the administrator flag a post as spam. The spammer is immediately banned and sanitized.

Feel free to look at the code (and improve it maybe smile )

http://fluxbb.org/resources/mods/gamezoo-akismet/


gamezoo.org - serious gaming services for serious gamers.

Offline

Board footer

Powered by FluxBB 1.5.6