Welcome, Guest. Please Login or Register.
May 10, 2025, 09:12:47 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Counting Logins (Activity Check) « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Counting Logins (Activity Check)  (Read 570 times)
Zayexi Hayati
Noobie
*
Posts: 25


Making this forum better one post at a time.

WWW
Counting Logins (Activity Check)
« on: March 22, 2003, 02:51:42 AM »
Reply with quote

Is there a way to count the amount of times a member has logged in>?
If not ho hard would it be to keep track of that>?
Logged

The important thing is not to stop questioning.
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Counting Logins (Activity Check)
« Reply #1 on: March 22, 2003, 03:05:34 AM »
Reply with quote

It´s really easy but in my eyes useless!
there are ppl very active on a board, but they log in only once@month!

and other ppl log in each day five times but they stay only for seconds on the board!

better is to track the time an user is online on the board...

just my 2.5 cents

mediman
Logged

mainComm Dev Team
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Counting Logins (Activity Check)
« Reply #2 on: March 22, 2003, 03:22:29 AM »
Reply with quote

Quote from: mediman on March 22, 2003, 03:05:34 AM
better is to track the time a user is online on the board...

there's a mod for this in the completed mods board
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Zayexi Hayati
Noobie
*
Posts: 25


Making this forum better one post at a time.

WWW
Re:Counting Logins (Activity Check)
« Reply #3 on: March 22, 2003, 07:34:44 AM »
Reply with quote

Quote from: mediman on March 22, 2003, 03:05:34 AM
It´s really easy but in my eyes useless!
there are ppl very active on a board, but they log in only once@month!

and other ppl log in each day five times but they stay only for seconds on the board!

better is to track the time an user is online on the board...

just my 2.5 cents

mediman
Well I understand the reasoning. But my promotion system work on amount of logins within a specific period. I know that it is subject to abuse. But  that is our current system.
Maybe I can change it but at the moment I would like to know if that is possible. You mention it is an easy mod to make. Could you please help me or at least point me in the right direction.
Logged

The important thing is not to stop questioning.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Counting Logins (Activity Check)
« Reply #4 on: March 22, 2003, 07:58:56 AM »
Reply with quote

i think counting on the login times is not fair
if a user sets login to forever (saves the login in the cookies), he wont get any increase in the login total
and as u said, it can be abused easily

however, if u still want to make it:
- make a new column in members table, probably something like: `loginTotal` INT(10) NOT NULL
- code the increment in function Login2() in LogInOut.php, just make something like: UPDATE {$db_prefix}members SET loginTotal=loginTotal+1 WHERE...

Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Zayexi Hayati
Noobie
*
Posts: 25


Making this forum better one post at a time.

WWW
Re:Counting Logins (Activity Check)
« Reply #5 on: March 22, 2003, 06:47:52 PM »
Reply with quote

I will try that SS and I will also search for the mod you mentioned I will let my mebers decide on which one they prefer.
thanks in advance.
Logged

The important thing is not to stop questioning.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Counting Logins (Activity Check) « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.138 seconds with 21 queries.