Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 12-25-2002, 07:29 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah, showthread, say i nuke a post by a member called "sam" i don't want other members to know that "sam" had a post nuked.
Reply With Quote
  #43  
Old 12-25-2002, 07:44 PM
MartynJ MartynJ is offline
 
Join Date: May 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Should be fairly simple, gimme a sec and I'll look into it.

EDIT:

Ok, got it. Replace your postnuked template with this:
This will also leave the info intact so mods etc can see who the post was by.
Reply With Quote
  #44  
Old 12-25-2002, 09:29 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, i installed this hack and i am getting this:

Parse error: parse error, unexpected T_STRING in /home/forums/dev/showthread.php on line 42

i am running vb229, some have said this hack works for 229 but i am getting errors.
Reply With Quote
  #45  
Old 12-25-2002, 10:02 PM
MartynJ MartynJ is offline
 
Join Date: May 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please attach your showthread.php and I'll take a look. These kind of errors are usually solved dead easy.
Reply With Quote
  #46  
Old 12-25-2002, 10:39 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by MartynJ
Please attach your showthread.php and I'll take a look. These kind of errors are usually solved dead easy.
can't post full files .. board rules. PM?
Reply With Quote
  #47  
Old 12-26-2002, 12:00 PM
MartynJ MartynJ is offline
 
Join Date: May 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh yeah, oops, I'm an idiot. I just thought those without licences couldn't download. Anyway, yeah, you can email me or PM me about it. If you email me though, use the link from the bottom of my forums, I think the one for this site is out of date.
Reply With Quote
  #48  
Old 12-28-2002, 10:47 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MartynJ: I got it to work, not sure what it was.. probably a typo..

only problem is when you post a reply you can see the person that had their post nuked in the "review thread" at the bottom, possible to do it like in the postbit?

look at the image.
Reply With Quote
  #49  
Old 12-28-2002, 11:39 PM
MartynJ MartynJ is offline
 
Join Date: May 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, those "deleted by moderator" posts are nuked ones I'm assuming?
Reply With Quote
  #50  
Old 12-28-2002, 11:51 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep, i changed it from "nuked" to "deleted.." I added that hack you made so it doesn't show the username in postbit when you nuke a post, but when you reply to the thread you can see the name of the person in the "Topic Review (Newest First)" section lol. workaround?
Reply With Quote
  #51  
Old 12-28-2002, 11:59 PM
MartynJ MartynJ is offline
 
Join Date: May 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the fix.
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 11:00 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.04698 seconds
  • Memory Usage 2,298KB
  • 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
  • (1)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
  • (3)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