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
  #12  
Old 01-07-2003, 01:26 AM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same thread as above, but when logged in as admin. I wonder why noone has replied...
Reply With Quote
  #13  
Old 01-07-2003, 02:13 AM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice, thank you!
Reply With Quote
  #14  
Old 01-07-2003, 02:44 AM
TheVoidz TheVoidz is offline
 
Join Date: Nov 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Been waiting for a rewrite of this hack to encompass all the stuff you have listed.. thanx.
/me installs
Reply With Quote
  #15  
Old 01-07-2003, 05:21 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good!

In the readme:

---
ABOVE IT ADD:

$threadgroupuserid=$DB_site->query_first("SELECT usergroupid FROM user WHERE userid=$thread[postuserid] ORDER BY usergroupid DESC LIMIT 1");
if ( $bbuserinfo['usergroupid'] != 16 && $bbuserinfo['usergroupid'] != 6 && $bbuserinfo['usergroupid'] != 5 && $bbuserinfo['usergroupid'] != 7 && $threadgroupuserid['usergroupid'] == 16 )
{
$idname="thread";
eval("standarderror(\"".gettemplate("error_invalid id")."\");");
}

REPLACE THE "XX" ABOVE WITH THE ID OF YOUR STEALTH BANNED USER GROUP.
---

In the readme is usergroup 16 instead of the XX, i guess this must be changed.
Reply With Quote
  #16  
Old 01-07-2003, 08:50 AM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ohhh...missed that one. Thanks
And thanks everyone for the feedback.
Reply With Quote
  #17  
Old 01-07-2003, 10:58 AM
Frank Frank is offline
 
Join Date: Nov 2001
Location: Toronto, Canada
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack Martin. I think everyone who is using my hack would do well to use Martin's instead now, as his is more up to date and advanced
Reply With Quote
  #18  
Old 01-07-2003, 11:07 AM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, good work!
Reply With Quote
  #19  
Old 01-07-2003, 11:58 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work, however there is a problem with your hack. You forgot to edit also the search.php file.
If I search your forums and display posts as results, it will show the stealth posts.
Reply With Quote
  #20  
Old 01-07-2003, 12:30 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool idea Martin!!

[high]* Kars10 klicks installed! [/high]
Reply With Quote
  #21  
Old 01-07-2003, 01:16 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TECK
Nice work, however there is a problem with your hack. You forgot to edit also the search.php file.
If I search your forums and display posts as results, it will show the stealth posts.
That's a good suggestion, I'll do my best to get it working asap.
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 11:56 PM.


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.07989 seconds
  • Memory Usage 2,303KB
  • 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
  • (1)pagenav_pagelinkrel
  • (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