Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Report Bad PM Details »»
Report Bad PM
Version: 1.0.5, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.7.x Rating:
Released: 02-07-2008 Last Update: 04-24-2008 Installs: 159
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

Report Bad PM for vB3.7
Version 1.0.5
(By Boofo)

What does this product do?
This mod will allow the member to report a bad PM to the the Admin or Mods that you choose to receive the report. It also has a setting to start a thread in the forum of your choice for PM reports. I don't use that option as I don't think it reporting PMs in threads is a very smart idea, but I know I will be asked to add it and since it was already there, I left it in.

Version Information:
Version 1.0.1 -- Initial release for vBulletin 3.7.0 beta 4.
Version 1.0.2 -- Fixed missing TABLE_PREFIX.
Version 1.0.3 -- Re-did the PM template to be more in line with default vB PMs.
Version 1.0.4 -- Re-did the e-mail template to be more in line with default vB e-mails. Fixed datamanager error if PM receiver was over their PM quota. Added reportpmlog file, available to Super Admins only, to view and manage Bad PM Reports via the Admin CP.
Version 1.0.5 -- Updated with securitytoken.

Note: This will now work with both the posbit and postbit_legacy templates. This now is set at ON on install as well as User ID 1 receiving the Bad PM reports.

Credits:
A big thank you goes out to Paul M for most of the re-write for this for 3.5.4. Also, I want to thank to cheesegrits for his invaluable help on fixing the datamanager error while using the quote tags in the PM messages and helping me put the finishing touches on this new version. Last but not least, thanks goes to Dismounted for his permission for the use of his code for the automatic button insert into the template. Thank you, sir.

Installation overview:
Products to install: (1)
Files to Upload (2)

Installation Instructions:
1. Upload the contents of the upload folder to the corresponding folders on your site.
Refresh the Admin CP and you will see PM Report Manager under Private Message Statistics in the Users drop down menu on the left.

2. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-report_badpm.xml file on your computer.

Done!
Enjoy!

NOTE: If you do not click install, you do not need support.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 02-14-2008, 01:35 AM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by youradhere4222 View Post
When reporting a PM, I changed the default red text to this:



I removed the bold and red font (to make it a bit more professional and flow across the board), and I also made the word "rules" link to my rules page.
That's very easily accomplished.

Regards Jason
Reply With Quote
  #63  
Old 02-14-2008, 02:23 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by youradhere4222 View Post
When reporting a PM, I changed the default red text to this:



I removed the bold and red font (to make it a bit more professional and flow across the board), and I also made the word "rules" link to my rules page.
Ok, sounds great! The reason I made it red and bold is so it would stand out from the report post since they both use the same type setup.
Reply With Quote
  #64  
Old 02-14-2008, 12:41 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I think the bold red is very good Boofo. Makes it clear what is expected when reporting a PM.

What a lovely hack. :P

Regards Jason
Reply With Quote
  #65  
Old 02-14-2008, 01:16 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let me know what you think of this Important Information message (in the pic). I changed the red color to the board highlight color and added some info to it.
Reply With Quote
  #66  
Old 02-14-2008, 01:38 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's good -- but as I say, it's good as it is, nice and short.

We just edit the .xml if we wanted to change it ourselves.

Regards Jason
Reply With Quote
  #67  
Old 02-14-2008, 02:52 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good point.
Reply With Quote
  #68  
Old 02-14-2008, 04:00 PM
dilbert dilbert is offline
 
Join Date: Nov 2004
Location: Boston
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, this is terrific.
When it sent the email, it also sends the BB code. Can this be removed prior to emailing?
Example:
REASON:
Quote:
test reply
Reply With Quote
  #69  
Old 02-14-2008, 04:05 PM
Yogesh Sarkar's Avatar
Yogesh Sarkar Yogesh Sarkar is offline
 
Join Date: Jan 2007
Location: New Delhi, India
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack, works perfectly in 3.6.8
Reply With Quote
  #70  
Old 02-14-2008, 04:21 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dilbert View Post
Thanks, this is terrific.
When it sent the email, it also sends the BB code. Can this be removed prior to emailing?
Example:
REASON:
No, as that is how vb's email works. It let's you know what was quoted. Just like in email notifications.

Don't forget the install button.
Reply With Quote
  #71  
Old 02-14-2008, 07:05 PM
dilbert dilbert is offline
 
Join Date: Nov 2004
Location: Boston
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
No, as that is how vb's email works. It let's you know what was quoted. Just like in email notifications.

Don't forget the install button.
Thanks for the explanation.
As for the install, does it count if it's on a test board? Once I update to 3.7, I'll likely include this modification.
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 11:55 AM.


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.04457 seconds
  • Memory Usage 2,308KB
  • 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
  • (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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete