vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - vFcoders - Advanced Report System (https://vborg.vbsupport.ru/showthread.php?t=285206)

Badshah93 07-03-2012 10:00 PM

vFcoders - Advanced Report System
 
1 Attachment(s)
.::vFcoders - Advanced Report System::.

This Product enhances the functionality of vB Report System.

TESTED IN vB 4.1.x & vB 4.2.x


1. Current Features
  • Option to set pre-defined reasons for report.
  • Ajax Report Popup to report post from showthread.
  • Report tracking for the reporter.
  • Report management area accessible from the Mod CP and Admin CP
  • Full integration with notifications menu
  • Commenting / Update System.
  • Quick/Moderation links related to the reported item.
  • Uses Phrases
  • Uses vBulletin easy Product installer/updater/uninstaller
  • No Template or File Edits.

    .. and many more features will list them later.

2. Planned Features
  1. Advanced Report System For
    • Visitor Messages
    • Group Messages
    • Profile Album Pictures
    • Group Pictures
    • Picture Comments


3. Installation
  • Download and unzip vFcoders - Advanced Report System.zip file from this thread.
  • Upload all the files inside "UPLOAD" folder into your vBulletin installation directory. (where forum.php file is located)
  • Import product-advanced_report_system.xml file through Product Manager in admincp.

    Installation Complete..


Mod History:
v1.0 : 4 July 2012 : First Release.


-> Click On Mark As Installed If You Have Installed This Mod.
-> You Can Nominate it also for Mod Of The Month.
-> If u like my work, you can Donate me also.

Nirjonadda 07-04-2012 04:13 PM

My Reports Link error and report.php (Full Form)
Database error in vBulletin 4.1.10:

Invalid SQL:
SELECT report.*, rextra.dateline, rextra.reason, thread.title as posttitle FROM vbvfc_ars_report as report
LEFT JOIN vbpost ON post.postid = report.contentid
LEFT JOIN vbthread ON thread.threadid = post.threadid
LEFT JOIN vbvfc_ars_report_extra as rextra ON (rextra.reportid = report.reportid)
where report.type = 'post' AND rextra.ruserid = 1 order by rextra.dateline desc LIMIT 0, 25;

MySQL Error : Unknown column 'thread.title' in 'field list'
Error Number : 1054

Badshah93 07-04-2012 04:35 PM

1 Attachment(s)
Quote:

Originally Posted by Nirjonadda (Post 2345058)
My Reports Link error and report.php (Full Form)
Database error in vBulletin 4.1.10:

Invalid SQL:
SELECT report.*, rextra.dateline, rextra.reason, thread.title as posttitle FROM vbvfc_ars_report as report
LEFT JOIN vbpost ON post.postid = report.contentid
LEFT JOIN vbthread ON thread.threadid = post.threadid
LEFT JOIN vbvfc_ars_report_extra as rextra ON (rextra.reportid = report.reportid)
where report.type = 'post' AND rextra.ruserid = 1 order by rextra.dateline desc LIMIT 0, 25;

MySQL Error : Unknown column 'thread.title' in 'field list'
Error Number : 1054

Fixed.. download zip from first post or xml file from this post.

Nirjonadda 07-04-2012 04:50 PM

Yes it now work but have a option for My Reports Link on/off from navbar?

Badshah93 07-04-2012 04:57 PM

Quote:

Originally Posted by Nirjonadda (Post 2345069)
Yes it now work but have a option for My Reports Link on/off from navbar?

i developed this mod in vb 4.2 and in that version admin can control position of "my reports" nav link through navigation manager.
if you want to turn off my reports link

open plugin manager and disabled this plugin
Code:

vFcoders - Advanced Report System (PTC) (vB < 4.2)

Deathjam 07-04-2012 05:01 PM

i don't seem to be getting notifications of new reports

Badshah93 07-04-2012 05:10 PM

Quote:

Originally Posted by Deathjam (Post 2345071)
i don't seem to be getting notifications of new reports

Admins and Super Mod's will not get notification if report email notification is set to Moderators / None

Settings -> User Infractions & Post Reporting Options

rafiul 07-04-2012 06:15 PM

Ajax Report Popup to report post from showthread. is not working in vb 4.2. When i click its send me to send page. How to fix this? I want the small pop up box to be appeared.

Thanks for nice mod.

Badshah93 07-04-2012 06:27 PM

Quote:

Originally Posted by rafiul (Post 2345092)
Ajax Report Popup to report post from showthread. is not working in vb 4.2. When i click its send me to send page. How to fix this? I want the small pop up box to be appeared.

Thanks for nice mod.

can u see popup box when you click report button and test the mod in default skin.

tareqbd 07-04-2012 06:55 PM

Is there any chance to have options like, the posters get a notification on report. When a post is reported, the poster or thread creator will get a notification.

Badshah93 07-04-2012 07:12 PM

Quote:

Originally Posted by tareqbd (Post 2345107)
Is there any chance to have options like, the posters get a notification on report. When a post is reported, the poster or thread creator will get a notification.

i don't see any point of having that option
Reason:

Suppose i am a member of your forum and advertising some sites in my signature which is not allowed and someone reports that. If i get the notification that someone has reported about my signature, then i will immediately change it and save myself from receiving infraction. Then after few days i will again start advertising, so no point of having that option.

RobbieZ 07-04-2012 07:37 PM

Nice!

Would you consider an optional positionable button?

Ive always thought the new warning symbol isnt that notice-able after vb3, maybe postbit at the bottom somewhere!

Alex@bulletin 07-04-2012 10:20 PM

Tested and works on 4.2. Very good job :)
Guess this mod will be my next candidate for a German translation :D

