Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
NUKE posts [FINAL RELEASE] Details »»
NUKE posts [FINAL RELEASE]
Version: 1.00, by The Keeper The Keeper is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-01-2002 Last Update: Never Installs: 29
 
No support by the author.

This hack gives moderators and administrators the ability to disable a post, rather than delete it.

A small asterisk is added at the side of each post. If it is clicked by a moderator, a window will flicker up. The next time the thread is viewed the post will simply be replaced with the word "Nuked", indicating that a moderator has disabled it. Such a feature you may have seen on smaller non-vbulletin forums.

Moderators still have the option to see what the post was by clicking the asterisk on a nuked post. They may also restore the post (which isn't possible with deleted posts).

http://www.gaters.net/showthread.php?s=&threadid=1168
The above link is an example of a nuked post. Notice the asterisks down the bottom of threads, those are the nukers.

There are many practical benefits to nuking a post instead of deleting it. It's fast, it's reversable, it gives users the knowledge that content was removed, and admins may still review the disabled content.

Installation:

You need vbHacker to install this.
Just upload the attatched data file to the /admin directory and run vbHacker to install it.

(The hack works by adding a new attribute to each post in the database which determines whether the post is nuked or not. If it is, the post is displayed through a seperate template, much like posts of ignored people.)

Show Your Support

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

Comments
  #32  
Old 08-05-2002, 04:06 PM
marc49 marc49 is offline
 
Join Date: Apr 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to make sure I get them all, how many instances of

if (!ismoderator($threadinfo[forumid],"candeleteposts")) {

are there??
Reply With Quote
  #33  
Old 09-10-2002, 01:33 PM
blackout blackout is offline
 
Join Date: Nov 2001
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated this hack just alittle, for 1 i fixed the installation problems you people seem to be having due to \'s

Also added *NUKED BY <Nuker Username>*

EDIT: corrected a problem, the content when you view the nuked thread is now formatted, not just raw database output.

EDIT EDIT: made it when you click the Nuke '*' it reloads the page so you can see it nuked. Same when you Restore the post it reloads the main thread so you can see it unnuked.
Reply With Quote
  #34  
Old 09-17-2002, 10:49 AM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
a problem, the content when you view the nuked thread is now formatted, not just raw database output.
That wasn't a problem. It was done on purpose because the post might have been nuked because the code was misused, or you don't want the image to load if it was offensive etc...

Quote:
made it when you click the Nuke '*' it reloads the page so you can see it nuked.
That was also done on purpose because often you want to nuke lots of posts in a thread, and having it reload each time is annoying :P

But thanks for keeping this hack alive. I still use it for sure, it's proved to be very handy for my mods.
Reply With Quote
  #35  
Old 09-17-2002, 12:08 PM
blackout blackout is offline
 
Join Date: Nov 2001
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

np man

i just suited this hack to my likings n posted for other ppls

also made it so it says "*NUKED BY <Username>*"
Reply With Quote
  #36  
Old 09-18-2002, 12:41 AM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet, good job
Reply With Quote
  #37  
Old 09-23-2002, 12:38 PM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just wondering, does anyone have this hack working with 2.2.7 ? because it just stopped working when i upgraded my board with araxis merge
I will fix it tomorrow
Reply With Quote
  #38  
Old 10-12-2002, 10:32 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any news "The Keeper"? I would like to run this on 2.2.8...not sure if it works.
Reply With Quote
  #39  
Old 12-25-2002, 07:02 PM
MartynJ MartynJ is offline
 
Join Date: May 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it working on 2.2.9

EDIT: Here's a fix for this hack that prevents nuked posts showing up in searches. Hope The Keeper doesn't mind me posting this here.
Reply With Quote
  #40  
Old 12-25-2002, 07:11 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool, is it possible to hide the username of the person that had their post 'nuked' ?
Reply With Quote
  #41  
Old 12-25-2002, 07:26 PM
MartynJ MartynJ is offline
 
Join Date: May 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Sebastian
cool, is it possible to hide the username of the person that had their post 'nuked' ?
In what manner? In the postbit within showthread.php?
Reply With Quote
Reply

Thread Tools

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 06:48 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.04816 seconds
  • Memory Usage 2,294KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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