[ABD] Report Posts (2.1.5)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

[ABD] Report Posts (2.1.5)

Post by chatasos » Thu Aug 25, 2005 12:54 am

MOD Title: Report Posts

MOD Description: This is a complete Report System for the phpBB forum. Registered users can report posts to moderators (choosing various reasons) and moderators can act upon these reports (choosing various actions). Both users and moderators can enter some comments too. Many parameters are configurable though the Admin CP.

MOD Version: 2.1.5 (alpha)

MOD Download: report_posts_2.1.5.zip


This mod is based on version 1.2.3 of Report Posts but has most of its functionality/appearance rewritten plus many new features added.

Features to be implemented (some of them are already there):

1) Extra admin panel, so admins can change the following parameters easier and faster:

- Predefined report reasons & actions (screenshot 1a)

- Allow/disallow moderators to delete the reports (screenshot 1b)
- Allow/disallow moderators to send pm to reporters/posters when taking action (screenshot 1b)
- Allow/disallow moderators to send email to reporters/posters when taking action (screenshot 1b)
- What will be the default status when opening the Report CP (screenshot 1b)
- How many reports will be shown per page when moderators are viewing reports (screenshot 1b)
- How many actions will be shown for each report when moderators are viewing reports (screenshot 1b)
- Which panels will be shown and which one will be active when moderators are taking action (screenshot 1b)

- Enable/disable multiple reporting of the same post (screenshot 1c)
- Allow/disallow users to report their own posts (screenshot 1c)
- Allow/disallow users to edit/delete their reports (screenshot 1c)
- Which panels will be shown and which one will be active when user is reporting a post (screenshot 1c)

- Change color of open/closed/reopened status (screenshot 1b)

2) Moderators can see various information while taking action on reports
- Information about the report (screenshot 2a)
- Information about the post to which the report refers (screenshot 2b)
- Information about the report history of the poster (*) (screenshot 2c)
- Information about the previous actions of moderators on this report (*) (screenshot 2d)

(*) Information about poster and previous actions is not shown when taking actions on multiple reports.

Moderators also can :
- write some comments about their actions
- do multiple actions on multiple reports
- choose whether to inform the reporter and/or the poster about their actions using pm or email
- close automatically the report when reopening it

Moderators are getting informed for reports by email (+link notification at header/footer)

3) Users can see various information while reporting a post
- Information about report history of a post, when multiple reporting is enabled (screenshot 3a)
- Information about the post to which the report refers (screenshot 3b)
- Information about user's previous reports plus actions taken by mods (screenshot 3c)

Users also can:
- write some comments about their report
- edit or delete their own reports if no action has been taken on them
- select multiple reasons for reporting
- inform the poster about their report (not sure yet about this)

4) Much nicer/friendlier "view reports" interface for moderators (screenshot 4)
- Ability to sort/filter reports per date/reason/action/reporter
- Ability to open/close/delete all reports or individual ones (the process for making mutiple reports action is exactly the same as the process on making a single one, but it is applied on all the selected reports)

5) DB schema completely redesigned for better/easier implementation



...and many more....


