Welcome, Guest. Please Login or Register.
May 04, 2025, 01:30:57 AM
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  |  last logged in mod « previous next »
Pages: [1] Reply Ignore Print
Author Topic: last logged in mod  (Read 924 times)
bartolomeu
Jr. Member
**
Posts: 60


WWW
last logged in mod
« on: April 21, 2002, 07:41:28 AM »
Reply with quote

I looked around and couldnt find this anywhere in the forums, but I noticed there is a spot in the database storing the last time a user logged in.

If there ISN'T a spot already to look this up, how bout a mod that adds this - either to admins only or to all users.  Also perhaps a log of the last 10 log ins in the "View forum access log."

If there IS a spot for this already please let me know and move this topic to the proper board ;)
Logged
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:last logged in mod
« Reply #1 on: April 21, 2002, 05:20:38 PM »
Reply with quote

I don't think this field is utilised apart from the 'inactive members' in the admin control panel.

However you might be able to utilise it a bit more?
Logged

You can't have everything... where would you put it? -- Steve Wright
bartolomeu
Jr. Member
**
Posts: 60


WWW
Re:last logged in mod
« Reply #2 on: April 21, 2002, 05:55:09 PM »
Reply with quote

how do I convert / read the value in last logged field?

It wouldn't be beyond even my feeble PHP ability to add the lines to call the variable and display it (of course, making it admin only would be hehe).
Logged
Coyote
YaBB God
*****
Posts: 702


I love YaBB SE!

Re:last logged in mod
« Reply #3 on: April 23, 2002, 05:49:32 PM »
Reply with quote

I like this idea!!!

Hmmm, i think so - yes..... its a good idea!!

some one gonna make it a mod?
Logged

To the world - you are just one person, but to one person you are the world!
bartolomeu
Jr. Member
**
Posts: 60


WWW
Re:last logged in mod
« Reply #4 on: April 23, 2002, 10:11:47 PM »
Reply with quote

I'm gonna duplicate the code from the inactive members view page and add it into a member's profile.  This will at least show something like "Last logged in %days% ago."

Once I take the time to figure out what the code is to convert the value in the last logged field into time and date I'll change it to read "Last logged in on %date&time%, or %days% ago."

Weee my first time putzing with the code without someone over my shoulder... fear the code :)
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  last logged in mod « 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.027 seconds with 17 queries.