vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   NUKE posts [FINAL RELEASE] (https://vborg.vbsupport.ru/showthread.php?t=36888)

The Keeper 04-01-2002 10:00 PM

NUKE posts [FINAL RELEASE]
 
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.)

The Keeper 04-02-2002 06:04 AM

There seems to be some trouble with the vbhacker version of this hack.

Attatched are the instructions for a manual installation.
(It requires running an sql query)

If you've got a question, or problem, please post it in this thread.

Dade 04-02-2002 07:59 AM

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/valkyrec/public_html/forums/showthread.php on line 28

Parse error: parse error in /home/valkyrec/public_html/forums/showthread.php on line 48

And everytime I try to reinstall the hack it adds another '*', so far I've got 3 of them. I'll edit them out later. I'd really like this hack, but I can't get it to work.

69-FLy-gUy 04-02-2002 08:23 AM

the reason you have more *'s everytime you reinstall is because it is adding the query again and again.....

69-FLy-gUy 04-02-2002 08:24 AM

and i just got the same error.. are you running vb 2.2.5???

69-FLy-gUy 04-02-2002 08:31 AM

To get rid of this-> Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/valkyrec/public_html/forums/showthread.php on line 28

go to that line and where it says:

if ($action==/"showdisabled\") {

replace that with
if ($action=="showdisabled\") {
and it will work.. i am trying to figure out the parse error rioght now.

The Keeper 04-02-2002 08:50 AM

2.2.5? wtf!!

Hey is this problem you guys are having something I've done?

vbhacker seems to have put in a lot of slashes everywhere in the code.

69-FLy-gUy 04-02-2002 08:52 AM

yeah... i noticed a lot of slashes.....

I am not sure what the problem is... The Keeper.. go to install it with vbhacker, but select "get text file"

let me know if that is the right code?

The Keeper 04-02-2002 09:00 AM

Yeah that's what I did to see all those slashes. Some of the file replacements have been slashified, others haven't.

69-FLy-gUy 04-02-2002 09:08 AM

hmmmm... do you have the orig file you could post or send?


All times are GMT. The time now is 12:34 AM.

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.01229 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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