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)

Martin64 01-07-2003 01:26 AM

Same thread as above, but when logged in as admin. I wonder why noone has replied... :p

Schorsch 01-07-2003 02:13 AM

very nice, thank you!

TheVoidz 01-07-2003 02:44 AM

Been waiting for a rewrite of this hack to encompass all the stuff you have listed.. thanx.
/me installs

NuclioN 01-07-2003 05:21 AM

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. ;)

Martin64 01-07-2003 08:50 AM

Ohhh...missed that one. Thanks :)
And thanks everyone for the feedback. :p

Frank 01-07-2003 10:58 AM

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 :D

N9ne 01-07-2003 11:07 AM

Nice hack, good work!

TECK 01-07-2003 11:58 AM

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. :)

Kars10 01-07-2003 12:30 PM

Cool idea Martin!!

[high]* Kars10 klicks installed! :)[/high]

Martin64 01-07-2003 01:16 PM

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. :)


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.01295 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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