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

Closed Thread
 
Thread Tools
Nuke posts (BETA) Details »»
Nuke posts (BETA)
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: 03-29-2002 Last Update: Never Installs: 0
Is in Beta Stage  
No support by the author.



This hack now comes with an installer for use with vbHacker
https://vborg.vbsupport.ru/showthrea...threadid=36888
check that thread.

The final release of this hack is in that thread.

Show Your Support

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

Comments
  #22  
Old 04-01-2002, 01:46 AM
heretic's Avatar
heretic heretic is offline
 
Join Date: Nov 2001
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and the info is in nuked, it's a lot to pull up though (I tried it several times in different forums )
  #23  
Old 04-01-2002, 01:57 AM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I forgot this step:

EDIT admin/FUNCTIONS.PHP

find:

PHP Code:
    if (!$ignore[$post[userid]]) {
        eval(
"\$retval = \"".gettemplate("postbit")."\";");
    } else {
        eval(
"\$retval = \"".gettemplate("postbit_ignore")."\";");
    }
    return 
$retval
and replace it with

PHP Code:
    if ($post[nuked]==1) {
        eval(
"\$retval = \"".gettemplate("postnuked")."\";");
    } else if (
$ignore[$post[userid]]) {
        eval(
"\$retval = \"".gettemplate("postbit_ignore")."\";");
    } else    {
        eval(
"\$retval = \"".gettemplate("postbit")."\";");
    }
    return 
$retval
I will update teh main post.
  #24  
Old 04-01-2002, 02:10 AM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm pretty sure that it should work then. Also make sure it stays nuked on the new reply page.

You will notice the colors and table widths may not match your forum.... you will need to fix the templates, beacause when I posted them here they change to match this forum.

The attatched file contains more generic templates that will look better on your forum.
  #25  
Old 04-01-2002, 08:27 PM
heretic's Avatar
heretic heretic is offline
 
Join Date: Nov 2001
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that was it!

man, this is a great hack, considering that our forum never deletes stuff.

my many thanks... works perfectly now on 2.2.4

:thumbsup:
  #26  
Old 04-01-2002, 11:32 PM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for your help in getting this documentation complete.
I will now make an installer.
  #27  
Old 04-02-2002, 12:24 AM
Okiewan's Avatar
Okiewan Okiewan is offline
 
Join Date: Dec 2001
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack... very useful!
  #28  
Old 04-02-2002, 12:38 AM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wanted to test out the vbhacker installer for my hack. I only have one forum/database so I need someone else to take a crack at installing it.


Quote:
This hack enables moderators to "nuke" posts. Which means the post will be disabled, and hidden from view on the thread. The post will be replaced with the word *NUKED*. Moderators will still be able to view the original post through a link. Moderators may restore the nuked post back to it's original.

In a thread, if a moderator clicks the asterisk of a post, a window should flicker up.
Next time you view the thread (or if you reload it) the post should not display, but the word *NUKED* should be there.
If you hit 'reply', the preview of the posts below the reply box should also have *NUKED* instead of the actual post.


If a moderator clicks the asterisk on a nuked post, a window should popup showing what the original post was, with vb codes disabled. And the option to restore the thread - which if clicked should un-nuke the post.

If a regular member, or guest ever clicks the asterisk he should be faced with a permission denied page.


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

Let me know of any problems.
  #29  
Old 04-02-2002, 02:43 AM
Dade's Avatar
Dade Dade is offline
 
Join Date: Jan 2002
Location: California
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Had to do some manual file edits.. but other then that, works great
  #30  
Old 04-02-2002, 06:02 AM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



This hack now comes with an installer for use with vbHacker
https://vborg.vbsupport.ru/showthrea...threadid=36888
check that thread.

The final release of this hack is in that thread.

Closed Thread

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 02:29 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.04492 seconds
  • Memory Usage 2,291KB
  • Queries Executed 24 (?)
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_php
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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