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 |
#32
|
|||
|
|||
Ok, thanks for that it works.
Nice mod it will help with my forum alot |
#33
|
||||
|
||||
Quote:
Edit any phrase, and save it without changing anything. |
#34
|
|||
|
|||
I have a question, i've put postreport.php in the usercp but when i open it it deosn't have the usercp links at the side, i was wondering if someone could help, thanks!
|
#35
|
||||
|
||||
Quote:
Code:
$pagenav <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="9"> $vbphrase[postreports_yourpostreports] </td> </tr> </thead> <tbody> <tr> <td class="thead">$vbphrase[postreports_postnumber]</td> <td class="thead">$vbphrase[postreports_postedby]</td> <td class="thead">$vbphrase[postreports_onthread]</td> <td class="thead">$vbphrase[postreports_yourcomment]</td> <td class="thead">$vbphrase[postreports_timestamp]</td> <td class="thead">$vbphrase[postreports_status]</td> <td class="thead">$vbphrase[postreports_moderator]</td> <td class="thead">$vbphrase[postreports_comment]</td> <td class="thead">$vbphrase[postreports_updated]</td> </tr> $postreportbits <tr> <td colspan="9" class="tfoot"> </td> </tr> </tbody> </table> Code:
eval('print_output("' . fetch_template('postreports') . '");'); eval('$footer = "' . fetch_template('footer') . '";'); echo $footer; Code:
eval('$HTML = "' . fetch_template('postreports') . '";'); eval('print_output("' . fetch_template('USERCP_SHELL') . '");'); |
#36
|
|||
|
|||
Wow, thankyou.
You made my day, thanks! Another problem (i know i fuss, but it's needed ) The user cp link in reportpost.php have no class for the td their in, their just white! |
#37
|
||||
|
||||
For some reason the reports are not making it into the database. I dont have prefix's and I am using your report.php from the post above since I use Erwins hack aswell. His is still functioning but the reportpost table is empty.
Any ideas? Thanks! -Jason |
#38
|
||||
|
||||
Ok, never mind figured it out!
|
#39
|
||||
|
||||
Ok, drats. Got most of it working. The only problem is that when a user goes to their postreports.php it is just the headers, no reports that they submitted.
Any ideas? Thanks again, -Jason |
#40
|
||||
|
||||
Ah ok, spelled the bits template wrong... dorh....
|
#41
|
|||
|
|||
Good job pig. I think I will install this some time soon, just for the fun of it considering that no one on my forum ever reports posts.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|