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)
-   -   Mark Buddy on Who's Online? Page (https://vborg.vbsupport.ru/showthread.php?t=36574)

Chris M 04-21-2002 11:31 AM

@inetd - Yes I am...Does that have an effect on it?

Satan

inetd 04-21-2002 11:37 AM

satan, use fix in post #12. :)

Chris M 04-23-2002 06:08 PM

Thanks inetd...

:tup:

We really need that smilie here...

I'll attach it...

@FireFly - This would be a good smilie to add...

:tup:

Satan

Xanthine 04-23-2002 06:13 PM

You could just use https://vborg.vbsupport.ru/external/2011/01/19.gif

Chris M 04-23-2002 06:26 PM

No...

:tup: is better!:)

Satan

inetd 04-24-2002 08:57 PM

When i not logged to board, i see near other Guest gif from buddy... How fix?

TWTCommish 04-24-2002 09:04 PM

I'm sorry, can you re-phrase that? I don't understand.

GK_ng 04-24-2002 09:05 PM

Quote:

Originally posted by inetd
When i not logged to board, i see near other Guest gif from buddy... How fix?
instead of the code I use in post12, you could put another check into the if-clause, checking for an empty userid ...
PHP Code:

$buddy_list " ".$bbuserinfo[buddylist]." ";
  
$singlebuddy" ".$userinfo[userid]." ";

     if (
stristr($buddy_list$singlebuddy) and trim($singlebuddy!="")) {
      
$userinfo[username] = "? $userinfo[username]";
    } 

copy and paste over the old code, tell me if it works !

thx

inetd 04-24-2002 09:15 PM

GK_ng, i paste this code nearly. but bug not fixed...

GK_ng 04-24-2002 09:23 PM

Quote:

Originally posted by inetd
GK_ng, i paste this code nearly. but bug not fixed...
nearly ?

nearby oder almost ? what do you mean with nearly ?

anyway, if it doesn't work, place the check before the actual buddylist-check ... should look somewhat like this:
PHP Code:

 if ($bbuserinfo[userid]!='0') {

  
$buddy_list " ".$bbuserinfo[buddylist]." ";
  
$singlebuddy" ".$userinfo[userid]." ";

     if (
stristr($buddy_list$singlebuddy)) {
      
$userinfo[username] = "? $userinfo[username]";
    }



around the whole thing (you can take the one from post 12 again), since guest's don't even have a buddylist - so why should you check for it ...


All times are GMT. The time now is 09:47 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.01058 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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