Note: This new version will be incompatible with the old one (1.2.x), so you'll have to erase the mod's db table (this means you'll lose your reports) and start from scratch.

Code: Select all

## MOD History:
##
##	2005-11-06 - Version 2.1.5 (alpha)
##	- Removed display of "delete" action when not allowed
##	- Added sum of reports on user reports panel
##	- Added option in Admin CP to display reasons/actions descriptions
##	- Added display of poster name in Report CP
##
##	2005-10-13 - Version 2.1.4a (alpha)
##	- Fixed bug where showing all reports on first page (Thanks WinstonFl)
##
##	2005-10-04 - Version 2.1.4 (alpha)
##	- Added sorting capability (per report date/status/action date) while viewing reports
##	- Optimized code in functions get_report_details() & get_report_action_details()
##	- Optimized some sql queries when checking for non-existent posts/reports
##	- Fixed bug when going back after acting on many reports and no action was selected or no comments were entered
##	- Changed some function names to avoid conflicts with other mods
##	- Many small fixes
##
##	2005-10-02 - Version 2.1.3a (alpha)
##	- Fixed bug where missing some $lang vars in viewtopic.php (Thanks thunder88)
##	- Fixed an incompatibility with extreme styles mod (Thanks James78)
##	- Moved some includes into the if statement in page_tail.php
##
##	2005-09-30 - Version 2.1.3 (alpha)
##	- Optimized code in report.php
##	- Optimized code in viewpost_reports.php
##	- Optimized code in admin_report_posts.php
##	- Added many checks when reporting
##	- Added option for admins to set time (+ enable/disable) for flood control when reporting
##	- Added option for admins to set number of reports per page when viewing reports
##	- Added display of topic title when reporting
##	- Added pagination when viewing reports
##	- Added Cancel button when adding/editing reasons & actions in Admin CP
##	- Changed some config parameter names
##	- Fixed bug when acting on many reports and none of the report/post panels was active
##	- Fixed bug in rp_get_template_name function (Thanks arkange_17)
##	- Fixed bug when sending pm with single quotes in subject/message (Thanks arkange_17)
##	- Many small fixes
##
##	2005-09-27 - Version 2.1.2d (alpha)
##	- Changed some function names to avoid conflicts
##	- Small code cleanup
##
##	2005-09-26 - Version 2.1.2c (alpha)
##	- Changed sql UPDATE code (again) in order to be compatible with all possible sql versions
##	- Disabled displaying of report icon when users cannot report their own reports (Thanks James78)
##
##	2005-09-25 - Version 2.1.2b (alpha)
##	- Changed some sql UPDATE code
##	- Moved some functions to a seperate file in order to avoid conflicts with other mods' functions
##
##	2005-09-24 - Version 2.1.2a (alpha)
##	- Fixed js error when a template other than subSilver was used (Thanks hp_solomon)
##
##	2005-09-22 - Version 2.1.2 (alpha)
##	- Added option for admins to enable/disable editing of reports by users
##	- Added option for admins to enable/disable deleting of reports by users
##	- Added option for admins to set which reports will be displayed when starting the CP
##	- Added option for admins to enable/disable users reporting their own posts
##	- Added option to close a report immediately after reopening it
##	- Added message in CP when email notification is disabled
##	- Added check when the poster of the reported post is a guest
##	- Fixed bug where previous actions weren't showing correctly in CP
##	- Various small fixes
##
##	2005-09-21 - Version 2.1.1 (alpha)
##	- Added option for admins to choose which user panels should be displayed
##	- Added option for admins to choose which user panel should be the active one
##	- Added option for admins to choose which mod panels should be displayed
##	- Added option for admins to choose which mod panel should be the active one
##	- Added option for user to edit/delete his reports
##	- Added display of status in Report panel
##	- Added display of actions in Poster panel
##	- Added Cancel button in report posts & actions
##	- Changed tab/panel code (much modular now)
##	- Various small fixes
##
##	2005-09-17 - Version 2.1.0b (alpha)
##	- Fixed bug when closing/deleting reports and updating the post report status (Thanks hojko)
##
##	2005-09-16 - Version 2.1.0a (alpha)
##	- Fixed bug with multiple message_die (Thanks James78)

##
##   2005-09-12 - Version 2.1.0 (alpha)
##	- Completely new version by chatasos
##	- Many new features added (see author notes for details)
##
Below you can see some screenshots :

At the following screenshots you can see the various parameters of the admin control panel


screenshot 1a

screenshot 1b

screenshot 1c

At the following screenshots the moderator is about to enter some comments about his action on the report submitted by a user.
On the right side there are some predefined "actions", so he can choose one of them and not enter any comments.

screenshot 2a

screenshot 2b - selecting the 2nd tab...

screenshot 2c - selecting the 3rd tab...

screenshot 2d - selecting the 4th tab...

At the following screenshots the user is about to report a post and write some comments about his report.
On the right side there are some predefined report "reasons", so he can choose one of them and not enter any comments.

screenshot 3a

screenshot 3b - selecting the 2nd tab...

screenshot 3c - selecting the 3rd tab...

As you can see at the bottom of the page, i'm using tabs & panels in order to display as much info as possible (using less space) without the need for refreshing the page.


At the following screenshot, moderators can see all their reports and information about them.

screenshot 4
Last edited by chatasos on Sun Nov 06, 2005 3:37 pm, edited 45 times in total.

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

phantomk
Registered User
Posts: 1039
Joined: Wed Apr 14, 2004 5:32 am
Location: Canada Eh?
Name: Daniel Lee
Contact:

Post by phantomk » Thu Aug 25, 2005 5:42 am

If you want any help on any stage of the mod, ie developing, testing etc .. Let me know :) I am really interested in the mod/development.

whozyodaddy
Registered User
Posts: 186
Joined: Sat May 08, 2004 4:26 am

Post by whozyodaddy » Thu Aug 25, 2005 6:01 am

Sounds great, I can't wait till I can try it out!

Bull_UK
Registered User
Posts: 23
Joined: Tue May 17, 2005 5:01 pm

Post by Bull_UK » Thu Aug 25, 2005 7:20 am

just had another idea.....

