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.


All times are GMT. The time now is 11:04 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.02212 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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