vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Pig's post report system (https://vborg.vbsupport.ru/showthread.php?t=105165)

boozehound 01-11-2006 10:00 PM

Pig's post report system
 
This is a port to 3.5 of this hack. Please see that thread for full description and usage instructions.

Installation
  • Unpack product.zip
  • Upload the files in the upload directory
  • Install the product by uploading the product xml file into the product manager in Admin CP
  • Make the two template changes specified in 'template changes.txt'

Summary
  • 2 php files to upload
  • One xml file to upload
  • One template to change (navbar)
  • Installs 3 plugins

Screenshots
  • screen1.png: Outstanding post report alert for moderators and link to user post report page in quick links menu for all users.
  • screen2.png: User post report page
  • screen3.png: Post reports in modcp

The Chief 01-12-2006 07:22 PM

interesting...I'll take a look at it ;)

Ghanem 01-12-2006 07:38 PM

God bless you :up:

evenmonkeys 01-12-2006 08:34 PM

Wow. I'm surprised this hasn't been released sooner. Nice job.

TTG 01-12-2006 08:52 PM

Product reads as 0.1 after installing and there is nothing showing in admincp to control settings exept open / close reports !? Are we missing something in the zip ?

boozehound 01-12-2006 09:02 PM

Quote:

Originally Posted by TTG
Product reads as 0.1 after installing and there is nothing showing in admincp to control settings exept open / close reports !? Are we missing something in the zip ?

No, it's intended to be that way. Which settings exactly do you want to control?

TTG 01-12-2006 09:08 PM

Quote:

Originally Posted by boozehound
No, it's intended to be that way. Which settings exactly do you want to control?

Sorry, I thougt there was another admincp setting to turn the system on etc as shown in the original hack picture 3 !

Clicked install .. very useful .. thanks boozehound

boozehound 01-12-2006 09:12 PM

Quote:

Originally Posted by TTG
Sorry, I thougt there was another admincp setting to turn the system on etc as shown in the original hack picture 3 !

Ah apologies. I didn't bother with that as one can enable/disable the product from the product page.

Ghanem 01-12-2006 09:21 PM

Hi,

1)
PHP Code:

<br/><if condition="$vbulletin->openreports"><a href="postreports.php">$vbphrase[postreports_postreports]</a>:&nbsp;$vbulletin->openreports</if> 

In the old version, this was suppose to show the moderaters how many pinding or open reports, and when clicked to link them to forum/modcp/postreports.php
now its shown to all the members and links to forum/postreports.php

2) When clicking any thread link under forum/postreports.php it does not go to the correct link, it erases for example forum and links directly to showpost.php

3) How to turn off report emails sent to mods and admins..

Sorry updated some stuff

reg

boozehound 01-12-2006 09:27 PM

Quote:

Originally Posted by unicorn
Hi,

1)
PHP Code:

<br/><if condition="$vbulletin->openreports"><a href="postreports.php">$vbphrase[postreports_postreports]</a>:&nbsp;$vbulletin->openreports</if> 

In the old version, this was suppose to show the moderaters how many pinding or open reports, and when clicked to link them to forum/modcp/postreports.php
now its shown to all the members and links to forum/postreports.php

2) How to turn off report emails sent to mods and admins..

reg

Well it's beta :) The link is an error, I need to subsitute the modcp dir into the link. Are you sure it's showing up for non-mods? The variable in the conditional should only be true if the user is a moderator. But the emails, I'm not sure. I wanted to do this hack without making any modifications to existing files, and I can't really see an easy way at the moment to stop the emails being sent without editing reports.php

boozehound 01-12-2006 09:34 PM

Code:

<br/><if condition="$vbulletin->openreports"><a href="$modcpdir/postreports.php">$vbphrase[postreports_postreports]</a>:&nbsp;$vbulletin->openreports</if>
.. is what you want for the link in the navbar template. Zip updated.

Ghanem 01-12-2006 09:51 PM

Quote:

