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)

Princeton 03-05-2004 08:02 PM

great idea - great hack! :banana::banana:

heynurse 03-15-2004 05:43 AM

Quote:

Originally Posted by heynurse
Congrats on another fine Hack Erwin!

I have a couple questions/modification request to anyone.

1. Is there a way to have the contents of the reported post that is being reported to be included in the staff forum thread that is created?

2. Is it possible to have the username that is being reported to be included in the title of the thread created in the staff forum?

Thanks

Does anyone have any ideas how I can get the contents of the reported post to be inserted in the newly created thread?

Detomah 03-25-2004 12:56 AM

I've been waiting patiently for weeks for VB Gold to be released before installing this, what a great hack it is. :)

I can see this making response times for potential situations much much quicker. :)

sabret00the 03-31-2004 10:32 PM

fantastic hack went without a hitch :D

Loyalty4Life 04-04-2004 09:29 PM

Funny story. Please bear with me. :)

Well, I make all the necessary changes in Erwin's HTML document. I go to report a post on my site, and nothing happens. Well, I go to try to report a post again, and nothing happens... Then it occured to me. I never uploaded the file back to my directory! :p So I upload it, report a post, and nothing happens. Now I'm getting a bit worried. I really wanted to use this hack! It looks great.

Then it hit me, like a brick from the sky. I forgot to save my changed php file. :D I never pressed the save button!

Needless to say, I got a good, hearty laugh at the end!

* Loyalty4Life clicks install. :)

Zoints 04-05-2004 08:56 AM

Is it possible to disable all reporting means EXCEPT for the new thread in a staff forum? I only want the report to go to my staff forum, not to PM or e-mail.

Thank you kindly.

Marulatree 04-06-2004 01:21 PM

Does this work with gold and if so can someone update the instructions....

Erwin, Would it be possible so add a /switch so we could choose wether (from a admin side) we want the message to goto either PM/THREAD/EMAIL or all?

ragintajin 04-10-2004 04:39 AM

Quote:

Originally Posted by thegunowner149
Is it possible to disable all reporting means EXCEPT for the new thread in a staff forum? I only want the report to go to my staff forum, not to PM or e-mail.

Thank you kindly.

I'm interested in this too...

Erwin 04-10-2004 06:21 AM

Quote:

Originally Posted by thegunowner149
Is it possible to disable all reporting means EXCEPT for the new thread in a staff forum? I only want the report to go to my staff forum, not to PM or e-mail.

Thank you kindly.

That's not too hard to do. I just need time to add instructions.

Michael2 04-13-2004 02:34 AM

Quote:

Originally Posted by Marulatree
Does this work with gold and if so can someone update the instructions....

Erwin, Would it be possible so add a /switch so we could choose wether (from a admin side) we want the message to goto either PM/THREAD/EMAIL or all?

I just installed it on the gold version and it's working fine.

Zoints 04-14-2004 01:02 AM

Quote:

Originally Posted by Erwin
That's not too hard to do. I just need time to add instructions.

I understand what it's like to be incredibly busy :) I look forward to it when you find time. Thank you!

Reeve of shinra 04-15-2004 02:45 AM

To just have the new thread only just follow steps 1A and 1D and ignore the rest of the report.php file edits

ragintajin 04-29-2004 09:42 PM

Quote:

Originally Posted by Reeve of shinra
To just have the new thread only just follow steps 1A and 1D and ignore the rest of the report.php file edits

I tried that but the report post still sends an email to the moderators. Anyone else have luck?

xlguy 05-04-2004 11:47 AM

Quote:

Originally Posted by thegunowner149
Is it possible to disable all reporting means EXCEPT for the new thread in a staff forum? I only want the report to go to my staff forum, not to PM or e-mail.

Thank you kindly.

Yes this would be great... on my vB2.x forums I use another hack that just creates a 'ticket' (i.e. a thread) containing the post that has been reported, its contents and a link to take you directly there. I'm not sure if this hack does all of this, but even a thread in a staff forum (without the PM and e-mail) would be great.

chrisvonc 05-05-2004 12:42 PM

I too would like to raise my hand for interest in only having it create the new thread in my moderator forum. That would definatly be sweet for my use.
:)

Watson 05-20-2004 02:10 AM

works a treat, cheers

ragintajin 05-26-2004 07:58 PM

Quote:

Originally Posted by chrisvonc
I too would like to raise my hand for interest in only having it create the new thread in my moderator forum. That would definatly be sweet for my use.
:)

just a friendly bump...

Erwin 05-26-2004 10:07 PM

This is a hack that I would like to update soon - just need to find the time. :)

zetetic 06-22-2004 06:21 AM

Is it safe to assume that 10 people reporting a post is going to create 10 separate threads, and if so is there some way around that? :)

y2krazy 08-29-2004 10:39 PM

/me clicks install!

heynurse 08-30-2004 03:40 PM

This is a great hack! I would like to have the username of the author of the reported thread be put into the title of the thread that is created in the reported forum.

Quote:

For example: someone reports a user by the name of joeblow

The new thread that is created in the reported post forum is titled some thing like:
Reported Post: joeblow in XXXX forum
Does anyone know how I can do this? Thanks in advance.

venomx 09-04-2004 11:28 PM

Does this work with VB3.0.3?

ethics 10-12-2004 04:09 PM

Any updates on this, Erwin?

Lionel 10-15-2004 12:35 AM

Erwin, looking at your code, what are the chances that you do a quick and dirty for us?

Automatically create a new thread in a set forum at registration? The new member could have a text area in the registration form, giving him the option to input his own words, if empty the the generic welcome will be posted.

Erwin 10-15-2004 01:10 AM

Quote:

Originally Posted by Lionel
Erwin, looking at your code, what are the chances that you do a quick and dirty for us?

Automatically create a new thread in a set forum at registration? The new member could have a text area in the registration form, giving him the option to input his own words, if empty the the generic welcome will be posted.

That's a different hack altogether - not hard to do at all... maybe when I find time.

Lionel 10-15-2004 01:16 AM

Thanks for considering. I'll be patiently waiting. That is basically the only thing missing by me. Right now, we are creating the thread manually - the hard way-

SaN-DeeP 10-15-2004 12:13 PM

[high]* SaN-DeeP clicks install.
[/high]
Thanks for the nice work :)

Regards,

marcel-ea 10-29-2004 01:16 AM

running in vb3.0.3

thx

bluecat 11-08-2004 12:45 AM

Thanks for the mod!

I'm trying to NOT have it send a new PM and Email everytime someone reports and tried skipping step 1b. and 1c. but got errors. Can anyone tell me exactly what to change to do this (so pm's at least are not sent, but preferably both).

Thank you :)

sully02 11-09-2004 03:26 AM

Quote:

Originally Posted by bluecat
Thanks for the mod!

I'm trying to NOT have it send a new PM and Email everytime someone reports and tried skipping step 1b. and 1c. but got errors. Can anyone tell me exactly what to change to do this (so pm's at least are not sent, but preferably both).

Thank you :)

I would also like to find out how to remove the sending of private messages.

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 04:36 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.02518 seconds
  • Memory Usage 1,829KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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