PDA

View Full Version : Reported post creates new thread.


Pages : [1] 2

Paul M
06-13-2005, 10:00 PM
This modification is no longer available or supported.

This plugin modifies the reported post system to create a new thread in a pre-selected forum and disables the send of reported post e-mails. This is a port of the version run on our forums, which is based on the original Xenon hack. This is posted with his permission.

Version 2.01 is now released as a product. Download the xml file and then import it into your forum using the product manager.

Everything you need is now imported - there is also no need to edit the plugin anymore - instead you set the id of your reported posts forum in the vBulletin Options > General Settings area.

If you wish to upgrade from version 1 then delete the current plugins and template associated with this hack - then import the product - and set the forum id in the vb options.



History:

v2.01 : First Release.

M1th
06-14-2005, 05:05 PM
Already got this working. You beat me to it. :p

Anyway,

build_new_post('thread', $report_foruminfo, array(), 0, $newpost, $errors);


should be:

build_new_post('thread', $report_foruminfo, array(), array(), $newpost, $errors);

based on a small change in vb3.5 build_new_post function

Dan
06-14-2005, 05:08 PM
Nice :) I really like this, Most likely will be used on my own forums :D

* Dan clicks install!

Paul M
06-14-2005, 05:44 PM
...... based on a small change in vb3.5 build_new_post functionAh yes, so I see, obviously it seems to work with the zero, but I have updated it - Thanks. :)

Paul M
06-14-2005, 05:47 PM
* Dan clicks install!That's strange - this isn't showing up.

eXtremeTim
06-14-2005, 07:11 PM
I might give this one a run in a later.

Frenck
06-16-2005, 06:15 PM
Very nice! It would even be nicer if you added the member who reported the post to the template :D

mholtum
06-16-2005, 06:15 PM
I have this on my 3.0.x board.
/me installs

Paul M
06-16-2005, 06:38 PM
Very nice! It would even be nicer if you added the member who reported the post to the template :DThe thread is created in the name of the reporting member, so this isn't really neccessary. :)

btw, please click install if you have installed it. :smoke:

Frenck
06-16-2005, 07:43 PM
Whoops, how silly of me! Sorry! Thx!

BTW i'm not using the hack, just experimenting with the beta. When I use this plugin I will click the install button.

MidnightPyro
06-19-2005, 01:46 AM
I loaded this, however the new thread isn't being created. I edited the forum ID to the forum ID of my staff forum. Please note though, that I am using vbulletin 3.5 beta 2, so there may have been some sort of code change :)

Paul M
06-19-2005, 02:17 AM
Seems okay on my beta 2 :)

MidnightPyro
06-19-2005, 02:44 AM
Created the template in the wrong style :o

Now it works perfectly. Thanks, Paul M.
* MidnightPyro clicks install! =)

The Wise One
06-19-2005, 12:29 PM
can this be done so an email and PM are sent to the moderators as well as the thread being created? we have a similar hack installed for 3.0.x that does this and really like how it does all 3. got the hack from here but dont remember what forum or the name of the hack.

Paul M
06-19-2005, 01:02 PM
The e-mail can still be sent, just turn off the plugin that disables the e-mail send. I don't see the point of a PM when a thread is created.

The Wise One
06-19-2005, 01:24 PM
The e-mail can still be sent, just turn off the plugin that disables the e-mail send. I don't see the point of a PM when a thread is created.
normally i would agree...but some of our staff use a verizon email account for registration and for what ever reason...users who use that email account for registration dont receive emails from our forums. we are trying to work with verizon to correct the issue but have made little progress. thus the PM would be useful...especially with the "Show Newest PM If Unread On Forum Home" plugin found here.

Paul M
06-19-2005, 01:38 PM
Well I can't really help you at the moment - It's not a feature I need and I'm very busy at the moment working on porting a lot of our stuff to 3.5.0. I'll add it to my list of things to look at, but tbh, it's very low priority (probably meaning months before I look at it). Sorry.

eNforce
06-19-2005, 02:09 PM
I've installed this properly but the threads are not being created in the forum I specified.

Beta 1

The Wise One
06-19-2005, 02:11 PM
Well I can't really help you at the moment - It's not a feature I need and I'm very busy at the moment working on porting a lot of our stuff to 3.5.0. I'll add it to my list of things to look at, but tbh, it's very low priority (probably meaning months before I look at it). Sorry.
thats fine. i dont know much but i may try to get it working. just didnt know if it was something simple that could be done in a small amount of time.

thanks for the replies.

Paul M
06-19-2005, 02:26 PM
I've installed this properly but the threads are not being created in the forum I specified.

Beta 1Are the plugins listed as active in the manager - do you have plugins turned on in the master vb options ?.

eNforce
06-19-2005, 02:34 PM
I disabled all other plugins, this one is the only one active.

Now running Beta 2 and same problem

Yes it is enabled in the main controls.

Edit:

I reverted all templates and re-added the template for this mod and it works now... hmm

red_baron2000
06-20-2005, 12:24 AM
works perfect thank you :)

Christine
06-23-2005, 12:55 AM
* Christine coded for our needs and installs with MUCH thanks. :)

Michael2
06-30-2005, 03:00 PM
Hmm... I'm getting a parse error and the new thread isn't started. I changed the forumid and have plugins enabled (and this one is active)...

Parse error: parse error, unexpected '<' in /httpdocs/boards/report.php(157) : eval()'d code on line 1

I'm using 3.5 beta 3.

Paul M
06-30-2005, 03:09 PM
This is the call to the "Disable Reported Post E-mails" plugin - it only contains one line and no "<" - check it is not corrupted in some way (or that you don't have any other plugins using the 'report_send_email' hook).

Christine
07-05-2005, 01:20 PM
Does anyone have this working on Beta 3?

I just deleted it and reuploaded it and it isn't sending the reports to the forum I indicated.

Biker_GA
07-05-2005, 09:03 PM
Does anyone have this working on Beta 3?


Working for me. Although I had to reload the template when I changed styles.

Paul M
07-05-2005, 09:06 PM
Does anyone have this working on Beta 3?

I just deleted it and reuploaded it and it isn't sending the reports to the forum I indicated.Yes, I do. I upgrade to the latest beta within a day or two of it's release. If it didn't work I would say so, and fix it. :)

As pointed out above, the most common reason for failure is the template missing from the style you are using. :)

Eagle Creek
07-05-2005, 09:38 PM
Yes, I do. I upgrade to the latest beta within a day or two of it's release. If it didn't work I would say so, and fix it. :)

As pointed out above, the most common reason for failure is the template missing from the style you are using. :)
I do like this hack!

I want to make this new post in the moderator forum. When a user is searching for his own posts, or the posts of another user, won't he be able to view the mod forum when he isn't allowed to that?

Paul M
07-05-2005, 09:41 PM
Its a thread, just like any other, so users can only view what they have permission to view. No different to you moving a users thread to your mod forum.

