vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Private Messages Enhancements - Report Bad PM (https://vborg.vbsupport.ru/showthread.php?t=169989)

Boofo 02-07-2008 10:00 PM

Report Bad PM
 
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.

skrazydogz 02-08-2008 03:51 PM

is it compatible for 3.6.8 ?

NeuroLancer 02-08-2008 04:13 PM

where is the report button meant to appear? Sorry I cant find it must be going blind...

Mike-D 02-08-2008 04:15 PM

Thank you, Bob. Works flawless and perfectly as always :) Installed Nice work. Keep it up :up:

Quote:

Originally Posted by skrazydogz (Post 1438963)
is it compatible for 3.6.8 ?

Does work in 3.68 too without any problems ;)

ChurchMedia 02-08-2008 04:20 PM

Is the install code missing the TABLE_PREFIX? I'm getting a "table doesn't exist" error when trying to test it out.

Thanks for the product! It will help my members report PM spam.

Mike-D 02-08-2008 04:20 PM

Quote:

Originally Posted by NeuroLancer (Post 1438977)
where is the report button meant to appear? Sorry I cant find it must be going blind...

The button is located in the images/buttons/report.gif directory :)

Boofo 02-08-2008 04:29 PM

Quote:

Originally Posted by NeuroLancer (Post 1438977)
where is the report button meant to appear? Sorry I cant find it must be going blind...

It's in the same spot at the one in the postbit is but only in private messages. ;)

Boofo 02-08-2008 04:31 PM

Quote:

Originally Posted by ChurchMedia (Post 1438980)
Is the install code missing the TABLE_PREFIX? I'm getting a "table doesn't exist" error when trying to test it out.

Thanks for the product! It will help my members report PM spam.

You're right. I just checked it and no table prefix. I don't use one so I never noticed it. I will fix it and re-up a new one shortly. Sorry about that. I usaully check those things. ;)

NeuroLancer 02-08-2008 04:35 PM

Quote:

Originally Posted by Boofo (Post 1438986)
It's in the same spot at the one in the postbit is but only in private messages. ;)

not for me it isnt lol

I've been using another mod for report pm... a 3.6 mod... when i disable your mod, and enable the old one, the report image displays fine. If i swap them over Report Bad Pm just doesn't want to show the report image on my beta4 board.

ChurchMedia 02-08-2008 04:40 PM

Quote:

Originally Posted by Boofo (Post 1438988)
You're right. I just checked it and no table prefix. I don't use one so I never noticed it. I will fix it and re-up a new one shortly. Sorry about that. I usaully check those things. ;)

No problem! I've really been enjoying the products you've releasing. Thanks! :cool:

Boofo 02-08-2008 04:41 PM

@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. ;)

NeuroLancer 02-08-2008 05:04 PM

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 ;)

Boofo 02-08-2008 05:50 PM

Quote:

Originally Posted by NeuroLancer (Post 1439004)
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. ;)

FleaBag 02-08-2008 09:02 PM

Thanks Boofo, and welcome back. :)

Boofo 02-08-2008 09:15 PM

You're very welcome. ;)

How have you been? Holding down the fort? ;)

COBRAws 02-08-2008 09:46 PM

Thanks for the port Boofo. This should be a built in feature :D

Boofo 02-08-2008 10:15 PM

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.

NeuroLancer 02-09-2008 01:56 AM

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?

Boofo 02-09-2008 02:03 AM

Quote:

Originally Posted by NeuroLancer (Post 1439196)
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. ;)

NeuroLancer 02-09-2008 03:50 AM

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 ;)

Boofo 02-09-2008 04:24 AM

Just open up the template and look where the part is you want it to be at. ;)

I can be on a plane in 20 minutes so be careful about the invite unless you're ready to party! ;)

Mike-D 02-09-2008 09:23 AM

Quote:

Originally Posted by Boofo (Post 1439250)
I can be on a plane in 20 minutes so be careful about the invite unless you're ready to party! ;)

