vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Alternate Reporting for 'Report Post to Moderators' (https://vborg.vbsupport.ru/showthread.php?t=60761)

the3jams 01-25-2004 10:00 PM

Alternate Reporting for 'Report Post to Moderators'
 
This is a port of my vB2 hack found here.

Instead of sending an email to the Moderators, this will generate a list in the ModCP of all reported posts. This allows all mods to view all reported posts at one time and also remove them from the list once dealt with.

Files modified: report.php (3) , modcp/index.php (1)
Files added: modcp/probreport.php

Queries: 1
Phrases: 1 (modcp link)

If you wish to still send an email with each reported post you can simply skip the first 2 changes in report.php. Those changes are simply commenting out the email code.


Due to my hectic schedule I may not be able to offer full support of this hack, but will try my best.

[edit - 01/29/04]
The probreport.php included in the attached zip file has been changed to rephrase the way reported posts are displayed. Upload the new probreport.php if you wish to apply the fix.

I have also attached a new screenshot to show this change.

Dark Shogun 01-26-2004 12:06 PM

This is a very good hack. Is it possible to also make it so that it can do the same thing for admins in the admin?

Thanks

Dark Shogun

the3jams 01-26-2004 12:12 PM

Quote:

Originally Posted by Dark Shogun
This is a very good hack. Is it possible to also make it so that it can do the same thing for admins in the admin?

Thanks

Dark Shogun

Yes you can easily add this to the admincp by finding this code in the admincp/index.php file:
Code:

        construct_nav_group($vbphrase['moderation'], '<hr />', "$df");
Add above it:
Code:

        construct_nav_option($vbphrase['reported_posts'], "probreport.php");
Then upload the probreport.php provided in the zip to your admincp dir and you're done.

Dark Shogun 01-26-2004 12:17 PM

Very coolio. Thanks. :)

Dark Shogun

MrNase 01-28-2004 04:05 AM

just a language-wise problem: can you actually report a "thread"? It's a post, isnt' it? Or did i miss a vB feature!?

the3jams 01-28-2004 06:36 PM

Quote:

Originally Posted by MrNase
just a language-wise problem: can you actually report a "thread"? It's a post, isnt' it? Or did i miss a vB feature!?

I'm not sure I understand where the problem is. Everything I have said above has referred to posts, not threads.

Broekie 01-29-2004 05:14 PM

Quote:

Originally Posted by the3jams
I'm not sure I understand where the problem is. Everything I have said above has referred to posts, not threads.

I guess he means that "has reported this thread on this post" should be "has reported this post on this thread" :)

StarBuG 01-29-2004 05:52 PM

Any chance you release this as HTL as well?

Greetings

StarBuG

the3jams 01-29-2004 06:55 PM

Quote:

Originally Posted by Broekie
I guess he means that "has reported this thread on this post" should be "has reported this post on this thread" :)

I understand now. To correct this I have updated the zip file with a new probreport.php which can be re-uploaded.
Quote:

Originally Posted by StarBuG
Any chance you release this as HTL as well?

I currently don't use HTL. If I decide to use it in the future I will convert my hacks at that time.

Sufian 01-29-2004 10:15 PM

Nice one :)


All times are GMT. The time now is 10:43 PM.

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.01248 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_code_printable
  • (5)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
  • (10)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