Originally Posted by boozehound
Well it's beta :) The link is an error, I need to subsitute the modcp dir into the link. Are you sure it's showing up for non-mods? The variable in the conditional should only be true if the user is a moderator. But the emails, I'm not sure. I wanted to do this hack without making any modifications to existing files, and I can't really see an easy way at the moment to stop the emails being sent without editing reports.php

My mistake, its not shown for members, its only to mods and admins, in addition, its only shown to forum moderator who have a pinding post report which is excellent..

The solution is working fine now but missing ?do=list :o

There is somthing else also I edited in my post after your reply..

Quote:

2) When clicking any thread link under forum/postreports.php it does not go to the correct link, it erases for example forum and links directly to showpost.php
reg

boozehound 01-12-2006 10:02 PM

Quote:

Originally Posted by unicorn
My mistake, its not shown for members, its only to mods and admins, in addition, its only shown to forum moderator who have a pinding post report which is excellent..

Yeah some of the mods on my site complained about that that's why it was included :)

Incidentally notice that this is more or less just a direct port of the old code but I am planning a more advanced version (probably not for a few weeks since I've got a major amount of rewriting to do atm) which will resolve some race conditions we've been having i.e. multiple mods attempting to deal with one report concurrently. This will probably take the form of a 'take over' button appearing on outstanding reports which (by process only, not by code because that would be nigh on impossible) will force mods into 'ownership' of reports before they deal with them, so you don't get two mods tripping over each other. Also mods not being able to touch reports from outside their forums which is quite an easy addition.
Quote:

The solution is working fine now but missing ?do=list :o
Code:

<br/><if condition="$vbulletin->openreports"><a href="$modcpdir/postreports.php?do=list">$vbphrase[postreports_postreports]</a>:&nbsp;$vbulletin->openreports</if>
;)

boozehound 01-12-2006 10:06 PM

Quote:

Originally Posted by unicorn
There is somthing else also I edited in my post after your reply..


reg

Ok, some leading slashes where they shouldn't have been. Try the updated product.

TTG 01-12-2006 10:16 PM

The code for admin / mods to see latest reported posts doesn't appear for me, just creates a gap :-

Ghanem 01-12-2006 10:18 PM

Quote:

Originally Posted by boozehound
Ok, some leading slashes where they shouldn't have been. Try the updated product.

Working fine now
Thank you so very much

boozehound 01-12-2006 10:41 PM

Quote:

Originally Posted by TTG
The code for admin / mods to see latest reported posts doesn't appear for me, just creates a gap :-

Move the <br/> into the conditional, e.g.:

Code:

<if condition="$vbulletin->openreports"><br/><a href="postreports.php">$vbphrase[postreports_postreports]</a>:&nbsp;$vbulletin->openreports</if>
The link only shows up if there are outstanding reports.

Daniel 01-13-2006 02:35 AM

Be sure to send an update when it's out of BETA, will install then :)

TTG 01-13-2006 06:39 PM

Had an error on linking back from reported post .. postreportbits template assumes forum is in root directory .. added "$vboptions[bburl]/" after any <a href and problem solved.

Might be useful for anyone experiencing the same problem.

Daniel 01-13-2006 07:46 PM

Okay, I installed it. Working nicely so far aswell. If a user has no post reports, how could I get it so it says "You have not submitted any post reports"

Spinball 01-14-2006 11:35 AM

Are you aware that there is an indential hack also just been released?
https://vborg.vbsupport.ru/showthread.php?t=104632
Just making you aware of it, like.
Anyhow, I think a useful (necessary) feature of this hack would be for a moderator to 'pick up' a reported post to deal with it to avoid more than one mod looking at the issue. With 34 moderators, I want to avoid duplication of work. Once a mod has assigned himself to the problem, they can either deal with it through to resolution or pass it on to another (more appropriate) mod.

Also I think an automated reply thanking the reporter for their assistance would be courteous gesture which would encourage them to continue helping to moderate the forums.
Thanks for your attention.

Spinball 01-14-2006 06:14 PM

Installed. Could you please put the modcp options into the admincp menu aswell?
And where isthe admincp settings page? Can't see it at all.

Edit : Also would it be possible to stop people from reporting a post if it has already been reported? A message saying 'thanks for helping the community but this post has already been reported and is being dealt with'.
Thanks

boozehound 01-15-2006 01:45 AM

Quote:

Originally Posted by Spinball
Are you aware that there is an indential hack also just been released?
https://vborg.vbsupport.ru/showthread.php?t=104632
Just making you aware of it, like.

Both usiing my code :) I gave permission for it to be ported but didn't realise it had been done already. There are some slight differences...
Quote:

Installed. Could you please put the modcp options into the admincp menu aswell?
And where isthe admincp settings page? Can't see it at all.
It is in the admincp menu if you uploaded the XML file to includes/xml. There is no 'settings' page.

VBUsers 01-15-2006 07:08 AM

great hack clicked install

pokesph 01-19-2006 04:20 AM

Looking good.. we just installed it.. nice job.

things we'd like to se in future releases include posting to a forum and switchable email (on/off) reporting.

keep up the good work :)

Spinball 01-23-2006 11:54 AM

Would this hack lead to multiple duplicate report emails being received by the moderators?
One reported post resulted in 18 identical emails being received by one moderator the other day.
And I just received 4 identical ones.
Thanks

boozehound 01-23-2006 01:10 PM

Quote:

Originally Posted by Spinball
Would this hack lead to multiple duplicate report emails being received by the moderators?
One reported post resulted in 18 identical emails being received by one moderator the other day.
And I just received 4 identical ones.
Thanks

This hack doesn't have anything to do with emails.

Megareus Rex 01-25-2006 02:52 AM

Sweet hack. Only suggestion I have is make it so clicking save in the post report admin screens saves changes to ALL reports, not just the one you clicked save on.

EDIT: Also, a way to completly delete reports would be nice :)

Daniel 01-25-2006 03:00 AM

Quote:

Originally Posted by Megareus Rex
EDIT: Also, a way to completly delete reports would be nice :)

Would be a nice feature :)

Smiry Kin's 02-08-2006 08:21 AM

is there still many problems with this??

also can you make it have a menu in the admincp?...

what about clickable report reasons - language - swearing etc etc?

reply asap plsss

TTG 02-08-2006 09:59 PM

Had to uninstall this and it has left a blank in the admincp listing .. any ideas how to remove it !?

Nutz 03-28-2006 08:01 AM

This is just what I was looking for. Thanks!

Thanks,
Mat

Kroziun 03-30-2006 03:32 PM

A feature like this should be standard in vB. Emails suck. Well done Boozehound, thanks.

Kriminal 06-08-2006 05:15 PM

Great extension!
Two questions:
1. I have a big staff (70+) and and 100.000+ users... do you know how to "flag" a post once it's been reported; in order to stop people reporting twice or more the same post?

2. The staff often discuss a report before taking actions... expert mods give advices to newbies, and the Reported post creates new thread hack is very useful for that
It creates a new thread in a staff forum, and mods discuss into it. But when I installed this, that hack stop to work. Do you know how to make working again, or include in this hack the feature of creating a new thread for each report?

Thanks in advance and sorry about my english.

BMamba 07-20-2006 04:30 PM

If some1 could add forum name column in "http://forums.slainet.com/postreports.php", then this mod would be much better.

I have many moderators, how can they now if this is the post they should moderate (each mod moderate different subforums).

I agree with Kriminal, mod should disallow to report the same topic twice.

Spinball 08-15-2006 01:12 PM

Does this hack work with 3.6?

Ghanem 08-15-2006 01:26 PM

Quote:

Originally Posted by Spinball
Does this hack work with 3.6?

Yes, with out changing any thing :)

Spinball 08-15-2006 02:34 PM

Quote:

Originally Posted by Ghanem
Yes, with out changing any thing :)

Excellent, thanks :up:

Distance 12-11-2006 02:13 PM

I just went to uninstall this and its still leaving

*[postreports_postreports]*

in the acp/modcp?

grazianno 07-17-2007 01:47 PM

where is the download link ?


All times are GMT. The time now is 06:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01446 seconds
  • Memory Usage 1,832KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete