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)

Mike Gaidin 03-02-2003 03:17 PM

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!

feldmaresciallo 03-06-2003 01:25 PM

Hmmm i don't find how to put the option also in admin cp...
Could someone help me?

jibious 03-27-2003 04:11 AM

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

subu1 03-27-2003 04:34 AM

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

Mathiau 04-03-2003 04:27 AM

looks very nice! shall try this out!

voclain 04-28-2003 05:05 PM

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

voclain 04-28-2003 05:06 PM

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

Kirk

solent 05-08-2003 04:48 AM

perfect. it works like a charm and i really love this hack. it can be really really helpful a lot of times.

solent 05-08-2003 05:11 AM

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.

djroketboy 06-01-2003 04:08 PM

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


All times are GMT. The time now is 02:18 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.01178 seconds
  • Memory Usage 1,769KB
  • 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_php_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