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
  #232  
Old 03-08-2006, 01:40 PM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
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?
Reply With Quote
  #233  
Old 03-08-2006, 01:46 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YodaTheCoda
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.
Reply With Quote
  #234  
Old 03-08-2006, 01:58 PM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<![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;

Code:
'userid' => $vbulletin->userinfo['userid'],
to

Code:
'userid' => $vbulletin->userinfo['137'],
and it dosn't work.. i know this is probally miles out but like i said im not a coder :|
Reply With Quote
  #235  
Old 03-08-2006, 04:47 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You just need
PHP Code:
'userid' => 137
Reply With Quote
  #236  
Old 03-08-2006, 05:09 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one paul , installed , tested and working in 3.5.4 lovely , thanks
Reply With Quote
  #237  
Old 03-08-2006, 07:36 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was never a fan of this; but I've now been converted..

Installed, many thanks for another masterpiece!
Reply With Quote
  #238  
Old 03-08-2006, 08:59 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
I was never a fan of this; but I've now been converted..

Installed, many thanks for another masterpiece!
Now you've seen it in action here I presume
Reply With Quote
  #239  
Old 03-08-2006, 10:14 PM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
You just need
PHP Code:
'userid' => 137

ive changed it to

Code:
<![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?
Reply With Quote
  #240  
Old 03-16-2006, 02:57 PM
Mindwarp Mindwarp is offline
 
Join Date: Jan 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #241  
Old 03-22-2006, 06:49 PM
kindpeoplerule kindpeoplerule is offline
 
Join Date: Mar 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Clicked install. Second hack downloaded after I baught vBulletin! Very nice work!
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 02:35 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.05005 seconds
  • Memory Usage 2,318KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_php
  • (4)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