:up:

EDIT:

I'd like to suggest to add the option "Warn User" to the "Useful Links" in ACP/MCP :cool:

EDIT 2:

I'd like to make another suggestion. At the moment in ACP/MCP in the category "Reason Given" there is no visible separation between the custom reasons and the additional comments by the reporter. Maybe you can improve this to make it more apparent.

Hornstar 07-05-2012 12:09 AM

If someone reports a post in section B will all mods see the notification of the report, or only mods in Section B see the notification? (Hoping the second)

trackpads 07-05-2012 02:21 AM

1 Attachment(s)
Awesome idea adn thanks.

I am having a style issue, something I have screwed up I am sure. But can you tell me what might be wrong? When I click the report icon the box is a small 2 pixel high box.

Thanks again,

-Jason

rafiul 07-05-2012 03:27 AM

Quote:

Originally Posted by trackpads (Post 2345190)
Awesome idea adn thanks.

I am having a style issue, something I have screwed up I am sure. But can you tell me what might be wrong? When I click the report icon the box is a small 2 pixel high box.

Thanks again,

-Jason

I having the same problem like him, in default skin. And on my custom style its not appearing at all.

Badshah93 07-05-2012 04:00 AM

Quote:

Originally Posted by Hornstar (Post 2345175)
If someone reports a post in section B will all mods see the notification of the report, or only mods in Section B see the notification? (Hoping the second)

only mods in Section B see the notification.
report of that post in modcp will be seen by mods of B only (plus admins and super mods)

Badshah93 07-05-2012 04:07 AM

1 Attachment(s)
Quote:

Originally Posted by trackpads (Post 2345190)
Awesome idea adn thanks.

I am having a style issue, something I have screwed up I am sure. But can you tell me what might be wrong? When I click the report icon the box is a small 2 pixel high box.

Thanks again,

-Jason

strange as javascript and css are both together so if box is showing then it should have height also.
pm me id and pass with style permission.

Quote:

Originally Posted by rafiul (Post 2345193)
I having the same problem like him, in default skin. And on my custom style its not appearing at all.

Open SHOWTHREAD TEMPLATE

