vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Who's Online Bot (https://vborg.vbsupport.ru/showthread.php?t=36754)

Matt 03-30-2002 03:51 PM

Who's Online Bot
 
I would like, if possible, to be able to assign a bot to Who's Online. In other words an admin that is on 24 hours a day so that the boards look that little bit less quiet when there is no-one around.

Is it possible to create a user that is just there to be on the "Who's Online" bit? :ermm:

Matt 03-30-2002 03:53 PM

Also, would it be possible to highlight in say, red, the users that are busy? Basically you would click a button to say that you are on the board but you are busy basically indicating that you don't want to be PM'ed.

the_sisko 03-30-2002 09:53 PM

First part:
Why not go to "forumhome_loggedinusers" Template and add the user before $activeusers.
So it would look like this:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=XX"><b>YYYYYYY</b></a>, $activeusers

Its the fastest way to do this. Not the best, as there would be a " , " after the user also if there isn't a second user only.

Admin 03-31-2002 03:23 AM

the_sisko is right, that's the best thing to do. If you want to avoid the comma issue replace in index.php this:
Code:

sers = \"".gettemplate('foru
with this:
Code:

sers = \", ".gettemplate('foru
(this is only part of a line)
And remove the comma from the template.

Do the same in the whosonline template, just add the code from whosonlinebit with the right info.


All times are GMT. The time now is 09:44 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.01562 seconds
  • Memory Usage 1,715KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete