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
vBStealth 2.0 Details »»
vBStealth 2.0
Version: 1.00, by Martin64 Martin64 is offline
Developer Last Online: Jul 2020 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-06-2003 Last Update: Never Installs: 34
 
No support by the author.

vBStealth 2.0
(by Martin64, martin64@vbhackers.com)

[about]

vBStealth is a hack that prevents trouble makers from spreading their stupidity at your board and it does that by hiding their threads, making their posts magically disappear and helping the world by ignoring their pityful private messages. These users are unaware that they are ignored; their threads and posts show up normally when they're viewing them - only admins, mods, stealth banned users and guests are able to see these. Mhuahahah!

vBStealth was initially based on Frank's "Secretly ban a user" hack (https://vborg.vbsupport.ru/showthrea...threadid=36205) but is much more advanced and is is taking the idea of putting users on ignore further. This hack makes the secretly banned users even more secret - they have been stealth banned! *LOL*, please forgive me for naming the hack that.

[what it does]

- Threads and posts before the user was banned will show up, but threads and posts after the user was banned will be hidden to everyone but admins, mods, stealth banned users and guests.
- Hides threads in forumdisplay started by stealth users to everyone but admins, mods, stealth banned users and guests.
- Hides posts in showthread by stealth users to everyone but admins, mods, stealth banned users and guests.
- Ignores private messages sent by stealth users.
- Gives the option for moderators to either set a regular ban or a stealth ban in the Mod CP.
- Moderators are able to unban stealth banned users in the Mod CP.
- Skips updating the count post, last poster name and date for stealth banned users in forumdisplay and forumhome.
- Hides stealth users threads and posts when searching to everyone but admins, mods, stealth banned users and guests.

[note]

Make sure to backup your files! I don't want to be held responsible if you lose your two hundred hacks installed.

[important!]

You MUST stealth ban your users from the Mod CP, just changing usergroup in the Admin CP won't add the neccessary timestamp. The same goes for unbanning stealth banned users, you MUST do that from the Mod CP as well for the same reason.
If you have upgraded, you MUST put the users back to the registered group and then stealth ban them, or it won't add the neccessary timestamp.

[credits]

SJR and Xenon, for helping with some code fixes
Frank for creating "Secretly ban a user" which inspired me to work on vBStealth.

[upgrading from 1.X]

Be sure to do what's listed under [important!] above! Also, although not needed, I recommend completely uninstalling 1.X versions before installing vBStealth 2.0, as the file changes have changed for many of the files. If you are to upgrade, be sure to run the query, and go through the file changes very carefully.

[change log]

2.0: Hack now uses timestamps: Threads and posts before the user was banned will show up, but threads and posts after the user was banned will be hidden to everyone but stealth banned users, admins and mods.
1.3: Undid the changes to showthread.php, as it could lead to suspicion among stealth banned users if they communicate (thanks WetWired for the heads up). Also, I changed the code changes to newreply.php, so that it'll work if you have the Store Hack by Lesane installed.
1.2: Small fixes to search.php and newreply.php. New file modified: newthread.php.
1.1: Added changes to search.php as suggested by TECK (thanks ), which hides stealth users threads and posts when searching.
1.0: First release, no changes dummy. :P

Show Your Support

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

Comments
  #82  
Old 02-05-2003, 12:49 AM
Hoth Hoth is offline
 
Join Date: Nov 2002
Location: Cameron Park, California
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Martin64
You MUST stealth ban your users from the Mod CP, just changing usergroup in the Admin CP won't add the neccessary timestamp.
Excuse my stupidity, but could anyone tell me where in the world this "Mod CP" is, if it's not the Admin CP?
Reply With Quote
  #83  
Old 02-05-2003, 11:29 AM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mod CP -> http://www.yourdomain.com/forums/mod/index.php
Reply With Quote
  #84  
Old 02-05-2003, 12:12 PM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack! I'd install but I already have most of these things integrated in a much sloppier way. I hope you release something similar for 3.0 that is as complete as this.
Reply With Quote
  #85  
Old 02-05-2003, 12:20 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks mate, I'll answer that question when I get my hands on VB3
Reply With Quote
  #86  
Old 02-11-2003, 08:26 PM
subu1 subu1 is offline
 
Join Date: Sep 2002
Location: Germany
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh i want to install this verry great hack, but if i change my funktions.php I have a error.

PHP Code:
FIND:

eval(
"\$retval = "".gettemplate("postbit")."";");

REPLACE WITH:

if (
$post[datestealthbanned] < $post[dateline]) {
            if (
$bbuserinfo['usergroupid']==|| $bbuserinfo['usergroupid']==|| $bbuserinfo['usergroupid']==7) {
                
$post[message]="<normalfont><b>Stealth banned user!</b></normalfont>&nbsp;&nbsp;<smallfont><i>This post is only visible to admins, mods, stealth banned users and guests:</i><br>&nbsp;<br></smallfont>".$post[message];
                eval(
"\$retval = "".gettemplate("postbit")."";");
            } else if (
$bbuserinfo['usergroupid']==XX) {
                eval(
"\$retval = "".gettemplate("postbit")."";");
            } else if (
$bbuserinfo['usergroupid']==1) {
                eval(
"\$retval = "".gettemplate("postbit")."";");
            } else {
                eval(
"\$retval = "".gettemplate("postbit_banned")."";");  
              }
        } else {
            eval(
"\$retval = "".gettemplate("postbit")."";");  
        }
    }
    return 
$retval;
}

REPLACE THE "XX" ABOVE WITH THE ID OF YOUR STEALTH BANNED USER GROUP
after i have this error

Parse error: parse error, unexpected '}' in /home/virtual/site7/fst/var/www/html/forums/admin/functions.php on line 364

Fatal error: Call to undefined function: getuserinfo() in /home/virtual/site7/fst/var/www/html/forums/admin/sessions.php on line 365

this my funktions.php

PHP Code:
                    if ($post[datestealthbanned] < $post[dateline]) {
            if (
$bbuserinfo['usergroupid']==|| $bbuserinfo['usergroupid']==|| $bbuserinfo['usergroupid']==7) {
                
$post[message]="<normalfont><b>Stealth banned user!</b></normalfont>&nbsp;&nbsp;<smallfont><i>This post is only visible to admins, mods, stealth banned users and guests:</i><br>&nbsp;<br></smallfont>".$post[message];
                eval(
"\$retval = "".gettemplate("postbit")."";");
            } else if (
$bbuserinfo['usergroupid']==XX) {
                eval(
"\$retval = "".gettemplate("postbit")."";");
            } else if (
$bbuserinfo['usergroupid']==1) {
                eval(
"\$retval = "".gettemplate("postbit")."";");
            } else {
                eval(
"\$retval = "".gettemplate("postbit_banned")."";");
              }
        } else {
            eval(
"\$retval = "".gettemplate("postbit")."";");
        }
    }
    return 
$retval;
}
    }
    return 
$retval;

is return a doubel???

sorry for my eng.

subu1
Reply With Quote
  #87  
Old 02-11-2003, 08:49 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah yes, the return shouldn't be doubled. These are the correct instructions:

FIND:

Code:
eval("\$retval = \"".gettemplate("postbit")."\";");
REPLACE WITH:

Code:
if ($post[datestealthbanned] < $post[dateline]) {
            if ($bbuserinfo['usergroupid']==6 || $bbuserinfo['usergroupid']==5 || $bbuserinfo['usergroupid']==7) {
                $post[message]="<normalfont><b>Stealth banned user!</b></normalfont>&nbsp;&nbsp;<smallfont><i>This post is only visible to admins, mods, stealth banned users and guests:</i><br>&nbsp;<br></smallfont>".$post[message];
                eval("\$retval = \"".gettemplate("postbit")."\";");
            } else if ($bbuserinfo['usergroupid']==16) {
                eval("\$retval = \"".gettemplate("postbit")."\";");
			} else if ($bbuserinfo['usergroupid']==1) {
                eval("\$retval = \"".gettemplate("postbit")."\";");
            } else {
                eval("\$retval = \"".gettemplate("postbit_banned")."\";");  
              }
        } else {
            eval("\$retval = \"".gettemplate("postbit")."\";");  
        }
REPLACE THE "XX" ABOVE WITH THE ID OF YOUR STEALTH BANNED USER GROUP.
Reply With Quote
  #88  
Old 02-12-2003, 05:22 PM
subu1 subu1 is offline
 
Join Date: Sep 2002
Location: Germany
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is very fantastic this Hack, i love this Hack, big thxx

but i have only questions. The User can view the modforum, i must forum access adjust seperat for the stealt banned User?

greetz subu1

oh oh my eng.
Reply With Quote
  #89  
Old 02-12-2003, 06:35 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure what you mean...the user can view the "modforum". What's that?
Reply With Quote
  #90  
Old 02-12-2003, 07:03 PM
subu1 subu1 is offline
 
Join Date: Sep 2002
Location: Germany
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh excuse please, I meant stealt banned the User(my dummy) can moderators the forum to see and thats not normally. Is's a Forum for Moderators not for User.

greetz subu1
Reply With Quote
  #91  
Old 02-12-2003, 07:20 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry, I still don't understand your question.

Perhaps if you read my first post again you could an answer to your question. Or you could try asking me again, I'm a little slow.
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:10 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.04963 seconds
  • Memory Usage 2,343KB
  • 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
  • (2)bbcode_code
  • (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
  • (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