Add this code above </head>
Code:

{vb:raw headinclude_bottom}
Quote:

Originally Posted by RobbieZ (Post 2345126)
Nice!

Would you consider an optional positionable button?

Ive always thought the new warning symbol isnt that notice-able after vb3, maybe postbit at the bottom somewhere!

are you talking about report icon ?
to make it more visible you can add "Report" text next to report icon

open postbit & postbit_legacy template

Find:
Code:

<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}">
Replace it with
Code:

<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}">Report

Sage Knight 07-05-2012 04:15 AM

This seems really interesting. Thanks :)

tareqbd 07-05-2012 03:18 PM

I am using vb4.1.3 PL8, after submitting the report a blank page opens /report.php?do=sendemail2, the page doesn't show anything at all. again in my report it doesn't show any report or report status.

Badshah93 07-05-2012 03:28 PM

Quote:

Originally Posted by tareqbd (Post 2345289)
I am using vb4.1.3 PL8, after submitting the report a blank page opens /report.php?do=sendemail2, the page doesn't show anything at all. again in my report it doesn't show any report or report status.

vB 4.1.0 - vB 4.1.4 doesn't have one hook which this mod needs.
you will need to do a file edit

open class_reportitem.php inside includes folder

Find:
Code:

$this->set_reportinfo($reportinfo);
                $this->set_reportinfo_commonlinks($reportinfo);

Add Below:

Code:

($hook = vBulletinHook::fetch_hook('report_do_report')) ? eval($hook) : false;

tareqbd 07-05-2012 03:35 PM

1 Attachment(s)
Quote:

Originally Posted by Badshah93 (Post 2345293)
vB 4.1.0 - vB 4.1.4 doesn't have one hook which this mod needs.
you will need to do a file edit

open class_reportitem.php inside includes folder

Find:
Code:

$this->set_reportinfo($reportinfo);
                $this->set_reportinfo_commonlinks($reportinfo);

Add Below:

Code:

($hook = vBulletinHook::fetch_hook('report_do_report')) ? eval($hook) : false;

added as u said but now after clicking on report button it shows
"Parse error: syntax error, unexpected $end in /home/*******/public_html/includes/class_reportitem.php on line 308"

Badshah93 07-05-2012 04:06 PM

Quote:

Originally Posted by tareqbd (Post 2345300)
added as u said but now after clicking on report button it shows
"Parse error: syntax error, unexpected $end in /home/*******/public_html/includes/class_reportitem.php on line 308"

hmm, i just tried it in vb 4.1.3 and that edit did the trick although redirect is not working but reports are getting created.

edit the file in your pc (not in cpanel) and upload it through ftp software.

tareqbd 07-05-2012 04:27 PM

Sorry tried that too but not worked.
anymore solution please?

Alex@bulletin 07-09-2012 08:28 PM

1 Attachment(s)
Hai folks.

As I promised I got a German translation for you.

It is a BETA version, as I got to tell some issues to the Developer of the mod
(see next post)

Alex@bulletin 07-09-2012 09:19 PM

1 Attachment(s)
Hey Coder,

I got some problems with my translation, I show the texts I couldn't translate (missing phrases, maybe additionally mistakes I did) on some screenshots (red marked areas are important):

Screenshot 1:

https://vborg.vbsupport.ru/attachmen...1&d=1341871659

Hmm I guess this are phrases, that should be included in vBulletin but they stay in English on my page for some reason :(

---------------------------------

Screenshot 2:

https://vborg.vbsupport.ru/attachmen...1&d=1341871764

Also some phrases that stay in English. Strange for me are the "Open", "In Progress" and "Close" phrases. I translated them and they work on the front page (see screenshots 3 & 4) but not in the ACP/MCP. :confused:

---------------------------------

Screenshot 3 & 4

https://vborg.vbsupport.ru/attachmen...1&d=1341871859

https://vborg.vbsupport.ru/attachmen...1&d=1341871859

The last aspects I wasn't able to translate. Please note especially the Mouse Over, that couldn't be translated properly.

---------------------------------

As I said, maybe I configured something wrong in my AdminCP and that's why some phrases (especially that ones that are included in the regular VB) stay in English.

But it would be kind if you could check the problems I reported now for me.
Maybe you can tell me what I did wrong....
Thanks :)
After this I'm gonna upload my translation on the official german vb-homepage, )

