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
Profile Reporter Details »»
Profile Reporter
Version: 2.2, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.2.x Rating:
Released: 09-02-2015 Last Update: 07-30-2016 Installs: 32
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Overview:

This product is designed to allow your users to easily report various aspects of the profiles of other users. In the product settings, you can set which aspects of user profiles are shown on the report form (you can select from a list of pre-defined reasons and then add your own custom reasons), define a list of usernames which are not allowed to report profiles, prevent entire usergroups from reporting profiles and set the destination forum for the generated reports (the default is the same destination forum for reported posts). This product is compatible with my "Report Thread Prefix Management" product as well.

Upon installation a column is added to your "user" table that stores the threadid of the report thread so that all reporting of a particular user's profile will all go to the same thread. After activating and configuring the product, users will see a new link on the profile pages of users (and the report icon) which they can use to report that profile.



If a user has previously reported a certain user's profile, then the icon button changes to red and there is a tooltip advising the user they have already reported that user's profile, and in case that is missed, an alert is shown if the "Report "Profile" link is click advising the user and giving them the opportunity to cancel the operation.



By default, a user may report the profile of another user from their profile page, however there is a product setting which allows you to give your users the ability to report profile from thread postbits.



When filling out the form, if a user clicks "Submit Report" without checking any of the checkboxes, then they will be alerted that a reason must be given for reporting the profile. If the user checks the "Other" checkbox, but does not enter any text into the text box meant for giving the reason (or any other additional comments), then they are alerted that a reason must be given when selecting the "Other" option.



Then, when the form is submitted, a redirect message thanks the user for reporting the profile and advises them that the staff will deal with the issue as soon as possible. They are then returned to the profile they reported.

The details of the report are then posted to a thread in the forum you have set as the destination forum for the reports.



All users who can view the destination forum for the generated reports will also see an icon to the right of the "Report Profile" link for profiles that have previously been reported that links to the report thread, and if you are using my "Report Thread Prefix Management" product, the status of the report is included in the tooltip for that icon.



Note: If you choose a destination forum other than the default for reported posts, and you are using my "Report Thread Prefix Management" product, then you will need to use the "Forum Manager" to allow the prefix set defined by that product to be used there.

Updates:

Version 1.1
  • Additional CSS added for sites with dark styles.

A special word of thanks goes to Dave who noticed an SQL injection vulnerability and discretely called this to my attention, and offered advice on how to eliminate it.

Version 1.2
  • Data used in db queries is sanitized to prevent SQL injection.

Version 1.3
  • Removed unnecessary db query since needed data was already present.

Version 1.4
  • Added the option to exclude usergroups from having their profiles reported.

Version 1.4.5
  • Added the option to set a minimum post count before users may report profiles.

Version 1.4.6
  • Fixed minor error for online location reporting.

Version 1.5
  • Removed some CSS for colors so the StyleVars can take effect.

Version 1.6
  • Fixed bug where null thread was created when a report is posted to an existing thread.

Version 2.0
  • Fully phrased.
  • Added option to allow users to report profiles from within the postbits.
  • Link on profile done via custom template hook rather than javascript.
  • Borders on form styled with form border stylevar.
  • Settings check more efficient.

Note: Unlike in previous versions, where you selected the pre-defined reasons your users can choose from on the report form (and could add additional reasons), in version 2.0 you simply edit the product's phrase which contains a comma-delimited list of reasons. This allows you to completely customize as well as translate your reasons list.

Version 2.1:
  • Phrased all text in generated report.
  • Fixed issue where checked reasons weren't shown in the report.
  • Fixed issue with postbit icon not displaying.

Version 2.2:
  • Phrased page title.
  • Added setting choice of icon location.

Note: A special thanks goes to Stratis for reporting these issues. :up:

Compatibility:

Tested and working on VB 4.2.x and should work on all 4.x versions of vBulletin.

Backup/Warning:

This product alters your database, however it is always good practice to keep regular backups and you should backup before installing ANY new product.

To Install:
  1. Download and extract the attached .zip file.
  2. Upload the files from the "upload" folder to your root folder on your server.
  3. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  4. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  5. Click "Import."
  6. You MUST enable the product in the settings before it will function.
  7. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Profile Reporter v2.2.zip (13.9 KB, 70 views)

Screenshots

File Type: png vborgrp00.png (7.9 KB, 0 views)
File Type: png vborgrp01.png (6.9 KB, 0 views)
File Type: png vborgrp02.png (17.2 KB, 0 views)
File Type: png vborgrp03.png (8.2 KB, 0 views)
File Type: png vborgrp04.png (8.4 KB, 0 views)
File Type: png ch_postibtprofilereport.png (3.0 KB, 0 views)
File Type: jpg markfl_rp_acp.jpg (73.0 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
akz645, blind-eddie, Lynne, mapleleaffans, sdraganov, z3r0

Comments
  #2  
Old 09-03-2015, 04:33 AM
ocidas ocidas is offline
 
Join Date: Oct 2012
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good Mod, Ty!
Reply With Quote
Благодарность от:
MarkFL
  #3  
Old 09-03-2015, 04:55 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ocidas View Post
Very good Mod, Ty!
I found a small bug (wouldn't you know it?) and so I apologize, but please download it again. All you need to do is replace the .php files in your root directory.
Reply With Quote
Благодарность от:
ocidas
  #4  
Old 09-03-2015, 05:30 AM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I've wanted this functionality for so long.
Reply With Quote
Благодарность от:
MarkFL
  #5  
Old 09-03-2015, 08:47 PM
My Hattiesburg My Hattiesburg is offline
 
Join Date: Jun 2012
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There you go picking on Cletus.
Reply With Quote
  #6  
Old 09-05-2015, 11:54 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: version 1.1
  • Additional CSS added for sites with dark styles.
Reply With Quote
  #7  
Old 09-06-2015, 01:06 AM
mapleleaffans's Avatar
mapleleaffans mapleleaffans is offline
 
Join Date: Apr 2011
Location: Toronto, ON Canada
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another great mod! Thank you Mark!
Reply With Quote
Благодарность от:
MarkFL
  #8  
Old 09-14-2015, 05:37 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A special word of thanks goes to Dave who noticed an SQL injection vulnerability and discretely called this to my attention, and offered advice on how to eliminate it.

Update: version 1.2
  • Data used in db queries is sanitized to prevent SQL injection.
Reply With Quote
Благодарность от:
Alan_SP
  #9  
Old 09-14-2015, 11:01 PM
mapleleaffans's Avatar
mapleleaffans mapleleaffans is offline
 
Join Date: Apr 2011
Location: Toronto, ON Canada
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the update, Mark!
Reply With Quote
Благодарность от:
MarkFL
  #10  
Old 09-26-2015, 11:15 PM
zorcocuq zorcocuq is offline
 
Join Date: Apr 2011
Location: Izmir,Turkey
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing.
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 07:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08353 seconds
  • Memory Usage 2,361KB
  • Queries Executed 25 (?)
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
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (12)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_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