vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   An easy way to record frequency of member visits (https://vborg.vbsupport.ru/showthread.php?t=163542)

mistyPotato 11-24-2007 11:38 PM

An easy way to record frequency of member visits
 
I would like to accomplish a few goals.
They "seem" simple enough but doesn't everything...UNTIL you try to do it.

Simply put...I would like to record the frequency of members visits.

Ideally, there would be two fields, a date stamp field indicating when the counting started and another field indicating the number of visits since that date.

There would be an option to reset the start date and count for a particular usergroup or member(s)

It seems that right after a successful log in, it would be simple update these data fields.

Doesn't that sound terribly easy?

Lynne 11-25-2007 03:21 AM

I *think* what you want to do is in the login script, if a new session is required, then you add to the count. I'm pretty sure that every time you visit, you get a new session id and that session id stays valid throughout your visit. I didn't look into this, but it's a place to start.

mistyPotato 11-26-2007 12:38 PM

Thank you sweety.

Checking into that now. :up:


All times are GMT. The time now is 10:39 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.01034 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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