Alex

ssslippy 07-15-2012 05:12 AM

Is there a converter for pedros post report mod?

ssslippy 07-17-2012 01:30 AM

Move Post and Delete Post do not work gives error of "You did not select any posts to which the action you picked can be applied."
Also the last Updated by date is broken. Says 31/12/1969 @ 19:00

Also could really use an issue infraction button.

qpurser 07-17-2012 09:46 AM

Great Mod. Thank you.
Makes life so much easier.

I would like to change one thing but can't figure out what template to edit:
When I get a "notification" about a reported post and click on the link the admin/modcp opens in the same window/tab. I would rather have the page show up in a "new" tab/window".
Can you give me hint what template to edit?

thanks so much
Michael

Alex@bulletin 07-17-2012 04:37 PM

Quote:

Originally Posted by ssslippy (Post 2348819)
Move Post and Delete Post do not work gives error of "You did not select any posts to which the action you picked can be applied."
Also the last Updated by date is broken. Says 31/12/1969 @ 19:00

I can confirm that issue. It doesn't always arise but sometimes. I don't know why :( sorry.

Badshah93 07-17-2012 05:15 PM

Quote:

Originally Posted by ssslippy (Post 2348819)
Move Post and Delete Post do not work gives error of "You did not select any posts to which the action you picked can be applied."
Also the last Updated by date is broken. Says 31/12/1969 @ 19:00

Also could really use an issue infraction button.

Maybe that post is already deleted by any moderator of your forum.

solohdes 07-17-2012 09:28 PM

Ajax popup is not working on 4.1.5. I don't have default skin.

BaanFarsang 07-19-2012 04:38 PM

Worked fine on v4.2.0

luccss 07-21-2012 06:45 PM

I wonder where I could add the code to show the area reported (Fórum $reportinfo[forumtitle])

Mukashi 07-22-2012 01:09 AM

The AJAX pop-up doesn't seem to be working on my test forum installation. Anything which might be preventing that there? Everything else about the mod seems to work fine.

Badshah93 07-22-2012 03:17 PM

Quote:

Originally Posted by Mukashi (Post 2350305)
The AJAX pop-up doesn't seem to be working on my test forum installation. Anything which might be preventing that there? Everything else about the mod seems to work fine.

Open showthread template and add this code just above </head>

Code:

$headinclude_bottom

ssslippy 07-23-2012 04:33 AM

Quote:

Originally Posted by Badshah93 (Post 2349026)
Maybe that post is already deleted by any moderator of your forum.

This is on a test forum running 4.2.0. The issue is the post is not highlighted and you are just activating the JavaScript.

Mukashi 07-23-2012 12:07 PM

Quote:

Originally Posted by Badshah93 (Post 2350451)
Open showthread template and add this code just above </head>

Code:

$headinclude_bottom

There's already a
Code:

{vb:raw headinclude_bottom}
right before the </head>. Shouldn't that already be doing that?

EDIT: Adding the $headinclude_bottom right before the </head> hasn't fixed the problem. =/

Alfa1 07-25-2012 12:01 PM

Please add:
- report reputation
- notifications for reports
- infract from report
- canned replies

DJ-Dez 07-31-2012 10:50 AM

It's a shame. I'm getting adminfunction errors on my other plugin "Yet Another Awards System" on line 1922. It's a shame, I had to uninstall this wondeful plugin.


All times are GMT. The time now is 06:27 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.01533 seconds
  • Memory Usage 1,849KB
  • 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
  • (11)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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