vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   The who's online... (https://vborg.vbsupport.ru/showthread.php?t=31938)

SWFans.net 10-31-2001 08:09 PM

Quote:

Originally posted by Bane
I wouldnt mind it :p
Me either. :D

MrLister 11-01-2001 01:03 AM

:) that's pretty cool

Admin 11-01-2001 09:56 AM

I added this:
Code:

  if ($userinfo[userid]==1) {
    $userinfo[activity] = 'firefly';
  }

right after this:
Code:

  default:
    $userinfo[activity] = 'unknown';
  }

And then I added this:
Code:

    case 'firefly':
      $userinfo[where] = "Ah-ah, no peeking, $bbuserinfo[username]! ;-)";
      break;

right before this:
Code:

    default:
      // Let's show the admin the location but put something false up for everyone else..


apfeifer 11-01-2001 11:23 AM

Simple, but kinda cool.:p

:cool:

Removed my very long quote.
Please don't post long quotes, especially when it's just a message above. :)

MrLister 11-01-2001 01:34 PM

it's quite a neat feature...

SWFans.net 11-01-2001 01:44 PM

I'll be adding this one. :pleased:

Admin 11-01-2001 01:53 PM

If you're already using v2.2.0, you can also do this.
Add this:
Code:

  if ($userinfo[usergroupid]==6) {
    $userinfo[activity] = 'admin';
  }

right after this:
Code:

  default:
    $userinfo[activity] = 'unknown';
  }

And then add this:
Code:

    case 'admin':
      $userinfo[where] = "This is the text that will appear for all admins!";
      break;

right before this:
Code:

    default:
      // Let's show the admin the location but put something false up for everyone else..

CODE YOU MUST ADD:
In online.php, add this:
Code:

        $userinfo[$key][usergroupid] = $user[usergroupid];
right after this:
Code:

        $userinfo[$key][invisible] = $user[invisible];

nuno 11-01-2001 04:35 PM

hehe
gr8 hack FireFly
muchas gracias :D

mSoul01 11-02-2001 02:36 AM

sweet hack.. i'll be giving it a try later on tonight..

thanks for the post.

Syphin 11-02-2001 03:53 AM

aah! thats awesome.. ^^ uh... But it shows that for one of my guests.. O.o not supposed to is it? lol

grr.... Now it wont work no matter what i do... >_< lol

-Syphin


All times are GMT. The time now is 02:58 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.01286 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
  • (10)bbcode_code_printable
  • (1)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