I'll be in TN on 4th July at the greatest Acura/Honda meeting. Maybe we can arrange to meet ya ;)

Boofo 02-09-2008 09:30 AM

Sounds like a plan, sir. I'm sure we'll talk more before then. Nobody can hide from the Boof-inator. ;)

youradhere4222 02-10-2008 12:25 AM

This works great, thanks!

By the way, what modification are you using to organize your post-bit information into a box? :)

Boofo 02-10-2008 03:06 AM

Thank you, and my own modification. ;)

youradhere4222 02-10-2008 03:14 AM

No chance of release, eh? :(

skrazydogz 02-10-2008 03:19 AM

Hello I get this SQL Mistake!

Quote:

MySQL-Fehler : Table 'd007162b.pmreportlog' doesn't exist
Fehler-Nr. : 1146

Boofo 02-10-2008 03:19 AM

Quote:

Originally Posted by youradhere4222 (Post 1439783)
No chance of release, eh? :(

Which part are you referring to? The alignment in 2 columns or the info involved in it? The info part has been released in a couple of hacks already. The alignment part is just a template modification.

Boofo 02-10-2008 03:21 AM

Quote:

Originally Posted by skrazydogz (Post 1439785)
Hello I get this SQL Mistake!

Are you using version 1.0.2 with the fix for that?

skrazydogz 02-10-2008 03:21 AM

-----------------------

skrazydogz 02-10-2008 03:23 AM

Yes i use Version 1.02 (legacy)

youradhere4222 02-10-2008 03:24 AM

Quote:

Originally Posted by Boofo (Post 1439786)
Which part are you referring to? The alignment in 2 columns or the info involved in it? The info part has been released in a couple of hacks already. The alignment part is just a template modification.

I'm referring to how your post-bit information (number of post, join date, etc) are enclosed in a box on your forum.

Boofo 02-10-2008 03:27 AM

Ok, try uninstalling the mod and reinstalling it. That should fix it for you. If you were using the first version in the beginning and updated it, it might not have remade the table.

Boofo 02-10-2008 03:29 AM

Quote:

Originally Posted by youradhere4222 (Post 1439790)
I'm referring to how your post-bit information (number of post, join date, etc) are enclosed in a box on your forum.

The box itself is just a template mod, not hack involved. ;)

youradhere4222 02-10-2008 03:29 AM

Quote:

Originally Posted by Boofo (Post 1439792)
The box itself is just a template mod, not hack involved. ;)

So you're not releasing it, or is it someone else's?

Boofo 02-10-2008 03:39 AM

It was done for my site. But I don't release template mods as I don't consider them hacks. It's really simple to do. Just do a table, and rows with the info in it. 2 td's for each row.

youradhere4222 02-10-2008 03:42 AM

Quote:

Originally Posted by Boofo (Post 1439797)
It was done for my site. But I don't release template mods as I don't consider them hacks. It's really simple to do. Just do a table, and rows with the info in it. 2 td's for each row.

I don't know how to code, so I'll make a unpaid request. :o

skrazydogz 02-10-2008 03:44 AM

ah thank you very much now it goes...

Is it possible to make an infobar for the button ?
When i go with the mouse over the button, a info line popup which called for example "report pm" ??

Boofo 02-10-2008 03:48 AM

Quote:

Originally Posted by youradhere4222 (Post 1439799)
I don't know how to code, so I'll make a unpaid request. :o

PM me and I can give you what you need to do it.

Quote:

Originally Posted by skrazydogz (Post 1439801)
ah thank you very much now it goes...

Is it possible to make an infobar for the button ?
When i go with the mouse over the button, a info line popup which called for example "report pm" ??

It should say Report Bad PM when you mouseover the icon.

skrazydogz 02-10-2008 03:52 AM

yes can you include it ?

I must translate it it german lol later


All times are GMT. The time now is 03:28 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.01244 seconds
  • Memory Usage 1,827KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete