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)

Paul M 06-13-2005 10:00 PM

Reported post creates new thread.
 
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,

PHP Code:

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


should be:

PHP Code:

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

[high]* Dan clicks install![/high]

Paul M 06-14-2005 05:44 PM

Quote:

Originally Posted by M1th
...... based on a small change in vb3.5 build_new_post function

Ah 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

Quote:

Originally Posted by Dan
[high]* Dan clicks install![/high]

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

Quote:

Originally Posted by Frenck
Very nice! It would even be nicer if you added the member who reported the post to the template :D

The 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

Quote:

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

Quote:

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

Quote:

Originally Posted by eNforce
I've installed this properly but the threads are not being created in the forum I specified.

Beta 1

Are 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

[high]* Christine coded for our needs and installs with MUCH thanks. :)[/high]

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

Quote:

Originally Posted by Christine
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

Quote:

Originally Posted by Christine
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

Quote:

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

Quote:

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

Quote:

Originally Posted by Eagle Creek
PERFECT PAUL!

Thx again :).

You'll be clicking install soon then ;)

Eagle Creek 07-05-2005 11:04 PM

Quote:

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

Quote:

Originally Posted by Christine
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

Quote:

Originally Posted by Biker_GA
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).


All times are GMT. The time now is 04:52 PM.

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.01693 seconds
  • Memory Usage 1,818KB
  • 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
  • (2)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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