The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Improved Post Report System Details »» | |||||||||||||||||||||||||
This hack will place post reports into modcp, and enable moderators to give feedback to users via a page that users can see which includes all of their own post reports.
Post reports have three possible statuses: open, pending or closed. When a post report is made, the report is put into a page in modcp called 'outstanding reports', and has a status of 'open'. There is a new option in admincp which governs whether or not the post report emails are sent to moderators; so if this is switched on, the emails are still sent. Moderators can then see who reported the post and the time at which it was reported, and the comment given by the user. There are also links to the post itself, the thread the post is on, the forum the thread is in, the user who posted the post and the user who reported the post. The user page can be linked anywhere you choose; I have included instructions for linking it on the quicklinks menu. This system can be switched on or off from admincp. When off, the behaviour of post reports is as normal. I've also included an optional scheduled task which will remove post reports from the system than are older than an age specified in days in admincp. Moderators can then update the status of the report, and add a comment. The user who reported the post can then see these changes reflected in their page - it will show the name of the moderator dealing with the report, the comment (if any) left by the moderator, and the time at which the report was last updated. When a moderator sets the status of a report to 'closed', it is moved to another page in modcp called 'closed post reports'. Post reports that are in the pending state are still kept in the 'outstanding post reports' page. This hack has been tested on 3.0.3, 3.0.4, 3.0.5 and 3.0.6, and can be seen in action on The Student Room where it has been up and running since 18th January 2005. Screenshots: 1) What the user sees 2) A closed report in modcp 3) The admincp settings 4) An open report and the modcp menu items Updated 26th Feb 2005: installer now calls build_language so there is no need to rebuild the phrase cache manually. Show Your Support
|
Comments |
#42
|
||||
|
||||
Thank you very much! This is going to be a beautiful addition for my mods! <3
|
#43
|
|||
|
|||
Will this be converted so it is compatible with vBulletin 3.5?
Thanks. |
#44
|
||||
|
||||
Hi,
Thank you for the wounderfull job there is a small problem.. All the modeaters and admins view all the reports and can update and change the status of the report. In other words, the moderator should view only the rports that belongs to his forum.. Regards. |
#45
|
||||
|
||||
up :disappointed:
|
#46
|
||||
|
||||
Another up but with request..
Each time I have to log to CP to chk if there is any report.. Could you do somthing to show number of reports say in the welcome panel under the private message numbers. Ex: Welcome, unicorn. You last visited: Today at 01:25 Private Messages: 0 Unread, Total 2 Post Reports : 2 new, 3 pinding Regards, Ghanem. |
#47
|
||||
|
||||
This would be useful... Going to bring it up to the "master"
|
#48
|
||||
|
||||
Quote:
1) All moderators can see and edit all reports 2) All moderators can see all reports, but can only edit reports in their forums 3) Moderators can only see and edit reports in their forums Quote:
If you want to add it now, you can do this (but it only shows open reports not pending, but you could easily modify that). This is a bit hacky, but it works and it's been used on a site I admin for months: In global.php find: Code:
$vbphrase['total_x_nav_compiled'] = construct_phrase($vbphrase['total_x_nav'], $bbuserinfo['pmtotal']); Code:
$reportcount = 0; if(can_moderate()) { $reports = $DB_site->query_first(" SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "postreport AS pr WHERE pr.status = 0 "); $reportcount = intval($reports['count']); } In navbar template, find: Code:
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if> Code:
<if condition="can_moderate()">
<if condition="$reportcount == 1">
<a href="modcp/postreports.php?do=list"><br/><strong>1 post report</strong></a>
</if>
<if condition="$reportcount > 1">
<a href="modcp/postreports.php?do=list"><br/><strong>$reportcount post reports</strong></a>
</if>
</if>
|
#49
|
||||
|
||||
Quote:
Thanks a million, very nice neat jop. Kindest Regards. |
#50
|
|||
|
|||
Is there any way that I can substitute the Modification for the standard VB email for certain usergroups?
Basically, we have the hack installed and the Moderators can use it, however our forum Vip's get their own subforum which they moderate but I would rather them being sent the standard Vbulletin email rather then them using the Modcp? Also when is the new version coming out it sounds great! |
#51
|
||||
|
||||
If anyone is interested, in my development version I have replaced, in report.php
Code:
$mods = array(); while ($moderator = $DB_site->fetch_array($moderators)) { $mods[] = $moderator; } Code:
$mods = array(); while ($moderator = $DB_site->fetch_array($moderators)) { if(can_moderate($foruminfo['forumid'], null, $moderator['userid'])) { $mods[] = $moderator; } } Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|