I've had complaints from users in the past that they aren't informed when a moderator does something to their post, equally I've had irate e-mails from banned users when they feel they had no explentation following a ban/suspesion etc.

Could something be put in place to either
  • PM/e-mail the person making the report and the original author of the post with the comments filled in by the moderator

    add something to the editted/moved post along the lines of the Mod BBcode eg the moderator selects the "banned user" radio box and fills in comments such as, "person X was being offensive to person Y." That message is then appended to the reported post.

    Alternatively you might nominate a forum where these moderator comments are posted to kind of like the yellow card does
If any of these ideas made it to the mod then there'd need to be an option available to the moderators to turn it off/on on a case by case basis. You wouldn't want your moderator commenting that person X was banned for sexual harrasment as that could be construed as liable etc


I hope that all made sense as reading ti back to myself it was a little all over the place.

I go away on holiday tomorrow so fingers crossed I'll be coming back to a complete (or nearly) rewrite of this mod..... eep up the good work chatasos

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Thu Aug 25, 2005 9:06 am

Bull_UK wrote: just had another idea.....

I've had complaints from users in the past that they aren't informed when a moderator does something to their post, equally I've had irate e-mails from banned users when they feel they had no explentation following a ban/suspesion etc.

Yep... i had forgotten about that one...:roll:
Bull_UK wrote: Could something be put in place to either
  • PM/e-mail the person making the report and the original author of the post with the comments filled in by the moderator

This is the one that'll be implemented as it seems the most logical :wink:

Features & screenshots updated on 1st post...

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Thu Aug 25, 2005 12:43 pm

phantomk wrote: If you want any help on any stage of the mod, ie developing, testing etc .. Let me know :) I am really interested in the mod/development.


Thanks a lot for your offer phantomk,
Right now there is no immediate need since i have enough free time :wink: .
Also i want to have most its main code completed before giving it to people for testing.

But i'll surely need people later to test the tabs' functionality on different browsers. On Mozila it's working fine, on IE there are some problems with the text on the tab labels (but i'm sure i'll find a solution), but i don't know what's happening with the other browsers...

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Thu Aug 25, 2005 12:45 pm

Features & screenshots updated.
See 1st post for details...

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

Americas Reject
Registered User
Posts: 126
Joined: Thu Jan 13, 2005 3:24 am

Post by Americas Reject » Fri Aug 26, 2005 4:16 am

looks nice

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Post by saaiberke » Mon Aug 29, 2005 12:24 pm

I will follow this thread with great interest ;)

Nic

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Mon Aug 29, 2005 12:33 pm

This will take a while to be updated, since now i'm focused on my other mod (Rebuild Search) which is in BETA stage and will soon become RC 8)
As soon as i finish with it, development of this one will continue...

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

»»EDDY««
Registered User
Posts: 220
Joined: Mon Jun 02, 2003 10:14 am
Location: Poland/Slupsk
Contact:

Post by »»EDDY«« » Mon Aug 29, 2005 4:39 pm

We wait:)
Make a Tiny URL in excellent domain heh.pl


cooling system & water cooling

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Thu Sep 01, 2005 12:32 pm

Features & screenshots updated.
See 1st post for details...


Feel free to write down any ideas you might have about it....

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Wed Sep 07, 2005 8:08 pm

Features & screenshots updated.
See 1st post for details...


I'm thinking of releasing the current version for testing, since most features are already implemented and i would like to get some feedback on them before proceeding.

What is missing from current code is :

the admin panel
sort/filter options
pm/email notification (this is 50% ready)
some extra checks

So i would like to know, if there is anyone out there who is available for testing the current features. If not, i'll continue with coding and release a more complete version some time later.

Please note that the old version (1.2.3) of Report Posts must be uninstalled completely (+ tables deleted), prior to installing this one. Right now, you have to find your own way on how to do this, but i'm planning of releasing an upgrade mod when the new version is released through the mod-db.

PS: Since this is an alpha version, i wouldn't recommend installing it in a live board, unless you know exactly what you're doing.

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

phantomk
Registered User
Posts: 1039
Joined: Wed Apr 14, 2004 5:32 am
Location: Canada Eh?
Name: Daniel Lee
Contact:

Post by phantomk » Wed Sep 07, 2005 8:16 pm

Will the mod be backwords compatiable with Cat Hierarchy ?

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Wed Sep 07, 2005 8:46 pm

phantomk wrote: Will the mod be backwords compatiable with Cat Hierarchy ?

Hopefully there won't be any problems. Until now there is only one function that doesn't work on CH, but an alternate function for CH has been provided and remains to be tested.

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

Locked

Return to “[2.0.x] MODs in Development”