View Full Version : Reported Posts create a new thread in specified forum
Xenon
02-08-2004, 10:00 PM
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.php?p=353431&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/showthread.php?s=&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
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
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!
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
I released a hack that does the same thing about a month ago. :)
https://vborg.vbsupport.ru/showthread.php?s=&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
@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
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.
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
This might be a stupid question, but how do I do that?
find this
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
/*
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
*fixed
Works great, thanks. :)
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.
Zachery
02-26-2004, 09:23 AM
Awsome hack :)
rebelsrock06
03-07-2004, 01:22 AM
* makes idiot out of self *
How do i fine php fles and how do i edit them
Xenon
03-07-2004, 12:11 PM
you may read the general hacking instructions on this site, before going into the details of a special hack
marcel-ea
03-26-2004, 04:16 AM
i make all but NOTHING happen when a user or mod report a bad post ?!?!
daFish
03-26-2004, 04:56 AM
i make all but NOTHING happen when a user or mod report a bad post ?!?!
Do you editited this line $reportforumid = XXX; and replaced XXX with the ID of the target forum?
Jolten
04-20-2004, 04:19 PM
Erwin's hack is nice but it errors if you don't have moderators assigned to all forums. This hack is better because it considers that variable.
Does anyone know have to default the email to go to admins rather than moderators?
Thanks.
Xenon
04-20-2004, 04:29 PM
very easy:
in your report.php find this code:
if (empty($mods) OR $foruminfo['options'] & $_FORUMOPTIONS['warnall'])
{
// get admins if no mods or if this forum notifies all
and BEFORE add:
$mods = array();
Jolten
04-20-2004, 04:41 PM
Very cool. Thanks Xenon. Installed and happy. Nice work.
Xenon
04-20-2004, 09:39 PM
i'm glad to hear :)
Erwin
04-21-2004, 09:43 AM
Erwin's hack is nice but it errors if you don't have moderators assigned to all forums. This hack is better because it considers that variable.
Does anyone know have to default the email to go to admins rather than moderators?
Thanks.
???
That's been fixed a few months ago in my hack. :)
Jolten
04-21-2004, 02:52 PM
Still errored here if no moderator was assigned to a forum. The error was an SQL error no field found. Or something similar. I removed yoru hack and installed this one.
chrisvonc
05-07-2004, 01:28 AM
Very nice! Real easy to install and worked great during testing. Thank you for the additional hint on commenting out the emails too.
:)
Chris
Jujimufu
05-14-2004, 04:33 PM
Eh, Sadly it's not working for me? Of course it's not even sending me reports through e-mail either. I'll comment if I fix it.
Edit: Damn, this might sound retarded but... How do you create a new template? I see no option for it. I'm running VB 3.0.1
Edit 2: Okay I figured it out. Wow this is wonderful! Thanks a lot. Yet I'm still not receiving e-mail notification haha... Maybe I should ask my hosting service about that, they always bungle things up... :chinese:
Eagle Creek
06-19-2004, 03:37 PM
It doesn't work! Is that because the forum is a private forum?
Xenon
06-19-2004, 05:10 PM
works perfectly on private forums...
sjaakie
06-20-2004, 09:13 AM
Is it possible to not send an email, but only a topic opens? Or is that a stupid question? ;)
chrisvonc
06-20-2004, 11:21 AM
Post #38 has direction on how to disable the emailing so only the new topics are opened:
https://vborg.vbsupport.ru/showpost.php?p=477763&postcount=38
marcel-ea
06-22-2004, 07:11 PM
good hack i added but nothing happen, i creat a new forum and set die id by XXX then report but nothing!
only the mails come
Any Ideas? Thx
Xenon
06-22-2004, 07:51 PM
erm, are you sure you have uploaded the files?
as the hack works flawless, i'm sure it's just a little mistake while installing.
Zachery
06-22-2004, 07:52 PM
Been working for me, for months. even with quite abit of modifcations :D
sketch42
06-27-2004, 04:32 AM
Great hack!!
/me clickity clicks Install
daFish
07-08-2004, 11:34 AM
This hack is great, no question, but from time to time when a user reports a thread, no thread will be created in the specific forum.
Anything went fine in the past.
Really strange.
Xenon
07-08-2004, 12:19 PM
hmm, very strange, that never appeared here, so unfortunatelly i cannot reproduce it ofcourse...
daFish
07-08-2004, 12:27 PM
hmm, very strange, that never appeared here, so unfortunatelly i cannot reproduce it ofcourse...
I have no idea how to reproduce it, but after i moved the thread to another forum, i was able to report the specific post.
Now i tried to report a post from the source forum and it didn't appeared in the report forum.
Xenon
07-08-2004, 12:39 PM
Huh?
even more wierd, as the origin forumid is not used anywhere in the hack.
could it be, that you've added another hack, and they just don't work perfect together?
or, does it just appear since 3.0.3, then maybe there was a change on the vb core...
Gimme input, so i can look into that :)
daFish
07-08-2004, 12:43 PM
Huh?
even more wierd, as the origin forumid is not used anywhere in the hack.
could it be, that you've added another hack, and they just don't work perfect together?
or, does it just appear since 3.0.3, then maybe there was a change on the vb core...
Gimme input, so i can look into that :)
:)
Ok, the board currently running on 3.0.1
There are hacks installed but the problem didn't shoed in the past.
Maybe it began after we changed the forum structure.
I've checked the forumoptions twice but everything looks fine.
I'll sent you an PN if you want to take a look into it. ;)
-Fish
Xenon
07-08-2004, 12:44 PM
:)
thx, would be fine, then i can look into it tonight :)
dis.pater
07-22-2004, 11:22 PM
Works perfect, thanks :-)
sjaakie
08-07-2004, 10:39 AM
Is it possible to include the forum into the topic title? Because this thing is very nice, but it would be nicer to our moderators that they know which topic they can open. ;)
Xenon
08-07-2004, 11:44 AM
replace:
'title' => 'Reported post: ' . $postinfo['title'] . "($postinfo[postid])",
with
'title' => 'Reported post: ' . $postinfo['title'] . "($postinfo[postid])" . " in Forum $foruminfo[title]", that should work i think
sjaakie
08-07-2004, 12:09 PM
Works great! Thanks.
Xenon
08-07-2004, 12:13 PM
:)
you're welcome
Awesome hack, I just installed it without any issues :)
* Clicks install
I have a question.....is there a way to actually move that reported to a forum entirely and once a moderator reviews it and if they find it acceptable they can move it back or edit then move it back?
I ask because this mod only copies the reported topic to the designated forum. I run an ECRi rated community site with lots of politics topics and sometimes these get hairy.
Please advise.
Xenon
08-26-2004, 07:28 AM
hmm, you can just move threads, not single posts, and the report system works on posts.
with the vb3 default moderation system it could be possible still, maybe i'll take a closer look at that idea...
Neal-UK
10-02-2004, 06:00 PM
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
This is an excellent hack which is so easy to install! Just what I was looking for, thanks!
indiamike
11-20-2004, 11:35 AM
Thank you Xenon.
Such a small hack but so very useful and running perfect on 3.0.3
https://vborg.vbsupport.ru/external/2004/11/4.gif
glenvw
12-03-2004, 01:01 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
Did this get answered?
glenvw
12-03-2004, 01:05 PM
In the rteporterd forum I am getting these comment tags:
<!-- BEGIN TEMPLATE: report_startmessage -->
<!-- END TEMPLATE: report_startmessage -->
Where do I get rid of them?
glenvw
12-03-2004, 01:31 PM
Ok, hack is working. I commented like this:
# 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();
If wrong please correct me.
Now, I would like to know if it would be hard to add 2 more forums to this hack. For instance, my members like to ba able to report an offer on our board in these 2 scenarios:
1) This offer has expired.
2) This offer is a duplicate.
I would like to be able to add 2 text links that will show under a post witht he 2 choices above, and have them reported to the appropriate categories.
Can it be done?
Thanks!
Michael Morris
02-27-2005, 09:00 AM
In the rteporterd forum I am getting these comment tags:
<!-- BEGIN TEMPLATE: report_startmessage -->
<!-- END TEMPLATE: report_startmessage -->
Where do I get rid of them?
Go to vboptions >> General Settings >> Add Template Name in HTML Comments and disable that.
Now, I've discovered a bad interaction between this hack and the Thread Prefix / Category Hack by Mystics. This hack will stop working if you install Mystic's Hack and set require category to "true". To get the two to work together in that configuration you need to add the following line to the beginning of Xenon's custom code.
$vboptions['categoryrequired'] = 0;
[php]
COBRAws
06-30-2005, 04:51 AM
does this work on 3.0.7?
Xenon
07-03-2005, 01:24 PM
yes it does
COBRAws
07-05-2005, 04:44 AM
yes it does
nice! gonna re-install then.
Is there any way for stopping people to report if there has been another report on that specific post?
and:
Is there a way so all reported posts on X Thread are merged into just 1 thread? This is because i dont want to have 5 threads for reports of X Thread.
Thats it. Thank you for your help
Xenon
07-05-2005, 04:25 PM
would be possible to add those checks, but i don't have time to include em ;)
csidlernet
07-20-2005, 07:44 AM
sweeeet
how about a 3.5 version of this one?
Paul M
10-02-2005, 08:33 PM
how about a 3.5 version of this one?Ever thought of using the search facility ........
https://vborg.vbsupport.ru/showthread.php?t=83074
Phrost
02-25-2006, 02:01 AM
I've got a question. I have mandatory post icons set on my forums (can't start a thread without chosing one).
This doesn't work with that. Is there a way to bypass this?
Phrost
02-25-2006, 02:20 AM
Trying to figure this out on my own... is there a variable I can pass into the POST function for a specific post icon?
Phrost
02-25-2006, 06:05 PM
Is there a way to modify this to post in a specific thread instead of starting a new thread? I mean, I'm sure there is, I just can't modify it to do that myself.
Xenon
02-26-2006, 09:02 PM
how about waiting a bit, i am not online every hour......
and yes, the $newpost array created by my hack, could be altered with an iconid...
Phrost
02-26-2006, 09:53 PM
Sorry, wasn't trying to spam you. :) I was just hoping someone else had an idea. Thanks for the help!
Phrost
02-19-2009, 07:06 PM
I'd kill for a 3.8 version of this.
(No, not literally).
Lynne
02-19-2009, 07:53 PM
I'd kill for a 3.8 version of this.
(No, not literally).
It's a default feature in 3.8.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.