Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #12  
Old 02-08-2008, 04:41 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@NeuroLancer - Then your postbit is changed from the code it is looking for. You will have to do a manual edit or revert the template first.

@ChurchMedia - The updated fix is now in the first post. Thanks for catching that. I had the TABLE_PREFIX on the uninstall code, just not the install code.
Reply With Quote
  #13  
Old 02-08-2008, 05:04 PM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have done revert all on default template, then reinstall, still not showing up.. (yea ive turned it on in options )

Actually ive found the problem, it works in postbit but not with postbit legacy
Reply With Quote
  #14  
Old 02-08-2008, 05:50 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 NeuroLancer View Post
I have done revert all on default template, then reinstall, still not showing up.. (yea ive turned it on in options )

Actually ive found the problem, it works in postbit but not with postbit legacy
You are absolutely right. I didn't even think of that as I only use the postbit. Is your postbit_legacy modified usually?

I will update the first thread with this info until we figure out how to handle it. I'm not sure if I can do 2 string replacements in the same xml and get away with it. I'm new at that stuff yet.
Reply With Quote
  #15  
Old 02-08-2008, 09:02 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

You're very welcome.

How have you been? Holding down the fort?
Reply With Quote
  #17  
Old 02-08-2008, 09:46 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the port Boofo. This should be a built in feature
Reply With Quote
  #18  
Old 02-08-2008, 10:15 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, there's a big discussion about it on the com. I wouldn't be surprised if we get a stripped down version in one of the future vb releases.
Reply With Quote
  #19  
Old 02-09-2008, 01:56 AM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The legacy version works great

This may seem like splitting hairs here but how do i get the report button to appear on the right side of the user online image instead of the left side?
Reply With Quote
  #20  
Old 02-09-2008, 02:03 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 NeuroLancer View Post
The legacy version works great

This may seem like splitting hairs here but how do i get the report button to appear on the right side of the user online image instead of the left side?
I will take a look at it and see what I can figure out. I need the exact code before and after where you want it from the default template and about 8 more beers and we should be all set.
Reply With Quote
  #21  
Old 02-09-2008, 03:50 AM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah ok I don't know what that code would be lol .... thanks for all your mods they're great mate.

Off topic: 8 more beers? lol, makes no sense there's 6 in a sixpack, might as well get you 12. Come over to Australia and we'll do a carton challenge
Reply With Quote
Reply

Thread Tools

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 05:28 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.07649 seconds
  • Memory Usage 2,303KB
  • 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
  • (2)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
  • (1)pagenav_pagelinkrel
  • (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