Eagle Creek
07-05-2005, 10:22 PM
Its a thread, just like any other, so users can only view what they have permission to view. No different to you moving a users thread to your mod forum.
PERFECT PAUL!

Thx again :).

Paul M
07-05-2005, 10:49 PM
PERFECT PAUL!

Thx again :).You'll be clicking install soon then ;)

Eagle Creek
07-05-2005, 11:04 PM
You'll be clicking install soon then ;)
As soon as I have 3.5 running!

Christine
07-07-2005, 08:32 PM
This was my bad. All is working fine on b3.

I am moving servers and missed a few setup steps. :cross-eyed:

Paul M
07-07-2005, 08:40 PM
This was my bad. All is working fine on b3.

I am moving servers and missed a few setup steps. :cross-eyed:Glad it's workiing. :up:

Loki12
07-10-2005, 03:13 PM
Installed. :) Works perfectly and is useful.

theArchitect
07-11-2005, 11:10 PM
Sensational work. I only got back from overseas today and missed the whole 3.5.0 launch. Plug-ins are going to save me a lot of headaches.

Biker_GA
07-16-2005, 02:21 AM
Paul, I just had an idea. There are times when I'd like to report a post, but instead of having it go to the Mod Forum, I want it to go to the Admin Forum for policy discussion. Do you think there's a way you could accomplish this for the administrators?

Paul M
07-16-2005, 04:05 AM
Paul, I just had an idea. There are times when I'd like to report a post, but instead of having it go to the Mod Forum, I want it to go to the Admin Forum for policy discussion. Do you think there's a way you could accomplish this for the administrators?So, just to be clear - if an administrator reports a post, you want it to go to a different forum ?

Biker_GA
07-16-2005, 01:19 PM
Sort of. I'd like the option of sending to a different forum IF the individual reporting it is an Admin, if that option isn't selected, it defaults to the primary forum (in my case, the mod forum).

Paul M
07-16-2005, 04:03 PM
Oh, nevermind then, having them all go somewhere else would have been a relativly easy change for just yourself. I don't have the time to look at anything more complicated. Sorry.

Biker_GA
07-16-2005, 04:25 PM
How difficult would it be to modify the existing hack with the intent of uploading it to work side by side with the current one? It would work only for the admins with it being sent to the forum that is specified in the xml file, but everthing else could remain the same. Even use the same template.

Milesian
07-18-2005, 03:45 PM
It creates the thread fine, but it shows this at the beginning:

<!-- BEGIN TEMPLATE: report_post -->

And at the end of the post it shows

<!-- END TEMPLATE: report_post -->

Have I edited the template wrong?

yessir
07-18-2005, 03:49 PM
It creates the thread fine, but it shows this at the beginning:



And at the end of the post it shows



Have I edited the template wrong?

Yeah, you don't need those lines in the template. They are only there to make it clear where the template code begins and ends.

Milesian
07-18-2005, 03:53 PM
Doh! Thanks :)

Milesian
07-18-2005, 03:58 PM
Actually, I don't see that in the "report_post" template that I created

Paul M
07-18-2005, 05:05 PM
That's because they aren't there and never have been. The reason you see those is because you have the vb option "Add Template Name in HTML Comments" turned on, this is not normal for a live forum, turn it off.

Milesian
07-18-2005, 05:22 PM
I can't see that option, Paul. Which section is it under?

Paul M
07-18-2005, 05:23 PM
vBulletin Options > General Settings :)

Christine
07-18-2005, 09:54 PM
Hi Paul,

Request from my admin team -- would it be possible to put the forum name into the title of the thread?

I tried, but couldn't seem to find the right variables to add in.

Can you help?

Paul M
07-18-2005, 11:27 PM
In the plugin, change ;

'title' => 'Reported post in : ' . $threadinfo['title']
to;

'title' => 'Reported post in : ' . $foruminfo['title'] .' : ' . $threadinfo['title']

Chris M
07-18-2005, 11:49 PM
In the plugin, change ;

'title' => 'Reported post in : ' . $threadinfo['title']
to;

'title' => 'Reported post in : ' . $foruminfo['title'] .' : ' . $threadinfo['title']

I've got an idea for this Paul :)

I just was testing this out, and if the user continually reports, it not only boosts their post count but it spams the report forum :ermm:

Is there any way you can make it so that the user can only report one post once? Or if they report it multiple times, the posts with the same postid/threadid can be merged into one thread? :)

Satan

Paul M
07-19-2005, 12:54 AM
I just was testing this out, and if the user continually reports, it not only boosts their post count but it spams the report forum :ermm:Set posts in that forum not to count, and give them a stern warning about abusing the report system. :)

Is there any way you can make it so that the user can only report one post once? Or if they report it multiple times, the posts with the same postid/threadid can be merged into one thread? :)Of course there's a way - but - it means much more complicated code, and database changes. :)

jluerken
07-19-2005, 09:59 AM
Is this working with table prefixes?

Chris M
07-19-2005, 11:39 AM
Set posts in that forum not to count, and give them a stern warning about abusing the report system. :)

Of course there's a way - but - it means much more complicated code, and database changes. :)

Get cracking then :p

Satan

Christine
07-19-2005, 01:34 PM
Thanks Paul. You don't want to know what convoluted gyration I was trying to add in there. :speechless:

Paul M
07-19-2005, 02:46 PM
Is this working with table prefixes?Table prefixes are irrelevant - there is no SQL in the hack, just standard vB functions.

Paul M
07-19-2005, 02:47 PM
Get cracking then :p

SatanNot at the moment - though it is on my long term list. :)

Vizionz
07-31-2005, 10:12 AM
awesome hack man

Boofo
07-31-2005, 10:26 AM
I know how to disable the part about sending emails to Mods. I would still like to be able to do that. My question is this: Can I add anything to this that will say "an email have been sent to the following Mods (name, name, etc.)" at the bottom of the reported post?

Eagle Creek
07-31-2005, 10:43 AM
I know how to disbale the part about sending emails to Mods. I would still like to be able to do that. My question is this: Can I add anything to this that will say "an email have been sent to the following Mods (name, name, etc.)" at the bottom of the reported post?

The previous hack (I have installed a report post hack) included that. It's usefull!

Paul M
07-31-2005, 12:23 PM
I don't think you can do it without file edits, but I don't have time to check - as per my sig I am going away shortly, and apart from one day, won't be around for the next three weeks.

Boofo
07-31-2005, 12:32 PM
Ok, well, thanks anyway. I'll wait for Xenon's version.

Have a safe trip and hurry back. ;)

amykhar
08-12-2005, 12:37 AM
Is anybody else having problems with this stopping working in RC2?

Neal-UK
08-12-2005, 12:41 AM
no, it's working on mine amy on rc2

EDIT: Except the username link in the reported post is broken:

http://www.***********.com/forum<b>*%20Nealmber.php?u=15[/QUOTE] (http://www.***********.com/forum<b>*%20Nealmber.php?u=15)
(http://www.***********.com/forum<b>*%20Nealmber.php?u=15)

amykhar
08-12-2005, 12:42 AM
strike my last post. I'm a moron who deleted the template in my recent style upgrade.

Neal-UK
08-12-2005, 12:44 AM
strike my last post. I'm a moron who deleted the template in my recent style upgrade.

see my last, any fix for that?

Dream
08-13-2005, 06:30 AM
"database mark forum read" isnt working with this, the forum stays marked unread even though I read every report, is this only with me?

SkyShadow
08-13-2005, 09:06 AM
In my forum the plugin does not work. When I report a post the plugin does not create a thread.
I changed the forum id 00 to 24.
The plugin is active!

Christine
08-13-2005, 02:54 PM
see my last, any fix for that?
Remove the /me code plugin for now. Dean is working on it. :)

https://vborg.vbsupport.ru/showpost.php?p=745481&postcount=17

SkyShadow
08-14-2005, 09:38 AM
Does anyone have a solution for my problem??

#69

Christine
08-14-2005, 04:31 PM
@SkyShadow -- did you create the report_post template?

SkyShadow
08-14-2005, 05:03 PM
No, thanks :)

Now it works fine

poolking
08-14-2005, 05:34 PM
/me installed

Christine
08-14-2005, 09:56 PM
@ Dream -- it is working for both of my sites. I am using Database (automatic forum marking)

yessir
09-04-2005, 10:25 PM
Works great, I love it. Stupid question (maybe, maybe not). How can I allow users to report themselves?

We run a forum that is pretty civil and after the edit time has passed, I'd still like my members the ability to ask a mod to remove a post they regret making BEFORE it starts a flame war.

Any ideas?

phlogiston
09-04-2005, 10:37 PM
How can I allow users to report themselves?82973 :)

The Realist
09-15-2005, 05:10 PM
Installed but its not placing the reports in the choosen section. I have edited the xml file and created the template.

Ideas?

Paul M
09-15-2005, 05:13 PM
You say edited the xml file - you don't need to do this - you need to edit the plugin, in the ACP, after you have imported it.

The Realist
09-15-2005, 06:42 PM
I deleted the original file and uploaded a fresh file. I then done as you said and edited it via the admin panel, but it still does not work?

Laters

You say edited the xml file - you don't need to do this - you need to edit the plugin, in the ACP, after you have imported it.

Paul M
09-15-2005, 07:15 PM
Make sure the template is called report_post (case sensitive) and is available in all styles you use.

FleaBag
09-15-2005, 08:05 PM
Hey Paul, just got this running on RC3, very nice - thanks! I'm currently trying to work out how to get the user redirected to a confirmation of the report being sent, once submitted. I'll let you know how I get on. :)

Nobody hold their breath though... I've no idea what I'm doing.

Boofo
09-15-2005, 08:44 PM
The previous hack (I have installed a report post hack) included that. It's usefull!

I got it to show the mods who were sent the email now. And no file edits. ;)

nexialys
09-15-2005, 11:48 PM
ADDITION:

to display the redirect page after the user sent the message, just add this at the end of the actual hack:

FIND // ########### End report posts hack #############at the end of the plugin text, ADD this JUST BEFORE:eval(print_standard_redirect('redirect_repo rtthanks',1,1));
.. the actual one is not showing the redirect completely...

Boofo
09-16-2005, 12:08 AM
Could it not be showing correctly because the redirects are turned off? ;)

nexialys
09-16-2005, 12:35 AM
Could it not be showing correctly because the redirects are turned off? ;)this setting will FORCE REDIRECT... that's the difference!

Boofo
09-16-2005, 01:27 AM
And if redirects are turned on it won't show twice, right?

nexialys
09-16-2005, 02:08 AM
And if redirects are turned on it won't show twice, right? no because of a simple act: (print_standard_redirect) display and exit the script, so even if you have something else in front of it, calling this function exit everything else after it!

the FORCE REDIRECT is used in many places on the forum anyway, where redirects are needed for cookies and for acknowledgements of actions...

WNxWakko
09-16-2005, 02:18 AM
nevermind, I retract my post.

Paul M
09-16-2005, 07:48 AM
Now updated to v2.01 (as a vb product). See the first post for details. :)

The Realist
09-16-2005, 12:37 PM
Thanks, forgot to add the template to the style :)

Latersxs

Make sure the template is called report_post (case sensitive) and is available in all styles you use.

Paul M
09-16-2005, 04:10 PM
Thanks, forgot to add the template to the style :)

Latersxs
Ah, glad you're sorted - the new version should prevent this - as the template is imported by the product into the master style.

btw - please click install :)

The Realist
09-16-2005, 04:11 PM
Great and I have clicked the install buton as well :)

laters

The e-mail can still be sent, just turn off the plugin that disables the e-mail send. I don't see the point of a PM when a thread is created.

utw-Mephisto
09-18-2005, 04:17 PM
LOVE THAT !

It is working like a charm :)

Yorixz
09-29-2005, 01:36 PM
Very nice plugin but somehow the <!-- BEGIN TEMPLATE: report_post --><!-- END TEMPLATE: report_post --> tags keep coming up; does anyone have a solution? (I've checked the templates but it's not in there.

Acers
09-29-2005, 02:31 PM
i think if you remove the commend : put template names for templates in admincp that will vanish. It did for me anyway.

dieselpowered
09-29-2005, 03:47 PM
ADDITION:

to display the redirect page after the user sent the message, just add this at the end of the actual hack:

FIND // ########### End report posts hack #############at the end of the plugin text, ADD this JUST BEFORE:eval(print_standard_redirect('redirect_repo rtthanks',1,1));
.. the actual one is not showing the redirect completely...

Is this something that is needed?

Just curious if it was updated in the attached file, if it was, I am not getting any sort of redirect message.

@Paul M, forgive me if this was answered, however, if I set up the hack to start a new thread in a staff area where the user who reports the post does not have access to read or post, will it still create a post from him/her?

Great hack!

**clicks install**

Paul M
09-29-2005, 05:26 PM
Very nice plugin but somehow the <!-- BEGIN TEMPLATE: report_post --><!-- END TEMPLATE: report_post --> tags keep coming up; does anyone have a solution? (I've checked the templates but it's not in there.
This is totally unrelated to this hack - it is because you have "Add Template Name in HTML Comments" set to yes in the vb general settings. It should always be set to no on a live forum.

Paul M
09-29-2005, 05:30 PM
Is this something that is needed?

Just curious if it was updated in the attached file, if it was, I am not getting any sort of redirect message.

@Paul M, forgive me if this was answered, however, if I set up the hack to start a new thread in a staff area where the user who reports the post does not have access to read or post, will it still create a post from him/her?

Great hack!

**clicks install**There is no redirect code in the hack, it's not necessary IMO, but you can add it if you prefer it on your forum. :)

Yes, it will create a thread in a staff area, regardless of whether the user has permission to view it - I would think this is how 99% of people use it. :)

Ncturnal
09-29-2005, 07:27 PM
Yet again, another awesome modification.

digitalhome
09-29-2005, 08:25 PM
Great product! Thanks

Threads are being created in our Mods Forum as you read this!

dieselpowered
09-29-2005, 09:55 PM
There is no redirect code in the hack, it's not necessary IMO, but you can add it if you prefer it on your forum. :)

Yes, it will create a thread in a staff area, regardless of whether the user has permission to view it - I would think this is how 99% of people use it. :)

