vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Reported post creates new thread. (https://vborg.vbsupport.ru/showthread.php?t=83074)

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

Quote:

Originally Posted by Paul M
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

Quote:

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

That's standard vb functionality, nothing to do with this hack. :)

Essam 04-03-2006 03:29 AM

Quote:

Originally Posted by Paul M
That's standard vb functionality, nothing to do with this hack. :)

i've got it now

i removed this part from " report.php " :

Code:


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

Quote:

Originally Posted by Paul M
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:

Code:

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 ;

PHP Code:

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

to this;

PHP Code:

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



pipin 04-13-2006 07:27 PM

Quote:

Originally Posted by Paul M
That won't work.

Try changing this ;

PHP Code:

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

to this;

PHP Code:

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



thx but i get this then:

Fatal error: Only variables can be passed by reference in /home/xxx/apache/htdocs/vbulletin/report.php(176) : eval()'d code on line 3




Found it, seems to be a php glitch.

Workaround:

PHP Code:

$foruminstead 142;

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



Dexter_kcd 04-17-2006 11:01 PM

Thanks for this :) I was running Xenon's 3.0 version with some modifications prior to having upgraded to 3.5.4 recently, so was glad to find an easy plugin to do this.

[high]* Dexter_kcd clicks install.
[/high]

With Xenon's old hack I had modified it slightly. On our forum, we preferred the title being shorter ("Alert" instead of "Reported Post In") and seeing the username of the member being alerted, rather than the thread that the alert came from. I did the same to this hack, editing the XML as follows.

Original:

Code:

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

Changed to:

Code:

'title' => 'Alert: ' . $postinfo[username]

Dexter...

jilly 04-19-2006 11:10 AM

This hack is VERY useful to me, we use it constantly..

I have two main issues that get reported on my boards. I'd like each issue to go create new thread in a separate forum, that way the people who deal with issue a have all their reports in one place, and people who deal with issue b have theirs somewhere else. Is there a way to either:

1. Have two separate report post buttons, one for issue a and one for issue b? and each go to a unique forumid when submitted.

2. Or have some sort of drop down subject select in the report post function, where they can pick issue a or issue b as what they are reporting, and according to which one they pick, it sends the report to forum a or forum b?

Mark.B 04-19-2006 06:31 PM

Another fantastic hack Paul...many thanks.

You can always rely on Paul's hacks to be coded to perfection. I've never had any trouble with anything Paul has ever released.

stinger2 04-19-2006 07:34 PM

where ever i go ..its paul..paul..paul.........nearly installed all your hacks....i am speechless

COBRAws 04-20-2006 01:50 AM

Quote:

Originally Posted by stinger2
where ever i go ..its paul..paul..paul.........nearly installed all your hacks....i am speechless

lmao, same over here.

csidlernet 04-21-2006 09:59 AM

thats preety cool

VTXCafe.com 04-22-2006 03:39 AM

Awsome. We were not getting emails when post were being reported, this solved the problem and worked perfect!

SHOBizzy 04-30-2006 12:55 AM

Awesome job! :up:

*Clicked Install*

Eagle Creek 05-04-2006 02:45 PM

Hi Paul, great hack!

It is also possible to show the moderators of the subforum, where the report was made?

Paul M 05-04-2006 05:41 PM

Can you explain what you mean, I don't quite follow.

Eagle Creek 05-04-2006 06:50 PM

In the past I used a hack, similar to yours, but in the thread it created it also says who moderators of that section are. Different said: it also posted what mods received an E-mail of the report.

I enabled the mod mailing because I want to use both systems. But it's useful for me to see who should respond to a report, and who is actually responding to it.

Paul M 05-04-2006 08:58 PM

I think I understand, but there are no plans to add such a feature, esp with this very old version.

Boofo 05-04-2006 11:08 PM

Quote:

Originally Posted by Eagle Creek
In the past I used a hack, similar to yours, but in the thread it created it also says who moderators of that section are. Different said: it also posted what mods received an E-mail of the report.

I enabled the mod mailing because I want to use both systems. But it's useful for me to see who should respond to a report, and who is actually responding to it.

I have that in the version a friend helped me with for my site a while back. Easy to add. ;)

Eagle Creek 05-04-2006 11:47 PM

So maybe... :D?

Boofo 05-05-2006 12:22 AM

Since this is Paul's thread, if it's ok with him, pm me and I will help you with it. ;)

MJM 05-05-2006 05:50 PM

This is great! Will install soon ...

Is it possible for user to report own post?
We'd like to use to get support, when a member needs help with their post.

Thanks,
Mark

monkeywarplane 05-05-2006 10:49 PM

installed... good stuff

Stuart

WritersBeat 05-06-2006 02:04 AM

for some reason this hack doesn't work anymore on my forum :

Paul M 05-06-2006 02:29 AM

Quote:

Originally Posted by MJM
Is it possible for user to report own post?
We'd like to use to get support, when a member needs help with their post.

vbulletin does not allow you to report your own posts, this does not alter that.

Paul M 05-06-2006 02:29 AM

Quote:

Originally Posted by WritersBeat
for some reason this hack doesn't work anymore on my forum :

You need to be a bit more specific than that - but things do not just stop working, what have you changed ?

MJM 05-06-2006 04:55 AM

Would the following plugin : Allow members to report own posts
work along with this plugin?

Report Your Own Post at vB.com is what led me to this ...
but it's a tad over my head ...

Boofo 05-06-2006 05:13 AM

Quote:

Originally Posted by MJM
Would the following plugin : Allow members to report own posts
work along with this plugin?

It works fine for me. ;)

Paul M 05-06-2006 07:04 AM

As Boofo confirms, there is no reason that should not work fine.

VTXCafe.com 05-06-2006 07:40 AM

Hum, I installed this at our other site and it will not do anything. It has the url rewrite, thank that might be screwing with it? I re-installed it, double checked the forum id in options and still nothing.

Any ideas?

Paul M 05-06-2006 03:25 PM

I could not possible say without access to your forum. I don't see how any url re-write mod could affect it. The only mod I know that affects this one is the Advanced Editing Options - which can affect any mod that creates threads.

MJM 05-06-2006 05:43 PM

Are you saying .... Adv. Editing Options for Mods and Admins (which I have installed) and this one won't work together?

Thanks,
Mark

Paul M 05-06-2006 07:00 PM

Correct - The AEO hack affects any hack that uses vb's build_new_post() function to create new threads.

I posted a fix in the first part of post #201 (in the AEO thread).

VTXCafe.com 05-06-2006 10:43 PM

Ok, that would be it then, he has that installed.

Thanks!

I upgraded that hack and did the first park of what you posted in post #210 from that threadand that worked. I can't fugure out what to put this under, any help?

Quote:

Originally Posted by Paul M

I've also added a 'cache_templates' hook ;

PHP Code:

$globaltemplates[] = 'adv_editform'

:)


Boofo 05-06-2006 11:00 PM

Quote:

Originally Posted by Paul M
Correct - The AEO hack affects any hack that uses vb's build_new_post() function to create new threads.

I posted a fix in the first part of post #201 (in the AEO thread).

The move thread hacks like the recycle bin will work though, won't they, since they are only moving them? ;)


All times are GMT. The time now is 11:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01774 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (6)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete