View Full Version : Reported Posts Center
filburt1
05-24-2003, 10:00 PM
This hack gives vB one major thing that it's been missing: a central location to manage reported posts. Every time a post is reported, it will show up in the RPC. Moderators can then mark them as resolved.
filburt1
05-25-2003, 02:35 AM
Screenshot:
Kriek
05-25-2003, 02:37 AM
Bravo. That's exellent!
kaotic
05-25-2003, 02:56 AM
Excellent indeed. Thanks for the new modifications. :)
very well done, thanks
slight edit: would it be possible to archive the contents after a decision is made so admins can keep track of what the moderators did?
Koutaru
05-25-2003, 03:21 AM
Will install -- nice Filburt!
Does this allow users to report themselves? -- and if yes how can I not allow that?
Crazy Pete
05-25-2003, 03:42 AM
Nice one! Installed.
My, this has potential :) Nice work. Will install a bit later on when I get 5 minutes.
gwhooooey
05-25-2003, 05:32 AM
Couldn't you have it so there's a link in the mod cp to it as well?
Just to make it simpler I guess https://vborg.vbsupport.ru/
Chris M
05-25-2003, 09:38 AM
Nice idea filby:)
* Chris M kicks install:p
Satan
assassingod
05-25-2003, 09:43 AM
Yeah, it's great. Good Job;)
Dean C
05-25-2003, 05:19 PM
What a fantastic idea :)!
Floris
05-25-2003, 10:51 PM
Good job there filbert1
Erwin
05-26-2003, 12:04 AM
Very cool. What I have at my forums is every post report creates a new thread in my moderator forum - if that report is done, the thread is moved to our finished forum by clicking a button. But this idea is nice too. Well done.
sleepbirdcyp
05-26-2003, 03:20 AM
why my mods cant see the reportedposts.php ?
only admin can see!
Sebastian
05-26-2003, 06:30 AM
filburt, Great Hack.
Can you list some of the tables this alters, if any, .. and which files are modified? Thanks.
X-Fan
05-26-2003, 07:20 AM
Yeah, I'd also like to see this enabled for mods as well as admins, please.
sleepbirdcyp
05-27-2003, 03:47 AM
Yeah, I'd also like to see this enabled for mods as well as admins, please.
filburt1 come on
help us
filburt1
05-27-2003, 03:48 AM
The hacker cannot guarantee to provide support for this hack.
Demanding won't help...
Boofo
05-27-2003, 03:57 AM
Today at 03:20 AM X-Fan said this in Post #17 (https://vborg.vbsupport.ru/showthread.php?postid=400098#post400098)
Yeah, I'd also like to see this enabled for mods as well as admins, please.
If they are the moderator of that forum, they should be able to see it, too, if I read the code right. If they are not, they really have no business seeing it. ;)
filburt1
05-27-2003, 03:58 AM
Yesterday at 03:30 AM Sebastian said this in Post #16 (https://vborg.vbsupport.ru/showthread.php?postid=400093#post400093)
filburt, Great Hack.
Can you list some of the tables this alters, if any, .. and which files are modified? Thanks.
One table creation, only report.php (IIRC) modified.
filburt1
05-27-2003, 03:59 AM
Today at 12:57 AM Boofo said this in Post #20 (https://vborg.vbsupport.ru/showthread.php?postid=400444#post400444)
If they are the moderator of that forum, they should be able to see it, too, if I read the code right. If they are not, they really have no business seeing it. ;)
I'm guessing I did it correctly. Make sure the user in question is the moderator usergroup instead of just assigned as a moderator (an annoying problem with vB).
Boofo
05-27-2003, 04:19 AM
You did it right with the "if (!$permissions['ismoderator']) show_nopermission();" line. I always put them in the Moderators Usergroup before I assign them any forums, just to be safe.
sleepbirdcyp
05-27-2003, 07:55 AM
I didnt run the install_rpc.php
I just created a table
CREATE TABLE reportedpost
(
reportedpostid int(10) unsigned NOT NULL auto_increment,
postid int(10) unsigned NOT NULL default '0',
userid int(10) unsigned NOT NULL default '0',
dateline int(10) unsigned NOT NULL default '0',
comments text NOT NULL,
PRIMARY KEY (reportedpostid)
) TYPE=MyISAM
and modified report.php, created 4 new templates
error_postalreadyreported
reportedposts
reportedposts_bit
reportedposts_emptybit
my mods really cant see the report center! :dead:
is there anything i didnt to do?
Boofo
05-27-2003, 08:00 AM
You can try changing this line:
if (!$permissions['ismoderator']) show_nopermission();
to something like:
if ($bbuserinfo['usergroupid']!=5 or $bbuserinfo['usergroupid']!=6 or $bbuserinfo['usergroupid']!=7) {
show_nopermission();
exit;
}
sleepbirdcyp
05-27-2003, 08:21 AM
Today at 10:00 PM Boofo said this in Post #25 (https://vborg.vbsupport.ru/showthread.php?postid=400489#post400489)
You can try changing this line:
if (!$permissions['ismoderator']) show_nopermission();
to something like:
if ($bbuserinfo['usergroupid']!=5 or $bbuserinfo['usergroupid']!=6 or $bbuserinfo['usergroupid']!=7) {
show_nopermission();
exit;
}
mods still cant access reportedposts.php
:cry: :cry: :cry: :cry:
Boofo
05-27-2003, 08:23 AM
The code you needed to change is in that file at the top. Did you change it there?
sleepbirdcyp
05-27-2003, 08:27 AM
open the reportedposts.php
find
if (!$permissions['ismoderator']) show_nopermission();
and replaced with
if ($bbuserinfo['usergroupid']!=5 or $bbuserinfo['usergroupid']!=6 or $bbuserinfo['usergroupid']!=7) {
show_nopermission();
exit;
}
I do! and also check them usergroupid are 5,6,7
but.....................
:(
TheLab
05-27-2003, 09:42 AM
i didnt change nothing in the code... and everything works great. All moderators can see the reported post center. I just have one question. How can i add a link of that in the Admin panel at Vbulletin options? I tried to edit the /admin/options.php but didnt find any other link there.
Thanks in advance ;)
discussfitness
06-22-2003, 09:48 PM
filburt1
I'm using an unhacked vB2.3.0 and I followed this instruction:
1. Upload install_rpc.php and the entire folder templates_reportedpostscenter to your forums' admin directory and run install_rpc.php.
When I run install_rpc.php I just get a blank page, with nothing on it. I view the source and all I see is this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
I checked the database and no tables were created.
What's going on? Cheers.
Mr. Brian
06-26-2003, 10:16 PM
Very cool..
*Installed*
discussfitness
07-07-2003, 05:49 PM
Any ideas, is this supported any more?
filburt1
07-07-2003, 05:50 PM
It is not supported and never was.
discussfitness
07-07-2003, 08:18 PM
filburt managed to install it now, but having same issues with the moderators not being able to view it. I tried your solution, but also couldn't get it to work. Any ideas? Pretty please ;)
Prankster
09-20-2003, 01:05 PM
So for the people, where the moderators can`t see the report center.
We have do a workaround and here is the Solution
in reportedposts.php
find:
if (!$permissions['ismoderator']) show_nopermission();
Replace with
if (!($bbuserinfo[1]['usergroupid']==5 || $bbuserinfo[1]['usergroupid']==6 || $bbuserinfo[1]['usergroupid']==7)) {
show_nopermission();
} else {
and over
?>
insert a
}
it is sufficient, if the moderators have the status of a moderator.
The Moderators aren`t moderate a forum.
devilish
10-19-2003, 04:44 PM
Verry nice hack m8 :)
installing went quick, it takes a while before my server updates the files but i think its working
tx :)
MaDCaT75
10-20-2003, 04:29 AM
This may sound stupid but how do I get to the RPC?
Eagle Creek
06-19-2004, 02:24 PM
Does it work on 3.0.1?
Eagle Creek
06-19-2004, 02:42 PM
Does it work on 3.0.1?
No it doesn't....
Can somebody make a compabtible hack? It's very very usefull...
dutchbb
06-26-2004, 09:16 AM
Hm ... "You need to upload this file to your forums' admin directory, then run it."
It is already there???
Eagle Creek
08-20-2004, 09:48 AM
Is there already a 3.0.3 version?
pdatoon
09-19-2004, 10:58 PM
if that report is done, the thread is moved to our finished forum by clicking a button. But this idea is nice too. Well done.
Hello Erwin,
Can you share how did you accomplish that? Much appreciated ! :)
GregFromWASP
10-17-2004, 04:53 AM
2 minute install, the directions could be clearer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4. Replace the entire template email_reportbadpost with:
$bbuserinfo[username] (mailto:$bbuserinfo[email]) has reported this post $post[title] ($bburl/showthread.php?postid=$postid#post$post[postid]) in the thread "$thread[title]" ($bburl/showthread.php?threadid=$thread[threadid]). $bbuserinfo[username] said:
"$reason"
This message has been sent to all moderators of this forum, or all administrators if there are no moderators.
To handle this post, go to $bburl/reportedposts.php .
Done.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I copied all the way to just before "done".
Also, Dont really get how to use it? So I just made a hyper link to .com/reportedposts.php . So it will open a new page, that page being the report center.
Although im having more than one problem right now, my moderators can not view it, and they are in the user group "Moderators".
Ill read the other posts above mine, and see if they will help.
Thanks for the mod/hack w/e :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.