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)

pokesph 11-29-2004 03:47 PM

ok hmmm did this hack in 3.0.3,, seems to have gone in fine EXCEPT one little thing.. now the report post icon / link is gone.... any ideas??

linkage: http://pokecommunity.com/showthread....ewpost&t=23623

edit: Nevermind.. seems I can't report my own posts, lol

*clicks install*

WoodiE 11-30-2004 11:08 PM

I too would be interested in this ONLY creating the thread, and NOT sending out a PM or email!

-Michael

WoodiE 12-05-2004 04:57 PM

Has anyone been able to make this ONLY create a thread in a certain forum?

-Michael

Erwin 12-05-2004 09:51 PM

Quote:

Originally Posted by WoodiE
Has anyone been able to make this ONLY create a thread in a certain forum?


-Michael

I promise I will post an update to this hack to do this. :)

Erwin 12-06-2004 10:51 AM

Update Version 2.0

1. Added Admin CP support - choose to switch on and off each notification method. Also specify your Staff Forum ID in Admin CP.

2. Added more info to the THREAD TITLE - now with NAME OF FORUM, USERNAME OF POSTER, AND DATE/ TIME OF REPORT!

To upgrade, it's easiest just to reinstall this hack over a CLEAN REPORT.PHP file.

Admin CP installer and install instructions in HTML file in ZIP in 1st post.

Screenshots attached. :)

Enjoy!

WebMasterAJ 12-06-2004 12:01 PM

Erwin - great hack! However, as soon as I installed this hack I get the error:

Parse error: parse error, unexpected $ in /home/fhco/public_html/boardvb2/report.php on line 246

Any ideas?

Erwin 12-06-2004 06:42 PM

Quote:

Originally Posted by WebMasterAJ
Erwin - great hack! However, as soon as I installed this hack I get the error:

Parse error: parse error, unexpected $ in /home/fhco/public_html/boardvb2/report.php on line 246

Any ideas?

What's on line 246?

rh2004 12-06-2004 07:37 PM

Hi I got that error to on line 246

Code:

        vbmail_end();

// Erwin's Report Hack
foreach ($mods AS $index => $moderator)
{
if (!empty($moderator['email']))
{
eval(fetch_email_phrases('reportbadpost', $moderator['languageid']));
if ($vboptions['vbreportemail'] == '1') {
vbmail($moderator['email'], $subject, $message);
}

if ($vboptions['vbreportpm'] == '1') {
$DB_site->query("INSERT INTO " . TABLE_PREFIX . "pm (pmtextid, userid, messageread) VALUES ($pmtextid, $moderator[userid], 0)");
$DB_site->shutdown_query("UPDATE " . TABLE_PREFIX . "user SET pmtotal=pmtotal+1, pmunread=pmunread+1 WHERE userid = $moderator[userid]");
}// Erwin's Report Hack
       
        eval(print_standard_redirect('redirect_reportthanks'));
}

/*======================================================================*\
|| ####################################################################
|| # Downloaded: 10:20, Tue Nov 30th 2004
|| # CVS: $RCSfile: report.php,v $ - $Revision: 1.47 $
|| ####################################################################
\*======================================================================*/
?>

Line 246 is

?>

WebMasterAJ 12-06-2004 08:01 PM

Same thing here... error on line 246 is ?>

Wierd...

Erwin 12-06-2004 08:42 PM

Strange posting times... it's out of order...


All times are GMT. The time now is 02:41 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.01327 seconds
  • Memory Usage 1,741KB
  • 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)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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