vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Report stats (https://vborg.vbsupport.ru/showthread.php?t=305803)

Terrablade 12-12-2013 08:34 PM

Report stats
 
I want to know if anyone can make a hack that would add a little stats ( anywhere ) of the users that report dead links.

Lets say I have a dead link of a picture, the users click on the dead report button. It automatically goes to the reported posts section BUT i want to have it also create a stat that shows how many dead links X user has reported in a month.

I want to give prices monthly to the top reporter each month but i need it sorted out like I explained.

Thanks!

Terrablade 12-19-2013 10:35 AM

Anyone? Come on at least some suggestions!

kh99 12-20-2013 03:15 PM

Well, if your "dead report" button is a mod, then you could probably add code to it to record the report. Maybe add a column to the user table and add one to that column every time. But I suppose you'd need some way to let a moderator verify it first, or at least cancel out a report, so that starts to get more complicated.

Terrablade 12-25-2013 10:26 PM

kh99
I have a "dead report" mod that does this.

https://vborg.vbsupport.ru/external/2013/12/11.jpg

I just need something that catches the name of the reporters and puts them in a column or something and shows how many reports suchs person has made in a month.

Btw the mod sends the report to the reports section for moderators to take action!

Terrablade 05-15-2014 08:09 PM

Anyone?

blind-eddie 05-15-2014 09:28 PM

I did a search above for "report", 3.8 Mods, Title Only,...

https://vborg.vbsupport.ru/showthrea...ghlight=report

https://vborg.vbsupport.ru/showthrea...ghlight=report

mokujin 05-16-2014 10:18 AM

You should create a new mysql table with userid and dateline fields, then add a new hook for report_complete (similar to that). At the end, create a new page with filter by month/date/or year with report records, so easily ... :D

Terrablade 05-16-2014 06:45 PM

Quote:

Originally Posted by mokujin (Post 2498020)
You should create a new mysql table with userid and dateline fields, then add a new hook for report_complete (similar to that). At the end, create a new page with filter by month/date/or year with report records, so easily ... :D

If i were a coder i would of understood all that haha.. but nop i didnt.


All times are GMT. The time now is 05:26 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.01124 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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