vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Reported Posts Center (https://vborg.vbsupport.ru/showthread.php?t=53351)

filburt1 05-24-2003 10:00 PM

Reported Posts Center
 
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. :)

ap0c 05-25-2003 03:01 AM

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.

CJi 05-25-2003 04:37 AM

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:)

[high]* Chris M kicks install:p
[/high]

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

Quote:

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

Quote:

The hacker cannot guarantee to provide support for this hack.
Demanding won't help...

Boofo 05-27-2003 03:57 AM

Quote:

Today at 03:20 AM X-Fan said this in Post #17
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

Quote:

Yesterday at 03:30 AM Sebastian said this in Post #16
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

Quote:

Today at 12:57 AM Boofo said this in Post #20
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

PHP Code:

CREATE TABLE reportedpost
    
(
        
reportedpostid int(10unsigned NOT NULL auto_increment,
        
postid int(10unsigned NOT NULL default '0',
        
userid int(10unsigned NOT NULL default '0',
        
dateline int(10unsigned NOT NULL default '0',
        
comments text NOT NULL,
        
PRIMARY KEY  (reportedpostid)
    ) 
TYPE=MyISAM 

and modified report.php, created 4 new templates

PHP Code:

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:

PHP Code:

if (!$permissions['ismoderator']) show_nopermission(); 

to something like:

PHP Code:

if ($bbuserinfo['usergroupid']!=or $bbuserinfo['usergroupid']!=or $bbuserinfo['usergroupid']!=7) {
show_nopermission();
exit;



sleepbirdcyp 05-27-2003 08:21 AM

Quote:

Today at 10:00 PM Boofo said this in Post #25
You can try changing this line:

PHP Code:

if (!$permissions['ismoderator']) show_nopermission(); 

to something like:

PHP Code:

if ($bbuserinfo['usergroupid']!=or $bbuserinfo['usergroupid']!=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:

Quote:

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:

Code:

<!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:

PHP Code:

if (!$permissions['ismoderator']) show_nopermission(); 

Replace with

PHP Code:

if (!($bbuserinfo[1]['usergroupid']==|| $bbuserinfo[1]['usergroupid']==|| $bbuserinfo[1]['usergroupid']==7)) {
    
show_nopermission();
    } else { 

and over

PHP Code:

?> 

insert a

PHP Code:



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

Quote:

Originally Posted by Soccerquest
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???


All times are GMT. The time now is 02:46 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.01527 seconds
  • Memory Usage 1,824KB
  • 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
  • (1)bbcode_code_printable
  • (10)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete