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 11-09-2004 10:18 PM

I really need to find time to do this. :) I've been busy with moving my forums 3 times to larger and larger networks. I should have some time soon.

sully02 11-10-2004 01:39 AM

Quote:

Originally Posted by Erwin
I really need to find time to do this. :) I've been busy with moving my forums 3 times to larger and larger networks. I should have some time soon.

I know how that goes. Am I correct in assuming it is just cutting out a couple snippets of code?

bluecat 11-21-2004 10:00 PM

Quote:

Originally Posted by sully02
I know how that goes. Am I correct in assuming it is just cutting out a couple snippets of code?

That's probably a safe bet, I just can't figure out which :(

ctown 11-22-2004 10:35 PM

I tried installing this but got this error message:
Quote:

Parse error: parse error, unexpected T_VARIABLE in /home/balt/public_html/talk/report.php on line 122
Line 122 is this:
Quote:

$moderators = $DB_site->query("
Any suggestions?

The Markus 11-25-2004 09:36 PM

This is the first hack I am going to make. Im sorta lost :nervous:

In the hack it says to:

Quote:

3. Look for the phrase variable "reportbadpost" under "Email Body Text Phrases".
I cannot find Email Body Text phrases. Where is that?

peterska2 11-25-2004 09:41 PM

Quote:

Originally Posted by The Markus
This is the first hack I am going to make. Im sorta lost :nervous:

In the hack it says to:



I cannot find Email Body Text phrases. Where is that?

Go into Phrase Manager > Search in phrases

Search for reportbadpost as the variable name. Check it is in the group Email Body phrases by looking at the headings above each phrase that your search returns.

Click Edit :)

turkforum 11-26-2004 02:03 PM

is thre a way that we can diable the email but you only PM instead

Mr_Bob 11-26-2004 03:13 PM

You have a nice hack here, it will be VERY useful. I am having a bit of a ..pathetic, problem though. When I upload the newly coded report.php file I get this error when reporting:
Parse error: parse error, unexpected ';' in /home/virtual/site36/fst/var/www/html/forum/report.php on line 146

I chekced all the code around that area and it looks just fine. This is a snipet of your code as it looks in my file
PHP Code:

 // Erwin's Report Hack 
    
if (empty($mods) OR $foruminfo['options'] & $_FORUMOPTIONS['warnall'])
    (
    
// get admins if no mods or if this forum notifies all
    
$moderators $DB_site->query("
    SELECT user.email, user.languageid, user.userid
    FROM " 
TABLE_PREFIX "user AS user
    INNER JOIN " 
TABLE_PREFIX "usergroup AS usergroup USING (usergroupid)
    WHERE usergroup.adminpermissions <> 0
   "
);

    while (
$moderator $DB_site->fetch_array($moderators))
    {
    
$mods[] = $moderator;
    )
    )
 
// Erwin's Report Hack 

Sorry there is no REAL way for me to show you exactly how it looks (not a big enough edit box). But the parsings should be in the right place. Do you have any suggestions? I am not very good at PHP :) so I know this may be an obvious fix for some.

charlesk 11-28-2004 12:04 AM

Just wondering.. is this hack safe to install in vB 3.0.3? Thanks. :)

Charles

The Markus 11-28-2004 04:46 PM

Quote:

Originally Posted by peterska2
Go into Phrase Manager > Search in phrases

Search for reportbadpost as the variable name. Check it is in the group Email Body phrases by looking at the headings above each phrase that your search returns.

Click Edit :)

One hack successfully installed thanks to you!


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.01084 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (7)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