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)
-   -   Who was online today [available in english & german] (https://vborg.vbsupport.ru/showthread.php?t=34014)

CRego3D 06-06-2002 03:39 AM

Excellent Hack

just a question, is there a way to merge online.php and onlinetoday.php so the users that have been on today show below those who are on now ?

Mystics 06-06-2002 05:33 PM

Quote:

Originally posted by CRego3D
just a question, is there a way to merge online.php and onlinetoday.php so the users that have been on today show below those who are on now ?
Here ya go :)

CRego3D 06-07-2002 06:25 AM

Great .. it works 99.99%

I was gettign this error

Fatal error: Call to undefined function: getusercolor() in /home/yaxay/public_html/yack/online.php on line 1829

line 1829 was

$usercolor=getusercolor($todayuser['usergroupid'],$mod["$userid"],$highlightadmin,$userid);

so I commented it out, but now the admins and mods do not show in bold or italic :( .. any way we can fix this ? :)

Mystics 06-07-2002 07:11 AM

Quote:

Originally posted by CRego3D
I was gettign this error

Fatal error: Call to undefined function: getusercolor() in /home/yaxay/public_html/yack/online.php on line 1829

Sorry for that, I have copied the wrong code (I adjusted the Hack in my Forum a little bit).

Please download the attachment again and redo the changes in online.php.

Mystics

CRego3D 06-07-2002 10:36 PM

Ok, small problem

Most ever online: 57 on Today at 07:26 PM (on MAIN page)

that number was 73 ,, and it keeps changing .. I am not using this hack on the main page, but in combination on online.php

Any ideas

CRego3D 06-07-2002 10:40 PM

actually, it's as if every x minutes it resets itself to whathever number users is on

Mystics 06-07-2002 11:14 PM

ok, updated again.

CRego3D 06-08-2002 01:48 AM

I am not sure I undersatand what was updated .. on my instructions I see version 1.0.3 .. that's what I already had

CRego3D 06-08-2002 01:53 AM

it sems it's thje $recordusers variable that is getting messed up :p

CRego3D 06-08-2002 01:57 AM

Quote:

Originally posted by SgtSling
| Most users ever online was 43 on 01-12-2002 at 05:38 PM.

Why does my record for online users keep changing to the number that is currently online?

is something not gettig updated?

$recordusers seems t just point to whatever number I currently have online now.
how can I fix this .
I posted my code for loggedinusers on page 2
Sarge

that is my problem .. lookign thru the thread .. see if anybody foudn how to fix it


All times are GMT. The time now is 07:46 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.01302 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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