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

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
  #102  
Old 03-02-2003, 03:17 PM
Mike Gaidin's Avatar
Mike Gaidin Mike Gaidin is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with Erwin's search thread hack?

I'm installing Erwin's hack after I've installed this one, but I just want to make sure the stealth feature is still in effect if people search the thread.

Thanks!
Reply With Quote
  #103  
Old 03-06-2003, 01:25 PM
feldmaresciallo feldmaresciallo is offline
 
Join Date: Oct 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm i don't find how to put the option also in admin cp...
Could someone help me?
Reply With Quote
  #104  
Old 03-27-2003, 04:11 AM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a few things to think about fixing once you do start working on it again:

1) polls still show up as last post
2) user can click on 'Last Post' and still get to poll - no invalid link
3) something else, but i cant remember ...i'll post in a min when my memory decides to come back
Reply With Quote
  #105  
Old 03-27-2003, 04:34 AM
subu1 subu1 is offline
 
Join Date: Sep 2002
Location: Germany
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-06-03 at 03:25 PM feldmaresciallo said this in Post #102
Hmmm i don't find how to put the option also in admin cp...
Could someone help me?
the option is in the mod.php :knockedout:

greetz subu1
Reply With Quote
  #106  
Old 04-03-2003, 04:27 AM
Mathiau's Avatar
Mathiau Mathiau is offline
 
Join Date: Jan 2002
Location: Costa Rica and toronto
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks very nice! shall try this out!
Reply With Quote
  #107  
Old 04-28-2003, 05:05 PM
voclain voclain is offline
 
Join Date: Aug 2002
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did I do something wrong???

When I tested this HACK...I log on as a STELT Banned user..post something...then I can see what is written...the TITLE of the thread show up, but what I wrote when I was logged on as the STELTH does not????

EVERTHING else...show up properly (admins, mods)..and not show up (registered, guest)...

HOWEVER...one more small problem.........

I have PHOTO POST PHP....now I updated the usergroups, and it reccognizes the STETH BAN Group, but it does not keep them out???

ONLY PAYING customers get to see in the PHOTO POST area,,,,but when someone is on BAN..it allows them to see???

ANY SUGGESTIONS???

Kirk
Reply With Quote
  #108  
Old 04-28-2003, 05:06 PM
voclain voclain is offline
 
Join Date: Aug 2002
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OH I almost forgot....VB 2.2.6
http://www.pro4um.com

Kirk
Reply With Quote
  #109  
Old 05-08-2003, 04:48 AM
solent solent is offline
 
Join Date: May 2002
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

perfect. it works like a charm and i really love this hack. it can be really really helpful a lot of times.
Reply With Quote
  #110  
Old 05-08-2003, 05:11 AM
solent solent is offline
 
Join Date: May 2002
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i need some help here. well the hack works perfect but i just notice that i am using vbportal hack which has an Active Topic Block on the Home page. http://212.31.97.197/ you can see the vbstealth test thread over there. here is the php file that creates that block.

PHP Code:
<?php
$blocks_modules
[activetopics] = array(
    
'func_display' => 'blocks_activetopics_block',
    
'text_type' => 'activetopics',
    
'text_type_long' => 'Active Topics',
    
'text_content' => 'Active Topics',
    
'support_nukecode' => false,
    
'allow_create' => false,
    
'allow_delete' => false,
    
'form_url' => false,
    
'form_content' => false,
    
'form_refresh' => false,
    
'show_preview' => true
);

function 
blocks_activetopics_block($row) {
    global 
$DB_site,$bbuserinfo,$dateformat,$timeformat,$session,$bbdir,$excatforums,$use_forumpermissions,$sbnum_active,$sbtitlelen;
    if (
$excatforums == "" or $excatforums <= "0") {
        
$whereatsql "WHERE visible AND open!=10";
    } else {
        
$whereatsql "WHERE visible=1 AND open!=10 AND thread.forumid NOT IN ($excatforums)";
    }
    
$counter =0;
    
$result $DB_site->query("select threadid,forumid,title,postusername,lastposter,lastpost from thread $whereatsql order by lastpost desc limit $sbnum_active");
    while (
$sbthread=$DB_site->fetch_array($result)) {
            if (
$counter == 0) {
                
$block_content .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\">";
            }
            if (
$use_forumpermissions){
        
$atperms=getpermissions(intval($sbthread['forumid']),$bbuserinfo['userid']);
         }else{
                
$atperms['canview']=1;
            }
        if (
$atperms['canview']) {
                
$startedby=$sbthread['postusername'];
        
$lastposter=$sbthread['lastposter'];
        
$sbthreadid=$sbthread['threadid'];
        
$sbpostid=$thread_array['postid'];
        
$atpostdate=vbdate($dateformat,$sbthread['lastpost']);
        
$atposttime=vbdate($timeformat,$sbthread['lastpost']);
        
$sbtitle substr($sbthread["title"],0,$sbtitlelen);
        if (
strlen($sbtitle) == $sbtitlelen) {
            
$sbtitle =substr $sbtitle0strrpos($sbtitle," "));
        }
        if ((
$counter++ % 2) != 0) {
            
$vbp_atbc="{firstaltcolor}";
        } else {
            
$vbp_atbc="{secondaltcolor}";
              }
        eval(
"\$block_content .= \"".gettemplate('P_activetopics_sidebox')."\";");
            }
    }
        if (
$counter 0) {
            
$block_content .= "</table>";
        }
        unset(
$result);  
        return 
$block_content;
}
?>
any ideas how i can modify it and not show the vbstealth threads.
Reply With Quote
  #111  
Old 06-01-2003, 04:08 PM
djroketboy djroketboy is offline
 
Join Date: Apr 2003
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i thought everything was working until today... i keep getting a DB error when doing a search... i've double checked all my files... even went as far as re-doing the hack.... still get the error...

Invalid SQL: SELECT postid,wordid FROM searchindex WHERE wordid IN(0,'1','2','3','4','5','6','7','8','9','10','11' ,'12','13','14','15','16','17' ,'18','19','20','21'.............
mysql error: Got a packet bigger than 'max_allowed_packet'

mysql error number: 1153
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 03:41 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.04533 seconds
  • Memory Usage 2,339KB
  • 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_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