Sounds great Paul, that is all I needed to know :)

Thanks again!!

Yorixz
10-02-2005, 10:48 AM
Ah, finally found out why it was also posting the commented things; I had "Comment Templates in HTML" enabled in the config. Still a great hack :)

ytclear
10-02-2005, 04:27 PM
I dont have my email functions enabled. So when i try to use this mod with the report post it says
"Sorry. The email function has been disabled by the administrator."

When i enable the email functions it works and makes a thread in the forum i specified. The thing is i dont want any other email functions available. Is there a workaround to getting this to work without enabling email?

Paul M
10-02-2005, 06:43 PM
Turning e-mail off disables the ability to report posts [with that message] - this is a standard part of vb functionality and there is nothing that can be done about it (other than edit report.php).

Slacker
10-02-2005, 07:35 PM
This is awesome. Thanks Paul. Installed at slackercentral.com. ^__^

dieselpowered
10-05-2005, 05:07 AM
Hi there Paul, just wanted to let you know that there is a slight problem with this product. Once installed it will not allow the quick reply feature to be used.

Anyone else see that?

Tested with IE and FireFox.

dieselpowered
10-05-2005, 05:16 AM
Hang on, I have it disabled and it is still not working...works off and on, this is odd.

Sorry Paul.

poolking
10-05-2005, 05:18 AM
Hi there Paul, just wanted to let you know that there is a slight problem with this product. Once installed it will not allow the quick reply feature to be used.

Anyone else see that?

Tested with IE and FireFox.

Works fine for me, sure you're clicking the quick reply button to enable the quick reply box?

Paul M
10-05-2005, 05:36 AM
Hang on, I have it disabled and it is still not working...works off and on, this is odd.

Sorry Paul.Apology accepted. (in my best Darth Vader voice ;))

(you have to have seen Star Wars to understand the humour of this)

ozmazdaclub
10-05-2005, 08:09 AM
Excellent work!

*Clicks Install*

dieselpowered
10-05-2005, 05:11 PM
Works fine for me, sure you're clicking the quick reply button to enable the quick reply box?

Ya it is a quick reply problem, sometimes it works, sometimes it does not???

dieselpowered
10-05-2005, 05:15 PM
Apology accepted. (in my best Darth Vader voice ;))

(you have to have seen Star Wars to understand the humour of this)

LOL ya I like Star Wars...

Anyhow, not to get quick reply working??

Slacker
10-05-2005, 05:16 PM
I've only had it on my production site for a day or so, but I'm not have any problems so far. And my users wear the quick reply function OUT. :D

Kaliyoda
10-06-2005, 07:07 AM
What a great mod!!!!

Installed and working! :D

The Wise One
10-06-2005, 10:13 PM
installed. much thanks.

WNxWakko
10-07-2005, 05:28 PM
How do I get this mod to also pull the name of the forum it came from into the subject line?

Paul M
10-07-2005, 05:55 PM
See posts 50 & 51 of this thread.

Billspaintball
10-09-2005, 09:38 AM
Just installed this hack now.

Love it, will make it a lot easier to see what the Mods have done with any complaints :)

COBRAws
10-12-2005, 09:44 AM
another fine rls by Paul M

heynurse
10-13-2005, 05:15 PM
Is there a way to put the offending username into the reported thread title?

Kinda like how the forum title could be added in this post:
https://vborg.vbsupport.ru/showpost.php?p=738190&postcount=51

Thanks

TheRayden
10-19-2005, 03:12 PM
Excellent hack, my mods will love it.

Monster Gamers
10-19-2005, 07:48 PM
Thanks, i'll install this on my new community.

OsMoSiS.it
10-23-2005, 08:29 AM
Great plugin :)

Installed on my forum but, since it's an italian forum, i want to translate this plugin into my language... that's an hard work particularly if you have more than one style installed, you should translate the template in every style :tired: I'm lazy, too much useless work for me, so I've spended the time of the translation to partially rewrite the plugin... now it doesn't use anymore the template system but the more suitable language system of VB... if you have more styles and want to translate o slightly change the text inside the post, you shoul only do this once in the language manager :)


Paul, if you want this modification I'll send you the xml file for the installation :)

jluerken
10-23-2005, 08:55 AM
Hey OsMoSiS.it why don't you translate the .xml file and add the product then?
It should be installed in all templates then in italian

OsMoSiS.it
10-23-2005, 09:24 AM
Yes, I could do this but what happens if then I upload a new style? I should manually add the template. And if I want to change the text for a typo? Uninstall and reinstall the product or change the template of all styles?

I think using language phrases is easier for all users to translate/change the text, don't you? It tooks only few minutes but the result is cleaner (formally text should be put into a language and page rendering code, html, into a template) ;)

Paul M
10-23-2005, 12:36 PM
Any template uploaded as part of a product becomes part of the MASTER set - which means all styles will pick it up automatically. All you need to do is edit the master template (you need to be in debug mode) or as jluerken says, edit the template in the XML before you import it (or re-import it, with overwrite = yes).

dethfire
10-23-2005, 08:59 PM
Reported posts no longer automatically display the originating forum and dedicated moderators.

OsMoSiS.it
10-24-2005, 11:05 AM
Any template uploaded as part of a product becomes part of the MASTER set - which means all styles will pick it up automatically. All you need to do is edit the master template (you need to be in debug mode) or as jluerken says, edit the template in the XML before you import it (or re-import it, with overwrite = yes).

I prefer my approach... is more logical to translate something that is into a language that something that is into a template... have you ever translated a vbulletin template? :)

Btw, plugin works perfectly both ways and this is not a crusade against templates... I'll keep mine, you'll update your :)

Kaith Rustaz
10-31-2005, 03:13 PM
Ok, this is weird. Everythings been working fine, now all of a sudden email reports don't appear to be going out. The report posts to the RTM forum ok, but no one gets an email.

I watched the mail queue as I RTMed and saw nothing.
Stopped on 4 sites at the same time. Email functions otherwise work fine.

Edit, make that 5 sites.

How can I make it do both thread creation and emailing to assigned mods?
Thanks!

Paul M
10-31-2005, 04:55 PM
How can I make it do both thread creation and emailing to assigned mods? Thanks!
Go into the Plugin Manager, and manually turn off the plugin called "Disable Reported Post E-mails".

