vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Report Manager 2.0 (Admin CP) - Report to Email, PM, Staff Forum as a new Thread! (https://vborg.vbsupport.ru/showthread.php?t=59709)

Erwin 12-06-2004 10:26 PM

Quote:

Originally Posted by Erwin
I'm missing a closing tag it seems - must have missed it since I coded this off the top of my head.

Above the LAST:

// Erwin's Report Hack

Add another:

}

See if that fixes it.

I'm an idiot.

Add 2 }

So above the LAST:

// Erwin's Report Hack

Add 2 closing tags:

}
}

In total there should be 3 closing tags above the comment.

See if that works. :)

Moparx 12-06-2004 10:27 PM

that fixed it.. :)

Erwin 12-06-2004 10:34 PM

Quote:

Originally Posted by Moparx
that fixed it.. :)

Step (e) was the problem - I told you to find the wrong code, and do the wrong thing to it.

I've fixed the install.html file.

NOTE: If you installed the hack and get an error - what I would do is to start with a FRESH report.php file, and redo the code changes AGAIN.

This is because in step (e) I told you to find the wrong code - I have removed the vbmail function which should not be removed.

So if you downloaded the install.html file BEFORE this post, I suggest doing it again, and then reinstalling with a fresh REPORT.PHP file. No need to run the installer again though or do the phrase changes.

Erwin 12-06-2004 10:37 PM

I repeat, even if adding the 3 closing tags fixes your problem, your report.php may be missing 1 line that ends the vbmail function. :) So I suggest re-downloading the updated install.html and redoing just the code changes to a fresh report.php just to be safe. :)

rh2004 12-06-2004 11:40 PM

Hi it works but when you receive a PM its just blank...

The emails send ok, and the forum posts fine too :squareeyed: :nervous: :nervous:

Erwin 12-07-2004 12:00 AM

Quote:

Originally Posted by rh2004
Hi it works but when you receive a PM its just blank...

The emails send ok, and the forum posts fine too :squareeyed: :nervous: :nervous:

I see the problem - it happens when you switch OFF threads but turn ON PMs.

To fix this,

1.In report.php find:

PHP Code:

eval(fetch_email_phrases('reportbadpost'));
$message convert_url_to_bbcode($message); 

CUT it out and MOVE it to ABOVE this:

PHP Code:

if ($vboptions['vbreportthread'] == '1') { 

2. Then find:

PHP Code:

$today vbdate('m-d-Y'TIMENOWfalsefalse); 

Also, CUT it out and MOVE it to ABOVE this:

PHP Code:

if ($vboptions['vbreportthread'] == '1') { 

That will fix it. You will also get the DATE in the title of your PMs even if you switch Threads off.

I've updated the ZIP file.

Erwin 12-07-2004 12:10 AM

As far as I can tell, the current ZIP file has all the bug fixes. :) Sorry about the bugs - I added the new features quickly and didn't have time to test them out out extensively.

Things should work properly now.

rh2004 12-07-2004 01:06 AM

Thanks for all the help its working now :)

The Markus 12-07-2004 04:49 PM

Quote:

Originally Posted by Erwin
As far as I can tell, the current ZIP file has all the bug fixes. :) Sorry about the bugs - I added the new features quickly and didn't have time to test them out out extensively.

Things should work properly now.

What does it mean, install it over a clean report.php?

I installed the one before you updated it, and am somehwhat of an amature at the moment.

Erwin 12-07-2004 06:42 PM

Quote:

Originally Posted by The Markus
What does it mean, install it over a clean report.php?

I installed the one before you updated it, and am somehwhat of an amature at the moment.

Reinstall the hack into an unhacked report.php.


All times are GMT. The time now is 01:12 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.01231 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (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