Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vFcoders - Advanced Report System Details »»
vFcoders - Advanced Report System
Version: 1.00, by Badshah93 Badshah93 is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Moderators Functions - Version: 4.1.x Rating:
Released: 07-03-2012 Last Update: 07-03-2012 Installs: 162
DB Changes Uses Plugins Auto-Templates
Code Changes Additional Files  
No support by the author.

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

Download Now

File Type: zip vFcoders - Advanced Report System.zip (22.9 KB, 907 views)

Screenshots

File Type: jpg My Reports Page.jpg (64.7 KB, 0 views)
File Type: jpg Open Reports Page.jpg (99.4 KB, 0 views)
File Type: jpg Report Page.jpg (56.0 KB, 0 views)
File Type: jpg Report popup to report post from showthread.jpg (65.5 KB, 0 views)
File Type: jpg Report Reason Admincp Page.jpg (69.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
9 благодарности(ей) от:
babyv0x, Bubble #5, EliasAlucard, emath, eTiKeT?, kizy, nacaruncr, SaN-DeeP, sodasusu

Comments
  #52  
Old 09-08-2012, 09:27 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trackpads View Post
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 found out why... the plugin didn't import properly so I had to manually edit the templates

edit vfc_ars_reportbitajax and replace with

Code:
<h2 class="blockhead">{vb:rawphrase vfc_ars_report_this_post} </h2>
<div class="blockbody formcontrols">
    <div class="reportpopup">
       <div class="reportform">
            <div class="fullform"><a href="report.php?p={vb:raw postid}">{vb:rawphrase vfc_ars_full_form} ?</a></div>
              <ul id="report_reasons">
                 <vb:each from="reasons" value="reason" key="reason_name">
                  <li><label for="{vb:raw reason_name}"><input type="checkbox" name="report_reasons[]" value="{vb:raw reason_name}" id="{vb:raw reason_name}" tabindex="1" /> {vb:raw reason.title} <vb:if condition="$reason['required'] == 1">(*)</vb:if></label></li>
                 </vb:each>
              </ul>
            <div class="reasonbox">
              <textarea class="primary textbox" style="width:100%;" name="reason" autocomplete="off" placeholder="{vb:rawphrase vfc_ars_specify_report_reason}" id="report_reason_{vb:raw postid}"></textarea>
           </div>
                
      <div class="report-buttons blockfoot actionbuttons">
	  <div class="group" style="text-align: center;">
                <input type="hidden" name="postid" value="{vb:raw postid}"> 		
		<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
		<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
		<input type="hidden" name="do" value="sendemail2" />
		
		<input type="submit" class="button" value="{vb:rawphrase send_report}" tabindex="1" accesskey="s" />
		<input type="reset" class="button" value="{vb:rawphrase reset_fields}" tabindex="1" />
          </div>
      </div>

    </div>
        
     <img src="images/misc/progress3.gif" class="progress3">

   </div>
</div>
Reply With Quote
  #53  
Old 09-09-2012, 12:31 AM
deadlySniper deadlySniper is offline
 
Join Date: Dec 2008
Location: New York
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting this error for some reason

Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/content/63/9570563/html/forums/modcp/ars_report.php on line 193
Reply With Quote
  #54  
Old 09-09-2012, 10:17 AM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by deadlySniper View Post
I am getting this error for some reason

Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/content/63/9570563/html/forums/modcp/ars_report.php on line 193
What version of php are you using?


#update

fix is easy

replace in modcp/ars_report.php

Code:
			$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
with

Code:
			$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());
Reply With Quote
  #55  
Old 09-09-2012, 11:49 AM
pachel pachel is offline
 
Join Date: Dec 2007
Location: Netherlands
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed but getting these errors:

Quote:
Warning: Invalid argument supplied for foreach() in [path]/includes/class_bootstrap.php(996) : eval()'d code on line 6

Warning: Invalid argument supplied for foreach() in [path]/includes/class_bootstrap.php(996) : eval()'d code on line 6

Warning: Invalid argument supplied for foreach() in [path]/includes/class_bootstrap.php(996) : eval()'d code on line 6
removed files and uninstalled plugin but errors persist. VBulletin 4.2
Reply With Quote
  #56  
Old 09-09-2012, 01:37 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've edited the code so that it the "my reports" only displays for the registered members and not staff, to fix update the following plugin;

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

Code:
if ("!is_member_of($bbuserinfo, x,x,x)" AND $vbulletin->versionnumber < '4.2.0')
{
   $template_hook['navbar_end'] .= "<li><a href=\"misc.php?do=myreports\">" . $vbphrase['vfc_ars_myreports'] . "</a></li>";
}
Replace the x with the usergroups you want it displayed to or alternatively you can select which usergroups you dont want it displayed to.

Code:
if ("is_member_of($bbuserinfo, x,x,x)" AND $vbulletin->versionnumber < '4.2.0')
{
   $template_hook['navbar_end'] .= "<li><a href=\"misc.php?do=myreports\">" . $vbphrase['vfc_ars_myreports'] . "</a></li>";
}
Reply With Quote
  #57  
Old 09-09-2012, 03:36 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pachel View Post
Installed but getting these errors:



removed files and uninstalled plugin but errors persist. VBulletin 4.2
this works with 4.2.0 pl2 with no issues
Reply With Quote
  #58  
Old 09-09-2012, 05:39 PM
pachel pachel is offline
 
Join Date: Dec 2007
Location: Netherlands
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by simonhind View Post
this works with 4.2.0 pl2 with no issues
Why does my forum chrash with installing it on the same vb version?

Edit: sorry it just appeared with your plugin but now I see the true cause...
Reply With Quote
  #59  
Old 09-10-2012, 12:06 AM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this an issue? In admincp and modcp, I can only view the first page of reports (2 most recent ones). If I try to go to the next page to view more, the page is blank.

My vB version is 4.2.0 pl2
Reply With Quote
  #60  
Old 09-10-2012, 06:08 AM
deadlySniper deadlySniper is offline
 
Join Date: Dec 2008
Location: New York
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using PHP Version 5.3.14

It shows that there are two reported posts but I cannot seem them after the fix you posted
Reply With Quote
  #61  
Old 09-10-2012, 10:42 AM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

advice for the auther, use a frame for the reported post content since large reports take up a stupid amount of space.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:26 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.08536 seconds
  • Memory Usage 2,365KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete