View Full Version : 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
09 Feb 2004, 19:44
Excellent. :up:
Good, but do people really use Report post function?
They do.
at least on vb.org ^^
wow been waiting for this for vb, vbulletin should definately intergrate this into vb as an option;)
colicab-d
09 Feb 2004, 21:17
thnk you another v.handy hack for my upcoming redesign :D
msimplay
09 Feb 2004, 21:38
does this work on rc2 ?
it is installed on vb.org, so the answer is yes ^^
FleaBag
09 Feb 2004, 21:51
Sweet, I thought vB2 had burned out all the ideas in everyone's heads. Looks like I was wrong. :D
nah, just everyone waited for vb3, to start from the hacking scratch ;)
msimplay
09 Feb 2004, 23:22
fantastic i just installed this just one of the best moderating mods i ever seen very helpful indeed
Thx for the kind words :)
msimplay
09 Feb 2004, 23:50
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
Great job, Stefan. Installed and working nicely. ;)
Sounds awesome Xenon! Although i am using a vbulletin 2.* version, and i have installed the (almost the same hack) you wrote here:
http://www.vbulletin.org/forum/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
I released a hack that does the same thing about a month ago. :)
http://www.vbulletin.org/forum/showthread.php?s=&threadid=59709
Does the first post also have a link to the reported post?
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.
well done stefan :)
this one will definatly be the first mod i install when vb3 gold is out :)
Chris|vB
10 Feb 2004, 13:48
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
@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 :)
I released a hack that does the same thing about a month ago. :)
http://www.vbulletin.org/forum/showthread.php?s=&threadid=59709
well that answered my question.
Martin CX
11 Feb 2004, 13:22
Good job! I hope it becomes a feature in 3.1.
rinkrat
11 Feb 2004, 21:51
I pressed Install but I guess it's broken?
You don't have permission to access /forum/vborg_miscactions.php on this server.
Hmm, it's working for me.
maybe just a temporarly problem.
Please try again
@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! :-)
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.
see internal post.
we'll decide there ;)
I hope this one stays, Stefan. It's the one I am using. ;)
we may just combine the two threads i think, but Erwin has the last say, as his hack was first
Will you be supporting yours if it is removed? Or updating it in the future?
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
15 Feb 2004, 15:57
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
you just have to outcomment the vbmail call
The Quibbler
16 Feb 2004, 15:51
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
17 Feb 2004, 13:27
This might be a stupid question, but how do I do that?
find this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and comment it out like
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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
26 Feb 2004, 10:23
Awsome hack :)
rebelsrock06
07 Mar 2004, 02:22
* makes idiot out of self *
How do i fine php fles and how do i edit them
you may read the general hacking instructions on this site, before going into the details of a special hack
marcel-ea
26 Mar 2004, 05:16
i make all but NOTHING happen when a user or mod report a bad post ?!?!
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?
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.
very easy:
in your report.php find this code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and BEFORE add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Very cool. Thanks Xenon. Installed and happy. Nice work.
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. :)
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
07 May 2004, 02:28
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
14 May 2004, 17:33
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
19 Jun 2004, 16:37
It doesn't work! Is that because the forum is a private forum?
works perfectly on private forums...
sjaakie
20 Jun 2004, 10:13
Is it possible to not send an email, but only a topic opens? Or is that a stupid question? ;)
chrisvonc
20 Jun 2004, 12:21
Post #38 has direction on how to disable the emailing so only the new topics are opened:
http://www.vbulletin.org/forum/showpost.php?p=477763&postcount=38
marcel-ea
22 Jun 2004, 20:11
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
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
22 Jun 2004, 20:52
Been working for me, for months. even with quite abit of modifcations :D
sketch42
27 Jun 2004, 05:32
Great hack!!
/me clickity clicks Install
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.
hmm, very strange, that never appeared here, so unfortunatelly i cannot reproduce it ofcourse...
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.
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 :)
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
:)
thx, would be fine, then i can look into it tonight :)
dis.pater
23 Jul 2004, 00:22
Works perfect, thanks :-)
sjaakie
07 Aug 2004, 11:39
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. ;)
replace:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
that should work i think
sjaakie
07 Aug 2004, 13:09
Works great! Thanks.
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.
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
02 Oct 2004, 19:00
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
20 Nov 2004, 12:35
Thank you Xenon.
Such a small hack but so very useful and running perfect on 3.0.3
http://www.indiamike.com/india/images/smilies/icon_horns.gif
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?
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?
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
27 Feb 2005, 10:00
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.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
[php]
COBRAws
30 Jun 2005, 05:51
does this work on 3.0.7?
COBRAws
05 Jul 2005, 05:44
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
would be possible to add those checks, but i don't have time to include em ;)
csidlernet
20 Jul 2005, 08:44
sweeeet
how about a 3.5 version of this one?
how about a 3.5 version of this one?Ever thought of using the search facility ........
http://www.vbulletin.org/forum/showthread.php?t=83074
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?
Trying to figure this out on my own... is there a variable I can pass into the POST function for a specific post icon?
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.
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...
Sorry, wasn't trying to spam you. :) I was just hoping someone else had an idea. Thanks for the help!
I'd kill for a 3.8 version of this.
(No, not literally).
I'd kill for a 3.8 version of this.
(No, not literally).
It's a default feature in 3.8.
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.