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
  #12  
Old 09-27-2015, 02:57 AM
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.3
  • Removed unnecessary db query since needed data was already present.
Reply With Quote
  #13  
Old 09-30-2015, 10:57 PM
mapleleaffans's Avatar
mapleleaffans mapleleaffans is offline
 
Join Date: Apr 2011
Location: Toronto, ON Canada
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated! Thanks again, Mark!
Reply With Quote
Благодарность от:
MarkFL
  #14  
Old 10-01-2015, 02:57 AM
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Location: Karachi, Pakistan
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice .. this is good move
Reply With Quote
Благодарность от:
MarkFL
  #15  
Old 10-29-2015, 03:01 PM
BrettC Frontier BrettC Frontier is offline
 
Join Date: Jun 2015
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small request on this addon (de ja vu?!), could an additional select box be added in to protect particular user groups from getting reported?
Reply With Quote
Благодарность от:
Alan_SP
  #16  
Old 10-29-2015, 03:12 PM
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 BrettC Frontier View Post
Small request on this addon (de ja vu?!), could an additional select box be added in to protect particular user groups from getting reported?
Thank you for your request...I would "like" your post, but I have to like others first.

Yes, that should be easy to add and I will do so soon. :up:
Reply With Quote
  #17  
Old 10-29-2015, 04:27 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.4
  • Added the option to exclude usergroups from having their profiles reported.
Reply With Quote
Благодарность от:
Alan_SP
  #18  
Old 12-26-2015, 02:28 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice Mod Mark.

Problem to non English forums. There is no phrases to change.

* And If it had an option to have x post(global) to be able to report.
* If its easy to get code to show in postbit, under avatar or else in that section?

Reply With Quote
Благодарность от:
MarkFL
  #19  
Old 12-26-2015, 04:18 PM
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 Stratis View Post
Very nice Mod Mark.
Thank you!

Quote:
Originally Posted by Stratis View Post
Problem to non English forums. There is no phrases to change.
Yes, I have neglected to use phrasing in virtually all of my products, and I plan to fix that soon.

Quote:
Originally Posted by Stratis View Post
* And If it had an option to have x post(global) to be able to report.
I'm not sure what you mean...vBulletin already has a post reporting system.

Quote:
Originally Posted by Stratis View Post
* If its easy to get code to show in postbit, under avatar or else in that section?
What do you want to show in the postbit?
Reply With Quote
Благодарность от:
Stratis
  #20  
Old 12-26-2015, 07:13 PM
akz645 akz645 is offline
 
Join Date: Jul 2015
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Quote:
Originally Posted by Stratis View Post
* If its easy to get code to show in postbit, under avatar or else in that section?
What do you want to show in the postbit?
I think he means 'Report Profile' in the postbit section.
Example:

Quote:
Originally Posted by MarkFL View Post
Quote:
Originally Posted by Stratis View Post
* And If it had an option to have x post(global) to be able to report.
I'm not sure what you mean...vBulletin already has a post reporting system.
I think he means have an additional option in the adminCP, for admins to specify a single thread ID for where all profile reports will go into.
Edit: He meant creating a X post count requirement option to be able to report a profile.

My suggestion:
- Only certain usergroups/users picked will have their profile reports go into X thread ID.
Example: [ThreadID|UsergroupIDs; ThreadID|UsergroupIDs etc...] I.E: [4|2; 8|6,4,3;]
AND [ThreadID|UserIDs; ThreadID|UserIDs etc...] I.E: [12|56; 13|62,14,23;]

- - Should a report be created in other places too? [Yes or No]
Note: If No selected, other report thread/posts will not be created. The reports from those usergroups/users will only be created inside the thread ID the admin chose above.
Reply With Quote
Благодарность от:
Stratis
  #21  
Old 12-26-2015, 09:27 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes for the postbit section as akz645 explained better.
How many user go to others profiles?... except user profile image all options we can see them
in the postbit section. All user read threads - posts, less go to profile. That's why I asked if can include this in two places

For this "option to have x post(global) to be able to report"
I mean that if a user has X posts than only be able to make a report.
Hope I give better explanation, sorry for my bad English

Thanks both of you :up:
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:14 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.05725 seconds
  • Memory Usage 2,389KB
  • Queries Executed 29 (?)
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
  • (9)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (13)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)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