Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Reported post creates new thread. Details »»
Reported post creates new thread.
Version: 2.01, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 06-13-2005 Last Update: 09-15-2005 Installs: 458
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #252  
Old 04-13-2006, 07:27 PM
pipin's Avatar
pipin pipin is offline
 
Join Date: Jan 2005
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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']);

Reply With Quote
  #253  
Old 04-17-2006, 11:01 PM
Dexter_kcd Dexter_kcd is offline
 
Join Date: May 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #254  
Old 04-19-2006, 11:10 AM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #255  
Old 04-19-2006, 06:31 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #256  
Old 04-19-2006, 07:34 PM
stinger2's Avatar
stinger2 stinger2 is offline
 
Join Date: Jul 2005
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where ever i go ..its paul..paul..paul.........nearly installed all your hacks....i am speechless
Reply With Quote
  #257  
Old 04-20-2006, 01:50 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #258  
Old 04-21-2006, 09:59 AM
csidlernet csidlernet is offline
 
Join Date: Apr 2003
Location: sydney
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats preety cool
Reply With Quote
  #259  
Old 04-22-2006, 03:39 AM
VTXCafe.com VTXCafe.com is offline
 
Join Date: Jul 2005
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awsome. We were not getting emails when post were being reported, this solved the problem and worked perfect!
Reply With Quote
  #260  
Old 04-30-2006, 12:55 AM
SHOBizzy SHOBizzy is offline
 
Join Date: Apr 2004
Location: USA
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome job! :up:

*Clicked Install*
Reply With Quote
  #261  
Old 05-04-2006, 02:45 PM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Paul, great hack!

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12518 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete