PDA

View Full Version : Report stats


Terrablade
12-12-2013, 08:34 PM
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/showthread.php?t=309469&highlight=report

https://vborg.vbsupport.ru/showthread.php?t=205087&highlight=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
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.