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)
-   -   Reported Posts create a new thread in specified forum (https://vborg.vbsupport.ru/showthread.php?t=61363)

Xenon 02-08-2004 10:00 PM

Reported Posts create a new thread in specified forum
 
As requested several times, this Hack creates a new Thread whenever a Post has been reported.

The first Post contains the content of the reported post, as well as the reason.
The report emails are sent out as well, so this is just an addition to the vb function, not a new way of reporting.

Enjoy

Tim Wheatley 02-09-2004 06:44 PM

Excellent. :up:

gmarik 02-09-2004 06:47 PM

Good, but do people really use Report post function?

Xenon 02-09-2004 06:58 PM

They do.

at least on vb.org ^^

AN-net 02-09-2004 07:59 PM

wow been waiting for this for vb, vbulletin should definately intergrate this into vb as an option;)

colicab-d 02-09-2004 08:17 PM

thnk you another v.handy hack for my upcoming redesign :D

msimplay 02-09-2004 08:38 PM

does this work on rc2 ?

Xenon 02-09-2004 08:39 PM

it is installed on vb.org, so the answer is yes ^^

FleaBag 02-09-2004 08:51 PM

Sweet, I thought vB2 had burned out all the ideas in everyone's heads. Looks like I was wrong. :D

Xenon 02-09-2004 08:55 PM

nah, just everyone waited for vb3, to start from the hacking scratch ;)

msimplay 02-09-2004 10:22 PM

fantastic i just installed this just one of the best moderating mods i ever seen very helpful indeed

Xenon 02-09-2004 10:34 PM

Thx for the kind words :)

msimplay 02-09-2004 10:50 PM

to be honest i can't thank u enough am so glad this stuff is free and if i had money i'd just donate via paypal

Boofo 02-10-2004 04:55 AM

Great job, Stefan. Installed and working nicely. ;)

Aaron1 02-10-2004 07:40 AM

Sounds awesome Xenon! Although i am using a vbulletin 2.* version, and i have installed the (almost the same hack) you wrote here:

https://vborg.vbsupport.ru/showpost....31&postcount=2

Is there a way you could modify that hack so it shows the content of the actual reported post aswell? I am not sure if i can ask you this, if i can't, please ignore this post or delete it if you wish. :-)

Thanks!

/Aaron

Erwin 02-10-2004 07:42 AM

I released a hack that does the same thing about a month ago. :)

https://vborg.vbsupport.ru/showthrea...threadid=59709

Boofo 02-10-2004 08:01 AM

Does the first post also have a link to the reported post?

Dolby 02-10-2004 09:35 AM

Quote:

Originally Posted by Boofo
Does the first post also have a link to the reported post?

Looks like it. Reading the directions for this hack it has you make a template and it does have a link back to the thread reported in the template.

MrNase 02-10-2004 10:51 AM

well done stefan :)

this one will definatly be the first mod i install when vb3 gold is out :)

Chris|vB 02-10-2004 12:48 PM

Quote:

Originally Posted by MrNase
well done stefan :)

this one will definatly be the first mod i install when vb3 gold is out :)

Very nice...

Hack of the month maybe on this!

M1th 02-10-2004 02:08 PM

Excellent! :) I have also added the functionality to send PM to mods (with link to the reported post thread). No more emails for me. :D

Xenon 02-10-2004 04:32 PM

@Erwin: sorry, it didn't show up when i searched for...

@aaron: well, that "hack" was actually an answer to a vb2 request.
so i won't add things to it.
but it shouldn't be that hard to add the pagetext from the reported text to the new post as well :)

Vigile 02-11-2004 01:41 AM

Quote:

Originally Posted by Erwin
I released a hack that does the same thing about a month ago. :)

https://vborg.vbsupport.ru/showthrea...threadid=59709

well that answered my question.

Martin CX 02-11-2004 12:22 PM

Good job! I hope it becomes a feature in 3.1.

rinkrat 02-11-2004 08:51 PM

I pressed Install but I guess it's broken?

You don't have permission to access /forum/vborg_miscactions.php on this server.

Xenon 02-11-2004 08:55 PM

Hmm, it's working for me.

maybe just a temporarly problem.
Please try again

Aaron1 02-12-2004 05:29 AM

Quote:

Originally Posted by Xenon
@aaron: well, that "hack" was actually an answer to a vb2 request.
so i won't add things to it.
but it shouldn't be that hard to add the pagetext from the reported text to the new post as well :)

Thanks Xenon, but yes for some people it's easy to incorporate it. But unlucky for me, I am no Php magician. :-)

But i will have a look at Erwin's Vb2 version of this hack, maybe i won't need to start from scratch.

Thanks y'all! :-)

Erwin 02-12-2004 10:13 AM

Quote:

Originally Posted by Aaron1
Thanks Xenon, but yes for some people it's easy to incorporate it. But unlucky for me, I am no Php magician. :-)

But i will have a look at Erwin's Vb2 version of this hack, maybe i won't need to start from scratch.

Thanks y'all! :-)

Like I said, I released this hack for vB3 1 month ago.

I'm not sure why this hack is still around.

Xenon 02-12-2004 12:04 PM

see internal post.

we'll decide there ;)

Boofo 02-12-2004 12:16 PM

I hope this one stays, Stefan. It's the one I am using. ;)

Xenon 02-12-2004 03:21 PM

we may just combine the two threads i think, but Erwin has the last say, as his hack was first

Boofo 02-12-2004 03:43 PM

Will you be supporting yours if it is removed? Or updating it in the future?

Xenon 02-12-2004 07:14 PM

as i've installed it here, i will maybe write some upgrades form time to time, but if it's removed i won't give support for it anymore (as there wouldn't be a thread to give it ;))

ZeroZone 02-15-2004 02:57 PM

What should I edit in the report.php to disable the seding email. I just want the reported post go to Staff Forum without sending any email out

Xenon 02-15-2004 07:47 PM

you just have to outcomment the vbmail call

The Quibbler 02-16-2004 02:51 PM

Does this work in RC4?

Oh well... it's not a long hack. I might as well try it.

/me installs

Edit: works fine in RC4.

Leah 02-17-2004 12:21 PM

Quote:

Originally Posted by Xenon
you just have to outcomment the vbmail call

This might be a stupid question, but how do I do that?

squawell 02-17-2004 12:27 PM

Quote:

Originally Posted by kie
This might be a stupid question, but how do I do that?

find this
PHP Code:


vbmail_start
();

foreach (
$mods AS $index => $moderator)

{

if (!empty(
$moderator['email']))

{

eval(
fetch_email_phrases('reportbadpost'$moderator['languageid']));

vbmail($moderator['email'], $subject$message);

}

}

vbmail_end(); 

and comment it out like
PHP Code:

/*
vbmail_start();

foreach ($mods AS $index => $moderator)

{

if (!empty($moderator['email']))

{

eval(fetch_email_phrases('reportbadpost', $moderator['languageid']));

vbmail($moderator['email'], $subject, $message);

}

}

vbmail_end();
*/ 

it should works...:D

VAN 02-26-2004 04:28 AM

*fixed

Works great, thanks. :)

VAN 02-26-2004 04:56 AM

Ok, just a small suggestion. ;)

Can this be modified so that the threads that are generated in XXX forum are always posted using the Admin account? This will be in a staff area, and my mods may be confused if they see users seemingly posting threads in there.

Also, I have modified the template to say something like:

[username] has reported the following post. Please handle it according to board policy. Thank you.

..and this just looks funny if read inside someone elses post. :)

Great hack.


All times are GMT. The time now is 12:46 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.01258 seconds
  • Memory Usage 1,791KB
  • 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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