Kaith Rustaz
10-31-2005, 09:27 PM
Thank you! :)

Watson
11-02-2005, 10:51 AM
Superb. Works a treat

Thanks for this

/me clicks install

theArchitect
11-12-2005, 10:37 PM
For some reason this hack has stopped working since i have upgraded to 3.5.1.

I have removed the old hack and uploaded the Product (and set the Forum ID in the General Setting area of the Admin CP) but still nothing.

I know this is one of those annoying "help posts" which is too vague for you to have any firm facts to workshop a solution from, but can you help anyway?

Paul M
11-13-2005, 12:02 AM
There's no reason for it to stop working in 3.5.1, it's fine on my test and live forums (both 351). Did you re-load it with overwrite = yes ? Is the template loaded ok ?

poolking
11-13-2005, 07:38 AM
Working fine on my 3.5.1. board.

TJFweb
11-13-2005, 08:42 AM
Can someone please clarify how this functions for me?

When it creates a new thread, who does it specify as the author? The person who reported it?

If so, would it still be able to post a new thread in a forum that the author has no permission to access, i.e. a moderators' forum?

Thanks.

Swindont
11-13-2005, 08:49 AM
i have 3.5.1 just installed works fine ;l are u doing forum id like : 3
not all url?

---------- IT SHOWS THIS:

The following post has been reported ;

Thread : To do list

Original Post by Swindont (http://habboroadforum.com/member.php?u=1) :


What needs doing?

Reason Given : he smells

Note: this topic is located in the admin cp ;]

Whitecorn
>:]

Paul M
11-13-2005, 10:22 AM
Can someone please clarify how this functions for me?

When it creates a new thread, who does it specify as the author? The person who reported it?

If so, would it still be able to post a new thread in a forum that the author has no permission to access, i.e. a moderators' forum?

Thanks.
1. The author of the thread is the reporter.

2. It posts the thread in any forum you specify, no permission check is performed, so it can post in a private moderators forum. This is how 99% of people use it.

The format of the post is as posted by Swindont above.

i.e. ;

The following post has been reported ;

Thread : Linked thread title

Original Post by Member name (http://www.cableforum.info/board/member.php?u=17) :


eeekkkkkk

Reason Given : some reason here

TJFweb
11-16-2005, 02:41 AM
1. The author of the thread is the reporter.

2. It posts the thread in any forum you specify, no permission check is performed, so it can post in a private moderators forum. This is how 99% of people use it.

The format of the post is as posted by Swindont above.

i.e. ;

Awesome. Installed :)

digitalhome
11-16-2005, 03:42 PM
I've been using this plugin for a month or so and it remains my, and my moderators, favourite.

I have a subforum in my moderators where all the bad post reports go. The result is mods can comment on the thread and the user and we have a history of any problem posters. It also saves a lot of time.

Thanks again for this great plugin!

Paul M
11-16-2005, 04:47 PM
Glad you like it. :)

Awesome. Installed :)Don't forget to click on install then ;)

Frozen Dreams
11-28-2005, 04:30 PM
After a bit of clicking around and trying to figure out why I couldn't get it to work on a 3.5.1. It appears it doesn't go with the Advanced Admin Editing Options (https://vborg.vbsupport.ru/showthread.php?t=98737) installed. That disabled the reporting works fine.

Making a wild guess I think it's this hack not using the 'editlevel' field from posts? Then again I've only started with 3.5.x so don't hit me if that's bs :D

Paul M
11-28-2005, 04:54 PM
Well if the advanced editing hack alters vbulletin such that it requires its custom field 'editlevel' to be set then yes - it will fail - since obviously this hack will not set that field.

Luggruff
12-02-2005, 05:58 PM
Where is the phrases for it? Or is it phrases? Just wanna know where I can find all the textbits so I can translate..

Paul M
12-02-2005, 07:10 PM
Hmm, looks like the currently released version has no phrases. I didn't realise I'd never updated this - the current version (that runs on our site) was phrased a while ago. I'll have to update it to the latest version sometime.

InfidelMatt
12-02-2005, 11:00 PM
If a Forum Title has an ampersand (&) in it's name, it's stored in the db using it's unicode ( &amp; ). When I use the following code to put the Forum title in the reported thread, any forums with '&' in the title are showing up as '&amp;'. For instance, We have a 'Media & Popular Culture' forum which is displaying as 'Media &amp; Popular Culture' in the thread title using this code.
'title' => 'Reported post in : ' . $foruminfo['title'] .' : ' . $threadinfo['title']
I also tried $foruminfo['title_clean'] but I am still encountering the same problem. Any way to fix this?

Matt

Paul M
12-02-2005, 11:40 PM
Well you could just use 'and' instead of '&' .

Other than that - sorry, but no, I cannot fix it. This hack has never included the forum title in the thread text, that must be something you have changed locally. While you are free to change things to suit yourself, I'm afraid I cannot support any such changes.

InfidelMatt
12-03-2005, 11:42 AM
I didn't ask for it to be supported or even fixed, I was just looking for clues (from anybody) as to why it wouldn't process the unicode.

Unfortunately, with over 20 forums and over 40 mods differentiated by forum, needing to know which forum the reported post is from is vital to using this hack.

geezzaa
12-09-2005, 10:14 AM
Geezzaa hits the install button, :)
Nice work, :)

Buster H
12-10-2005, 08:05 PM
Installed. Works fine. Thanks!

Duncan
12-11-2005, 03:51 AM
Thanks a ton man.

Freak0204
12-15-2005, 11:58 PM
I edited the forum id in general options, created the template, etc., but it still won't work for me. And whatever the background is for the board I'm reporting from ends up universal after I report.

Anyone know what's wrong?

Paul M
12-16-2005, 02:39 AM
There is no requirement to create any templates, it's all done by the product import - are you sure you are installing it correctly ?

dreamer81
12-16-2005, 06:25 PM
how sad it's not multilangual...

Luggruff
12-16-2005, 06:31 PM
how sad it's not multilangual...

Is anything?
You'll have to translate yourself of course

dreamer81
12-16-2005, 06:36 PM
how sad it's not multilangual...

but it's quick to translate it... thumbs up for this plug :)

dreamer81
12-16-2005, 06:36 PM
Is anything?
You'll have to translate yourself of course

some plugin actually comes with language phrases :D
me like that

Paul M
12-16-2005, 06:48 PM
some plugin actually comes with language phrases :D and some don't. ;)

me like thatWell you will get your wish at some point, but it's not high on my priority list.

Smiry Kin's
12-17-2005, 10:29 PM
Thanks again paul! very usful! keep them coming!

*Install

Freak0204
12-17-2005, 11:56 PM
There is no requirement to create any templates, it's all done by the product import - are you sure you are installing it correctly ?

There are posts all through this thread about creating a template for this hack.

Besides that, why are my backgrounds changing when I report but not creating the threads?

