vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Members who have visited the forum (Today or last 24 hours). (https://vborg.vbsupport.ru/showthread.php?t=82769)

Boofo 07-22-2005 09:29 PM

Quote:

Originally Posted by Paul M
Just one small point - the two questions are mutually exclusive.

If you uncomment the 24 hr option then obviously the midnight question is irrelevant (or vice versa). :)

Not really. The server time is 6 hours off of my timezone. So knowing if it is set to server midnight or usertime midnight is a relevant question. ;)

cecdah 07-22-2005 10:30 PM

Installed in two minutes, and working like a charm. Thanks a lot. :)

Neutral Singh 07-24-2005 02:14 AM

gr8!! ** Aman Clicks Installed **

mvigod 07-25-2005 07:37 PM

shouldn't the 24 hour roll variable be TIMENOW rather than $now which is what you have? I installed this and it shows all users registered rather than from past 24 hours. Changing this to TIMENOW yields the correct result.

Paul M 07-25-2005 09:18 PM

Quote:

Originally Posted by mvigod
shouldn't the 24 hour roll variable be TIMENOW rather than $now which is what you have? I installed this and it shows all users registered rather than from past 24 hours. Changing this to TIMENOW yields the correct result.

Indeed it should have been - $now was correct before the last update of the code, when the $now variable was removed - but I forgot to change that 24hr line - it was actually fixed and uploaded yesterday morning - but obviously you wouldn't know this - so thanks for noticing and pointing it out. :)

Boofo 07-26-2005 09:24 PM

I uncommented the 24 hour roll-over code and it isn't rolling over now like it should. I have 2 vistors from yesterday still showing up and online today.

Paul M 07-26-2005 10:23 PM

Quote:

Originally Posted by Boofo
I uncommented the 24 hour roll-over code and it isn't rolling over now like it should. I have 2 vistors from yesterday still showing up and online today.

I am assuming you have read the previous post and have the correct version, not the one using $now.

Other than that I don't understand what your problem is. You are bound to see visitors from yesterday since it goes back 24 hours (so at 6pm today, you will have visitors back to 6pm yesterday).

Boofo 07-26-2005 10:30 PM

Quote:

Originally Posted by Paul M
I am assuming you have read the previous post and have the correct version, not the one using $now.

Other than that I don't understand what your problem is. You are bound to see visitors from yesterday since it goes back 24 hours (so at 6pm today, you will have visitors back to 6pm yesterday).

I thought it changed at the user's midnight. I am using the latest version 3.31.

Paul M 07-27-2005 11:23 AM

Quote:

Originally Posted by Boofo
I thought it changed at the user's midnight. I am using the latest version 3.31.

You seem to be confusing two options. It can run in one of two modes.

1. Members who visited today (i.e. from midnight) - which is the default as supplied.

2. Members who visited in the last 24 hours - which requires you to uncomment an extra line.

You appear to have uncommented the line for mode 2, but are expectiing mode 1.

evss 07-27-2005 02:54 PM

Installed!
thank you.


All times are GMT. The time now is 05:31 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.01839 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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