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)
-   -   vBStealth 2.0 (https://vborg.vbsupport.ru/showthread.php?t=47453)

alkatraz 01-07-2003 01:19 PM

Cool idea, thx!

Martin64 01-07-2003 02:18 PM

vBStealth 1.1 released.

This release includes the suggestion by TECK; it hides stealth users threads and posts when searching. If you already have vBStealth 1.0 installed, you just need to apply the changes to search.php as noted in the new instructions file.

N9ne 01-07-2003 02:38 PM

Does this affect forumhome?

It shows the last poster in the forum, and the time, will this hack also hide that kind of thing from forumhome?

Martin64 01-07-2003 02:52 PM

It only does that for forumdisplay.php currently, but I'll try to get it to do that for forumhome as well. :)

tHE DSS 01-07-2003 03:32 PM

Excellent!! Bloody Excellent!! Master Hack!!

I won't be installing any new hacks until vB3 though.

But this is a REALLY excellent idea! :cool:

N9ne 01-07-2003 03:49 PM

Martin64, would it be possible, when incorporating the stealth hack into forumhome, that you include the last thread title too? I use PPN's hack... [https://vborg.vbsupport.ru/showthrea...threadid=28561]

Martin64 01-07-2003 06:04 PM

Quote:

Originally posted by N9ne
Martin64, would it be possible, when incorporating the stealth hack into forumhome, that you include the last thread title too? I use PPN's hack... [https://vborg.vbsupport.ru/showthrea...threadid=28561]
Yes, here's how to do it and it should work with PPN's hack. Apply these changes to newreply.php:

FIND:

Code:

// update forum stuff
      if ($visible==1) {
        $DB_site->query("UPDATE forum SET
replycount=replycount+1,lastpost='".time()."',lastposter='".addslashes($postusername)."' WHERE
forumid IN ($foruminfo[parentlist])");
      }

REPLACE WITH:

Code:

// update forum stuff
if ($bbuserinfo['usergroupid'] != XX)
          {
      if ($visible==1) {
        $DB_site->query("UPDATE forum SET
replycount=replycount+1,lastpost='".time()."',lastposter='".addslashes($postusername)."' WHERE
forumid IN ($foruminfo[parentlist])");
      }
          }

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

ULTIMATESSJ 01-07-2003 08:25 PM

heh this hack is great, when the troublemakers on my board start getting annoying, i'll be sure to use this hack

Martin64 01-07-2003 09:51 PM

I did a small change to search.php, and therefore I have just updated the instructions (no new release) to include this. Earlier it was hiding threads started by stealth banned users for everyone, but now admins, mods and users in the stealth group are able to view the threads upon searching. Note that they will still not see threads started by other stealth banned users when searching, only when searching for their own username.

The changes to newreply.php above have also been included in the instructions.

N9ne 01-07-2003 10:27 PM

LoL Martin, you got a great idea with this Stealth...feel sorry for your members :D (the banned ones that is :D)


All times are GMT. The time now is 07:02 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.01593 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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