Paul M
12-18-2005, 02:39 AM
There are posts all through this thread about creating a template for this hack.Older posts maybe - before it was a product it was necessary to create the templates, since it was upgraded to a product it is not, the product import creates them. If you have created templates and imported the product, you may have created a problem.

Besides that, why are my backgrounds changing when I report but not creating the threads?I have no idea and I'm not entirely sure I understand you. Do you have screenshots to illustrate what you mean ?

Freak0204
12-18-2005, 02:56 AM
Good to know! lol Now I need to figure out how to get rid of the template.

The first screen shot is the default colors, etc. for the main index. The second is what happened after I reported a post on the board with that background. Still no threads being created though.

Paul M
12-18-2005, 03:21 AM
Any rogue templates can be got rid of by reverting them. After you have done that - reimport the product, with overwrite set to yes, and make sure you have a master template called "Report_post". Also make sure the plugins are loaded.

Freak0204
12-18-2005, 03:25 AM
Okay, that was weird but it works now! lol Thank you!!!

Paul M
12-18-2005, 03:39 AM
Okay, that was weird but it works now! lol Thank you!!!As I said - creating a manual template almost certainly caused a problem. Getting rid of it has solved the problem. :)

Freak0204
12-28-2005, 06:52 PM
Sorry to bother you with this again but I just installed this on a friend's forum and am having the same problem with the backgrounds changing after a post is reported. I didn't do anything unnecessary, i.e., creating a template so I have no idea why it is doing this again. I even tried it twice but the backgrounds are still messing up.

Paul M
12-28-2005, 07:00 PM
I still don't really understand what you mean, your screenshots were too small for me, and you never really explained what they were supposed to be showing. That said - this doesn't alter what's displayed when a post is reported anyway, all it does is change the resulting action - so I don't see how it can affect any background anyway.

Freak0204
12-28-2005, 07:05 PM
The screen shots were supposed to show before and after I reported. The before shot was the main index with the default background, the after shot was the main index with the board's (with the post I reported) background. For some reason, when I reinstalled on my own forum, it worked. But that isn't the case with the forum I'm working on now. Is it possible this hack is conflicting with another one or a template with certain settings?

Paul M
12-28-2005, 08:25 PM
I'm still completely confused - how can your forum have two backgrounds ? are they different styles ? What is the url of the site ? Can you create a test account so I can see what you are talking about, because I really just don't follow, esp given what I have alreay pointed out - that this does not alter the actual post reporting process, only what happens to the report.

Milchi
12-28-2005, 10:40 PM
Nice hack :)

Is it possible to implement the reported forum also?

We have plenty of active forums (300+) with over 40 moderators, it would be nice for them to see from which forum the post which is reported originally was....

Paul M
12-28-2005, 10:44 PM
Nice hack :)

Is it possible to implement the reported forum also?

We have plenty of active forums (300+) with over 40 moderators, it would be nice for them to see from which forum the post which is reported originally was....If you look back in the thread there are instructions on how to add the forum name - with the one minor problem that some special charecters don't get displayed correctly.

vampireus
12-29-2005, 12:17 AM
Nice, but I prefer reported posts to be PMed to mod. I have a big forum, several hundreds boxes and mods, hundred thoundsands members, lots of argument between fans. It would be a mess if every reported post going to one predefined forum

Paul M
12-29-2005, 10:38 AM
and it's not a mess with them all going to mods ?

vampireus
12-30-2005, 06:48 PM
It's about music, USUK/Korea/Japan/China/German/Russian/French/Vietnam ...etc, each has several dozens of boxes for singers and bands. The same with pop/rock/dance/dj/classical ... etc. So it's a big forum with hundreds of small boxes, each has its own moderators. It's just that we need lots of moderator to run their own boxes, so reported posts should be sent to who in charge, not to one forum where all mods have to look at piles of report unrelated to them, and dig out reports from their own boxes

highhai
12-31-2005, 07:16 AM
i got a suggestion.. it would be great if the report button would creat posts in a certain thread.. to reduce the mess it would creat for very very many threads.. would it be possible?

Paul M
12-31-2005, 04:16 PM
i got a suggestion.. it would be great if the report button would creat posts in a certain thread.. to reduce the mess it would creat for very very many threads.. would it be possible?Sure, if you want to write it then it's perfectly possible. It's not going to happen with this hack though. :)

highhai
12-31-2005, 05:16 PM
Sure, if you want to write it then it's perfectly possible. It's not going to happen with this hack though. :)

ohh.. sory.. if i may request it from u.. since you are the author of this hack and its almost that same.. and i dont have much knowledge in coding hacks..

XFSImperial
01-02-2006, 02:39 AM
Thank you, it works perfectly. I'm positive that any future reported posts will be given a much faster response time as opposed to an email.

Paul M
01-02-2006, 11:20 AM
ohh.. sory.. if i may request it from u.. since you are the author of this hack and its almost that same.. and i dont have much knowledge in coding hacks..Sorry, you will need to find someone else to do this for you.

hobbes747
01-04-2006, 07:49 PM
Hm, all of the sudden this isn't working for me. Actually the last thread made for me was at the end of November, so I'm not sure how long it hasn't been working. I just tried to reinstall the product with overwrite on and it didn't help. I also tried giving permissions to a group so that they could post there and it didn't help.

Once you hit submit on the form, it just goes to a blank reports.php page.

I'm on 3.5.2.

Ok, reports aren't working at all and neither is the Report Own Posts hack. I'll be back.

aranthorn
01-04-2006, 11:27 PM
Thanks a ton, I am so tired of staff moaning... LOL

IrPr
01-05-2006, 11:18 AM
not workin when upgraded to 3.5.3

msimplay
01-05-2006, 12:34 PM
not workin when upgraded to 3.5.3

Works for me i updated to 3.5.3 last night

Paul M
01-05-2006, 03:37 PM
Works fine on 3.5.3 :)

hobbes747
01-07-2006, 09:28 AM
Yeah, working for me too in 3.5.3 :nervous:

The problem I was having, vBulletin has forgotten to close the form in the reportbadpost template, so if you have a form in the footer with similar inputs (name="do" value="process"), it breaks.

Mathiau
01-07-2006, 10:08 PM
great hack, no use, yet, for it, but installed it on 3.5.3 - flawless! works perfect as it should.

Paul M
01-07-2006, 10:19 PM
great hack, no use, yet, for it, but installed it on 3.5.3 - flawless! works perfect as it should.Now you can click on install then. :)

bada_bing
01-12-2006, 03:11 AM
Awesome hack clicked install

Protoman
01-12-2006, 03:36 PM
wont work on my 3.5.3 because the name of the report_post template has changed.

Paul M
01-12-2006, 03:55 PM
Not really sure what you mean, changed by who ?

Freak0204
01-16-2006, 06:45 PM
Sorry, I can't make you a user ID. My forum is too private for that. I will deal until something better comes out.

How do I enable email reports since this hack disables that?

SCRIPT3R
01-16-2006, 09:21 PM
installing today, thank you.

Logikos
01-19-2006, 01:51 AM
I've always liked this hack.

/me installs

Paul M
01-19-2006, 02:27 AM
I've always liked this hack.Hey, So have I :up:

MentaL
01-19-2006, 02:39 AM
fantastic!

jilly
01-19-2006, 02:39 AM
I'd like to add the name and link to the forum in the actual report - in the template
Report_post

I'd like it to say:

On Board: (here goes the name of and a link to the forum that the reported post is in)

simsimt
01-19-2006, 02:58 AM
This should be vBulletin standard option. Good work Paul.

P.S. Since this hack turned out into a product, you might need to uncheck the 'Template changes' box.

Paul M
01-19-2006, 03:01 AM
Since it adds templates I think that option should be ticked. :)

jilly
01-19-2006, 03:34 PM
So is there an easy way to add board name in the report_post template?

Paul M
01-19-2006, 04:20 PM
From my sig ;

when you use one of my hacks, please make sure you have clicked the install link - esp if you require support.

Snake
01-24-2006, 08:43 PM
Screenshots?

Paul M
01-24-2006, 09:10 PM
Screenshots?Nope, I don't have any. It just creates a thread so there is nothing special that really needs a screen shot.

Eagle Creek
01-24-2006, 09:56 PM
Screenshots?

For what exactly :ermm: ?

You create a section.
You report a post.
You see a copy of your report begint showed as a normal post in that section.

Works great btw :D.

Snake
01-27-2006, 09:27 AM
Awesome. I'm a huge fan of this hack of yours lol. Thanks! :D

kregger
01-27-2006, 09:59 AM
Exactly what I need! Wish I'd found it sooner. Yet another Paul M hack for my board. hehe Thanks for doing such great work, dude!
*clicks install*

Craig

Paul M
01-27-2006, 09:07 PM
For what exactly :ermm: ?

You create a section.
You report a post.
You see a copy of your report begint showed as a normal post in that section.

Works great btw :D.You have it installed then ;)

Kmaster
01-28-2006, 03:40 AM
when do report post, I'd received below error.
Warning: Invalid argument supplied for foreach() in /includes/functions_newpost.php on line 243

Paul M
01-28-2006, 04:09 AM
Line 243 of functions_newpost.php is commented out in vb 3.5.3, what version are you running ?

Kmaster
01-28-2006, 04:27 AM
running vb352, in line 243 I found
foreach ($post['hidetype'] as $value)

guess my hide hack make crash the fucntion.
any idea how fix it work in my hide hack.

Paul M
01-28-2006, 04:51 AM
Sorry, no idea, I don't even know what it is, but I assume it has it's own support thread.

davidw
01-28-2006, 01:40 PM
<font color="SeaGreen">* Christianb reserves this post to install at a later time as it is something worthwhile but at the meantime uses this spot to subscribe to the thread.</font>

tamborinegal
02-07-2006, 04:25 AM
Thanks so much Paul. I can't tell you how much time this will save me.

Thank you :) Clicking install.

Clancy

Cloud-Warrior
02-13-2006, 09:36 AM
To add the forum name to the created thread's title and post content, it should be a matter (as outlined above) of changing the 'title' line in the XML to:


'title' => 'Reported post in ' .$foruminfo['title'] . ' : ' . $threadinfo['title']


and adding:


Forum : /forumdisplay.php?f=$foruminfo[forumid]]$foruminfo[title] ($vboptions[bburl)


to the Report_post template or by adding it to above the "Thread :" line in the XML file.

If you do have some characters like & or < in your forum title, there may be problems in the created thread's title (as outlined earlier in this thread), but maybe try using htmlentities($foruminfo['title']) or htmlspecialchars($foruminfo['title']) instead of $foruminfo['title'] in the 'title' line.

Mindwarp
02-17-2006, 05:45 PM
any thought on why Everyone but admins would be able to report a post?

cmiller1014
02-20-2006, 05:24 AM
As someone stated, the Admin is not given the report post option.....

And the post created contains these comments... how would I remove those??


<!-- BEGIN TEMPLATE: Report_post -->
The following post has been reported ;

Thread : This is just a test

Original Post by Admin :

Quote:
Originally Posted by Admin
Tester Testing in the testing forum

Reason Given : This is a reported post
<!-- END TEMPLATE: Report_post -->

Paul M
02-20-2006, 10:37 AM
As someone stated, the Admin is not given the report post option.....

And the post created contains these comments... how would I remove those??
1. This has zero effect on who can report a post since it's not called until you actually report one.

2. Turn off the "Add Template Name in HTML Comments" option in the ACP - it's a debug feature, not for live sites.

daFish
02-20-2006, 06:38 PM
Is there a way to get the reported post opened in a new window instead of the parent one?

Mindwarp
02-25-2006, 01:13 AM
1. This has zero effect on who can report a post since it's not called until you actually report one.

2. Turn off the "Add Template Name in HTML Comments" option in the ACP - it's a debug feature, not for live sites.


wellon the board im running this on we get the option to report a post however when we submit it, it does not apear in the forum designated for reported post to show up. Super Mod and below will show up, but Admins don't :(

SaN-DeeP
02-25-2006, 02:46 PM
works like a charm on 3.5.4, could we have an option enabled to send emails + create a new thread as well ?

thanks.

MichaelP
02-25-2006, 03:09 PM
Installed and clicked installed, works a treat :up:

Paul M
02-25-2006, 05:05 PM
works like a charm on 3.5.4, could we have an option enabled to send emails + create a new thread as well ?

thanks.Manually disable the forth plugin of this hack (Reported Post as New Thread (4)) and e-mails will be sent as before.

Paul M
02-25-2006, 05:08 PM
wellon the board im running this on we get the option to report a post however when we submit it, it does not apear in the forum designated for reported post to show up. Super Mod and below will show up, but Admins don't :(Sorry I can't replicate that at all - I can only investigate something if I can make it happen. The only thing I can think of is that maybe admins use a different style. The only way I can think of that it would fail is if it cannot find the template.

SaN-DeeP
02-25-2006, 06:30 PM
forth plugin of this hack (Reported Post as New Thread (4)) and e-mails will be sent as before.
hi Paul,
Sorry to bump back again, can we have a feature in future, to have both sending emails + a new thread created in specified forum ?

Regards,

Paul M
02-25-2006, 06:32 PM
hi Paul,
Sorry to bump back again, can we have a feature in future, to have both sending emails + a new thread created in specified forum ?

Regards,
Um, that's what will [already] happen if you disable the forth plugin.

cecdah
02-28-2006, 11:07 PM
Thanks a lot for this! :)

InfidelMatt
03-01-2006, 10:09 PM
If you do have some characters like & or < in your forum title, there may be problems in the created thread's title (as outlined earlier in this thread), but maybe try using htmlentities($foruminfo['title']) or htmlspecialchars($foruminfo['title']) instead of $foruminfo['title'] in the 'title' line.
Unfortunately neither of these fix the error either.

