PDA

View Full Version : Reported Posts create a new thread in specified forum


Xenon
09 Feb 2004, 20:30
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, 20:44
Excellent. :up:

gmarik
09 Feb 2004, 20:47
Good, but do people really use Report post function?

Xenon
09 Feb 2004, 20:58
They do.

at least on vb.org ^^

AN-net
09 Feb 2004, 21:59
wow been waiting for this for vb, vbulletin should definately intergrate this into vb as an option;)

colicab-d
09 Feb 2004, 22:17
thnk you another v.handy hack for my upcoming redesign :D

msimplay
09 Feb 2004, 22:38
does this work on rc2 ?

Xenon
09 Feb 2004, 22:39
it is installed on vb.org, so the answer is yes ^^

FleaBag
09 Feb 2004, 22:51
Sweet, I thought vB2 had burned out all the ideas in everyone's heads. Looks like I was wrong. :D

Xenon
09 Feb 2004, 22:55
nah, just everyone waited for vb3, to start from the hacking scratch ;)

msimplay
10 Feb 2004, 00:22
fantastic i just installed this just one of the best moderating mods i ever seen very helpful indeed

Xenon
10 Feb 2004, 00:34
Thx for the kind words :)

msimplay
10 Feb 2004, 00: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

Boofo
10 Feb 2004, 06:55
Great job, Stefan. Installed and working nicely. ;)

Aaron1
10 Feb 2004, 09:40
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

Erwin
10 Feb 2004, 09:42
I released a hack that does the same thing about a month ago. :)

http://www.vbulletin.org/forum/showthread.php?s=&threadid=59709

Boofo
10 Feb 2004, 10:01
Does the first post also have a link to the reported post?

Dolby
10 Feb 2004, 11:35
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
10 Feb 2004, 12:51
well done stefan :)

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

Chris|vB
10 Feb 2004, 14: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!

M1th
10 Feb 2004, 16:08
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
10 Feb 2004, 18:32
@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
11 Feb 2004, 03:41
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, 14:22
Good job! I hope it becomes a feature in 3.1.

rinkrat
11 Feb 2004, 22:51
I pressed Install but I guess it's broken?

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

Xenon
11 Feb 2004, 22:55
Hmm, it's working for me.

maybe just a temporarly problem.
Please try again

Aaron1
12 Feb 2004, 07:29
@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
12 Feb 2004, 12:13
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
12 Feb 2004, 14:04
see internal post.

we'll decide there ;)

Boofo
12 Feb 2004, 14:16
I hope this one stays, Stefan. It's the one I am using. ;)

Xenon
12 Feb 2004, 17:21
we may just combine the two threads i think, but Erwin has the last say, as his hack was first

Boofo
12 Feb 2004, 17:43
Will you be supporting yours if it is removed? Or updating it in the future?

Xenon
12 Feb 2004, 21:14
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, 16: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

Xenon
15 Feb 2004, 21:47
you just have to outcomment the vbmail call

The Quibbler
16 Feb 2004, 16: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.

Leah
17 Feb 2004, 14:21
you just have to outcomment the vbmail call
This might be a stupid question, but how do I do that?

squawell
17 Feb 2004, 14: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

VAN
26 Feb 2004, 06:28
*fixed

Works great, thanks. :)

VAN
26 Feb 2004, 06:56
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, 11:23
Awsome hack :)

rebelsrock06
07 Mar 2004, 03:22
* makes idiot out of self *


How do i fine php fles and how do i edit them

Xenon
07 Mar 2004, 14:11
you may read the general hacking instructions on this site, before going into the details of a special hack

marcel-ea
26 Mar 2004, 06:16
i make all but NOTHING happen when a user or mod report a bad post ?!?!

daFish
26 Mar 2004, 06:56
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
20 Apr 2004, 18:19
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
20 Apr 2004, 18:29
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.
---------------

Jolten
20 Apr 2004, 18:41
Very cool. Thanks Xenon. Installed and happy. Nice work.

Xenon
20 Apr 2004, 23:39
i'm glad to hear :)

Erwin
21 Apr 2004, 11:43
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
21 Apr 2004, 16:52
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, 03: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, 18: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, 17:37
It doesn't work! Is that because the forum is a private forum?

Xenon
19 Jun 2004, 19:10
works perfectly on private forums...

sjaakie
20 Jun 2004, 11:13
Is it possible to not send an email, but only a topic opens? Or is that a stupid question? ;)

chrisvonc
20 Jun 2004, 13: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, 21: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

Xenon
22 Jun 2004, 21:51
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, 21:52
Been working for me, for months. even with quite abit of modifcations :D

sketch42
27 Jun 2004, 06:32
Great hack!!

/me clickity clicks Install

daFish
08 Jul 2004, 13:34
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
08 Jul 2004, 14:19
hmm, very strange, that never appeared here, so unfortunatelly i cannot reproduce it ofcourse...

daFish
08 Jul 2004, 14:27
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
08 Jul 2004, 14:39
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
08 Jul 2004, 14:43
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
08 Jul 2004, 14:44
:)

thx, would be fine, then i can look into it tonight :)

dis.pater
23 Jul 2004, 01:22
Works perfect, thanks :-)

sjaakie
07 Aug 2004, 12: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. ;)

Xenon
07 Aug 2004, 13:44
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, 14:09
Works great! Thanks.

Xenon
07 Aug 2004, 14:13
:)

you're welcome

Jag
09 Aug 2004, 03:27
Awesome hack, I just installed it without any issues :)

* Clicks install

YLP1
10 Aug 2004, 22:06
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
26 Aug 2004, 09:28
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...

YLP1
26 Aug 2004, 16:14
Thanks bunches Xenon

Neal-UK
02 Oct 2004, 20: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, 13: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

glenvw
03 Dec 2004, 15:01
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
03 Dec 2004, 15:05
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
03 Dec 2004, 15:31
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, 11: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, 06:51
does this work on 3.0.7?

Xenon
03 Jul 2005, 15:24
yes it does

COBRAws
05 Jul 2005, 06: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

Xenon
05 Jul 2005, 18:25
would be possible to add those checks, but i don't have time to include em ;)

csidlernet
20 Jul 2005, 09:44
sweeeet

amcd
02 Oct 2005, 21:26
how about a 3.5 version of this one?

Paul M
02 Oct 2005, 22:33
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

Phrost
25 Feb 2006, 04:01
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
25 Feb 2006, 04:20
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
25 Feb 2006, 20:05
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
26 Feb 2006, 23:02
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
26 Feb 2006, 23:53
Sorry, wasn't trying to spam you. :) I was just hoping someone else had an idea. Thanks for the help!

Phrost
19 Feb 2009, 21:06
I'd kill for a 3.8 version of this.

(No, not literally).

Lynne
19 Feb 2009, 21:53
I'd kill for a 3.8 version of this.

(No, not literally).
It's a default feature in 3.8.