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)

eva2000 01-12-2002 02:36 AM

Quote:

Originally posted by Mystics
OK, now I have finished the changes you wanted.

I have attached the Instructions and a new PHP-File in a ZIP File to this Posting. Please let me now if it's that, what you wanted.

Info: My attachment does not only contain the changes to the Original Hack....it's a complete new Hack, so it will be the best, you remove the other version of the hack.

[UPDATE]
I have forgotten something in onlinetoday.php (Moderators have not been highlighted), thanx to genial for the Fix!

I have replaced the Attachment with the new version.

off to add it now :)

eva2000 01-12-2002 02:57 AM

great it works perfectly.. screen cap of today so far :)

eva2000 01-12-2002 03:07 AM

another request... how would you allow

registered and guest users to view the onlinetoday.php page ? right now i have online.php only mod and admin viewable and it seems onlinetoday.php is the same..

i'd like

online.php to retain it's normal mod /admin only viewing

but

onlinetoday.php to be viewabe by guest and registered users as well as mods/admin

FWC 01-12-2002 03:30 AM

Quote:

Originally posted by eva2000
another request... how would you allow

registered and guest users to view the onlinetoday.php page ? right now i have online.php only mod and admin viewable and it seems onlinetoday.php is the same..

i'd like

online.php to retain it's normal mod /admin only viewing

but

onlinetoday.php to be viewabe by guest and registered users as well as mods/admin

Eva, I commented the following out at line 15 of of onlinetoday.php and it did what you wanted:
PHP Code:

if (!$usergroupdef['canwhosonline']) {
  
show_nopermission();



eva2000 01-12-2002 03:43 AM

Quote:

Originally posted by FWC
Eva, I commented the following out at line 15 of of onlinetoday.php and it did what you wanted:
PHP Code:

if (!$usergroupdef['canwhosonline']) {
  
show_nopermission();



thanks :D

FWC 01-12-2002 06:01 AM

Quote:

Originally posted by eva2000
thanks :D
You're welcome. :)

SgtSling 01-12-2002 06:34 AM

for some reason my

Most users ever online was 35 on 01-12-2002 at 08:31 AM.

keeps changing to whatever I have on at that given time

here is the code I am using for that

<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6"><a href="online.php?s=$session[sessionhash]"><normalfont color="{categoryfontcolor}"><b>Currently Active Users</b></normalfont></a><normalfont color="{categoryfontcolor}"><b>: $totalonline</b></normalfont></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}" colspan="6"><smallfont>
<nobr>There are currently $numberregistered members and $numberguest guests on the boards.</nobr> |
<nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br>
$activeusers
$birthdaybits</smallfont></td>
</tr>

Any clues?

FWC 01-12-2002 08:07 AM

I found a slight problem with onlinetoday.php when the day changed. Max users and date is fine on forumhome, but it's showing todays information on onlinetoday.php instead of the max number. I looked at Eva's board and it's doing the same thing. I've been tinkering with the code. I've managed to break it several times, but I haven't gotten it right yet. :)

eva2000 01-12-2002 09:03 AM

Quote:

Originally posted by FWC
I found a slight problem with onlinetoday.php when the day changed. Max users and date is fine on forumhome, but it's showing todays information on onlinetoday.php instead of the max number. I looked at Eva's board and it's doing the same thing. I've been tinkering with the code. I've managed to break it several times, but I haven't gotten it right yet. :)
yeah noticed that on my forums too :(

waiting for a fix :)

genial 01-12-2002 11:04 AM

in the near future i will make a new release of this hack. ;)

the new release includes all existing features and an extra todayonline-page in "who is online"-style. the display on forumhome will be dis- or enabled in admin-cp options. and specially guests will be counted. :)


All times are GMT. The time now is 10:53 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.01490 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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