Matt

ZombieAndy
03-07-2006, 09:15 PM
hey i have a set username to post messages in the mod forum, i'd like to modify this hack to post a message as this username rather than the member that reported.

is this possible?

Nathan2006
03-07-2006, 11:01 PM
Thank you :) Installed

Paul M
03-08-2006, 12:08 PM
hey i have a set username to post messages in the mod forum, i'd like to modify this hack to post a message as this username rather than the member that reported.

is this possible?I would imagine it's possible by editing the code - it's not something I'm about to attempt though as I really can't see much of a need for this.

ZombieAndy
03-08-2006, 01:40 PM
I would imagine it's possible by editing the code - it's not something I'm about to attempt though as I really can't see much of a need for this.

im not much of a coder so could you at least tell me where to look?

Paul M
03-08-2006, 01:46 PM
im not much of a coder so could you at least tell me where to look?Have you actually looked for yourself ? This only has two plugins, one of them is called "Disable Reported Post E-mails" and the other is called "Add Reported Post as Thread". Take a wild guess at which one you need to look at. :)

ZombieAndy
03-08-2006, 01:58 PM
<![CDATA[
$report_foruminfo = fetch_foruminfo($vbulletin->options['reportforum']);
$newpost = array(
'emailupdate' => 9999,
'userid' => $vbulletin->userinfo['userid'],
'username' => $vbulletin->userinfo['username'],
'title' => 'Reported post in : ' . $threadinfo['title']
);
eval('$newpost[message] = "' . fetch_template('Report_post') . '";');
require_once(DIR . '/includes/functions_newpost.php');
build_new_post('thread', $report_foruminfo, array(), array(), $newpost, $errors);

]]>

ive found this and changed this;

'userid' => $vbulletin->userinfo['userid'],

to

'userid' => $vbulletin->userinfo['137'],

and it dosn't work.. i know this is probally miles out but like i said im not a coder :|

Paul M
03-08-2006, 04:47 PM
You just need 'userid' => 137,

Bounce
03-08-2006, 05:09 PM
nice one paul , installed , tested and working in 3.5.4 lovely , thanks :)

Oblivion Knight
03-08-2006, 07:36 PM
I was never a fan of this; but I've now been converted.. :p

Installed, many thanks for another masterpiece!

Paul M
03-08-2006, 08:59 PM
I was never a fan of this; but I've now been converted.. :p

Installed, many thanks for another masterpiece!Now you've seen it in action here I presume :)

ZombieAndy
03-08-2006, 10:14 PM
You just need 'userid' => 137,


ive changed it to

<![CDATA[
$report_foruminfo = fetch_foruminfo($vbulletin->options['reportforum']);
$newpost = array(
'emailupdate' => 9999,
'userid' => 137,
'username' => $vbulletin->userinfo['username'],
'title' => 'Reported post in : ' . $threadinfo['title']
);
eval('$newpost[message] = "' . fetch_template('Report_post') . '";');
require_once(DIR . '/includes/functions_newpost.php');
build_new_post('thread', $report_foruminfo, array(), array(), $newpost, $errors);

]]>

and it still dosn't work... help please?

Mindwarp
03-16-2006, 02:57 PM
ok this is really starting to bother me. One global template. when a Supermod or below reports a post it will show up. When someone in the Admin Usergorup reports a post, It does not show up. :dead: I don't see anyting in the admin usergorup that would prevent them from reporting a post.

kindpeoplerule
03-22-2006, 06:49 PM
Clicked install. Second hack downloaded after I baught vBulletin! Very nice work!

Kroziun
03-29-2006, 04:19 PM
Does anyone know of a hack to have the Bad Post Report sent to the ModCP and not emailed or creating a thread like in this instance. I know it's possible as we had it on the forum I used to moderate on, however the Admin is not forthcoming.

Thank you.

P.S. I have spent all day searching this forum and vb.com in case anyone says anything...

Edit: Forget this post - I found the hack I was looking for here: https://vborg.vbsupport.ru/showthread.php?t=105165

Thanks.

Paul M
04-01-2006, 10:27 AM
Those people who have a problem with Admins not being able to report a post - I think I may have an answer - I have recently installed the Advanced Editing Options hack on my test forum - and found that this breaks the ability for administrators to report posts (in fact, it breaks a few things, like GARS as well).

Do those having this problem also have AEO installed ?

Essam
04-02-2006, 11:35 PM
Those people who have a problem with Admins not being able to report a post - I think I may have an answer - I have recently installed the Advanced Editing Options hack on my test forum - and found that this breaks the ability for administrators to report posts (in fact, it breaks a few things, like GARS as well).

Do those having this problem also have AEO installed ?
im installing AEO and no problem

but there is another thing ,,

if the Email Options is off " disabled"
the report page won't work ... :confused:
_____________
p.s : using vB3.5.1

Paul M
04-03-2006, 12:38 AM
if the Email Options is off " disabled"
the report page won't work ... :confused:
_____________
p.s : using vB3.5.1That's standard vb functionality, nothing to do with this hack. :)

Essam
04-03-2006, 03:29 AM
That's standard vb functionality, nothing to do with this hack. :)
i've got it now

i removed this part from " report.php " :


if (!$vbulletin->options['enableemail'])
{
eval(standard_error(fetch_error('emaildisabled'))) ;
}


thanks anyway .. ;)

COBRAws
04-04-2006, 12:55 PM
ive been using this plugin for ages, like many other Paul M's hacks & stuff. But I want to know something (if it was already answered im sorry, but I couldnt find it within the thread). Is there a way so when someone reports a Post, it cant be reported again?

Sometimes We get like 14reports from 1 wrong post and its kinda anoying.

Thank you.

Paul M
04-04-2006, 08:07 PM
Not in this version (2.01).

This is, in fact, a very old version of the hack - I'm running Version 3.23 on our forums and preventing repeat reports is one of it's features. I'll get round to a new public release one day. :)

COBRAws
04-05-2006, 09:08 AM
Not in this version (2.01).

This is, in fact, a very old version of the hack - I'm running Version 3.23 on our forums and preventing repeat reports is one of it's features. I'll get round to a new public release one day. :)
Thank you! =)

pipin
04-13-2006, 06:21 PM
i'm trying to exclude one forum from the normal reportforum and redirect into another:

if ($foruminfo['forumid'] == 16)
{
$report_foruminfo = 142;
}

But i'm getting this error: "Cannot use a scalar value as an array..."

Paul M
04-13-2006, 06:50 PM
That won't work.

Try changing this ;

$report_foruminfo = fetch_foruminfo($vbulletin->options['reportforum']);
to this;

if ($foruminfo['forumid'] == 16)
{
$report_foruminfo = fetch_foruminfo(142);
}
else
{
$report_foruminfo = fetch_foruminfo($vbulletin->options['reportforum']);
}