vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Whois (https://vborg.vbsupport.ru/showthread.php?t=44853)

kvk007 10-22-2002 01:06 PM

Whois
 
Normally members when they view "whois", they can see where the members, moderators, admins are doing. Surfing on different boards. Now, I wanna let that continue, but I want to JUST block people from seeing where I the adminstrator am surfing. Hope you got me?

EXample, when they see me online and wanna see whois, i don't wanna show where i am surfing, i wanna show something like "KEEP YOUR EYES AWAY FROM ME".

Dean C 10-22-2002 01:09 PM

I asked this a while ago and Xenon linked me to a thread..

But i couldn't get the code to work :(..

- miSt

Chris M 10-22-2002 01:35 PM

Open root/online.php
Find:
PHP Code:

    case 'spider':
      
$userinfo[where] = "Search Engine Spider";
      break; 

Add below:
PHP Code:

    case 'put your username here':
      
$userinfo[where] = "The message you want them to recieve";
      break; 

Now find:
PHP Code:

  if ($onlineloc!='' and $userinfo[activity]=='unknown') {
    
$onlinelocbits=explode("|||",$onlineloc);
    while (list(
$key,$ourfilename)=each($onlinelocbits)) {
      list(
$key,$text)=each($onlinelocbits);
      if (
$filename==$ourfilename)
        
$userinfo[activity] = $ourfilename;
    }
  } 

And add below:
PHP Code:

  if ($userinfo[userid]==1) {
    
$userinfo[activity] = 'put your username here';
  } 

Done:)

Satan

Chris M 10-22-2002 01:36 PM

^ Oh...Make sure you change the :

Code:

put your username here
to your username;)

Satan

Xenon 10-22-2002 03:41 PM

mist, you would have found it in the thread i told ya, there was also a link to this:
https://vborg.vbsupport.ru/showthrea...threadid=31938

there Chen posts his code ;)

Dean C 10-22-2002 03:47 PM

^ Yes i did see but it didn't work ;)

I'll try satan's now :D

- miSt

Xenon 10-22-2002 04:03 PM

satans is the same as chens ^^

look at the code instead of FireFly he has put in a "put you username here" ;)

Chris M 10-22-2002 05:33 PM

Yep...

I thought Maybe that Mist was looking at the wrong one, so I posted it again;)

Satan

Dean C 10-22-2002 05:45 PM

Geez im so stupid lol..

I finally got it to work :D

Thanks guys

- miSt

Chris M 10-22-2002 05:53 PM

Lol...

We know;)j/k:p

Np:)

Satan


All times are GMT. The time now is 10:00 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.01090 seconds
  • Memory Usage 1,736KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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