vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - ZH - Report PM (https://vborg.vbsupport.ru/showthread.php?t=134699)

StrifeX 01-21-2007 06:33 PM

It's still messed up severely...

It claims the array in includes/class_dm.php isn't empty and the Report PM needs a title when there is no inputbox for a title.

More specifically:

Fatal error:

* Please complete both the subject and message fields.
* Please complete both the subject and message fields.

Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 763

Ziki 01-21-2007 06:48 PM

I will get into fixing it tommorow.

Snake 01-23-2007 08:37 AM

I'm having the same problem as well.

StrifeX 01-26-2007 07:31 PM

Any luck yet Ziki?

Ziki 01-26-2007 07:43 PM

No luck yet.

kontrabass 02-05-2007 04:55 PM

Umm... I think some users (mthornback etc) in this thread are confused.

This hack enables *post reports* to be sent as PM's, right?

I think some think that this somehow allows users to report PM's to moderators.

Cyricx 02-08-2007 07:28 PM

The problem is that the code is in the wrong hook.

The hook for the plugin needs to be changed to report_send_complete

It's trying to send the PM before the code has defined what $message and $subject is!

Keep in mind, changing it to this hook location will send the PM correctly, however, it will also send an email.

Unsure if the desire is to remove the reporting emails or not.

Great hack though!! Installed!!! :)

EDIT - ah bugger... my fix works to send the pm... but the email is all screwy because it has bbcode in it :)
I'll keep fiddling with it and see if I can help out ziki :)

Ziki 02-08-2007 07:59 PM

Thank you very much because I really don't have much time fixing it.I still have more things on my head.

RFViet 02-08-2007 08:12 PM

Good idea, hope you can fix it !!

Cyricx 02-08-2007 08:26 PM

Ziki, may I have your permission to post a fix? This will send a PM and an email.

The biggest problem people will have in switchin is that instead of creating new phrases... you overwrote default phrases. So when people uninstall your product, they will LOSE the phrases that enable the email report system.

The zip I'll upload will readd the default phrases as well as add new phrases for your code.


All times are GMT. The time now is 10:03 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.01103 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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