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 today (with last 24 hours option). (https://vborg.vbsupport.ru/showthread.php?t=71533)

RaZor Edge 11-12-2004 06:17 PM

Quote:

Originally Posted by Paul M
Well that makes no sense at all, clearly the wrong value, but it's calculated using standard vB functions.

Remove the ECHO line and replace it with this ;

echo "Today = ".$nowday."/".$nowmonth."/".$nowyear." : Now = ".$now;

and post the result back.

also, what OS are you running your forum on ?

here's the result:

Today = d/m/Y : Now = 1100290578

My host is on UNIX... I think....

Thank you for taking time to help me with this... :nervous:

Paul M 11-12-2004 08:24 PM

Quote:

Originally Posted by RaZor Edge
here's the result:

Today = d/m/Y : Now = 1100290578

Then the calls to vbdate are failing.

I have no idea why - but I notice you are using vB 3.0.1 - so maybe it's something to do with that.


There are two choices ;

1. Try and find out why the vbdate calls are failing.

or

2. Do this quick hack ;

Replace the $cutoff line with this;

PHP Code:

$cutoff $now 86400

This will show the visitors in the last 24 hours rather than since midnight.

FleaBag 11-13-2004 12:46 AM

Simplicity in it's greatest form! Just what I was looking for... Thanks. :)

jos 11-13-2004 03:45 PM

Hi,

Is there anyway to see a record of nr of visitors (non registered) who visited a community... i get everyday lots of registered and non registered visitors... i can see now with 3.0.3 a snapshot of one day, the day i am viewing, but i have no idea how many came yesterday, or the day before or a week before.

is there anyway to hack this, to get something like this on the forums index page?

thanks
jos

Paul M 11-13-2004 06:52 PM

Quote:

Originally Posted by jos
Hi,

Is there anyway to see a record of nr of visitors (non registered) who visited a community... i get everyday lots of registered and non registered visitors... i can see now with 3.0.3 a snapshot of one day, the day i am viewing, but i have no idea how many came yesterday, or the day before or a week before.

is there anyway to hack this, to get something like this on the forums index page?

thanks
jos

Sorry, I have not seen such a hack anywhere.

dieselpowered 11-15-2004 05:51 AM

Thanks, works like a champ!

etaslim 11-16-2004 09:54 AM

installed! works great with no problem at all

internetjunkie 11-16-2004 11:25 PM

thank you kindly

cdoyle 11-17-2004 12:22 AM

Worked great!!
Thanks

Carnage Media 11-17-2004 04:44 AM

is there a way that this can be made to open in a new window? it would have the totals for the day and keep a history but you would click on it to show all the names?


All times are GMT. The time now is 09:39 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.01873 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
  • (1)bbcode_php_printable
  • (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