FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » A few suggestions
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: A few suggestions [message #33749 is a reply to message #33746] Mon, 18 September 2006 19:17 Go to previous messageGo to previous message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma:
Senior Member
Contributing Core Developer
Translator
Ilia wrote on Mon, 18 September 2006 19:25


The shown time is of "last visit" not last login. And login in FUDforum can last for month or even years given long term cookie age settings.



Well, I thought the procedure could be like this:
  • The user visits the user.
  • The forum checks the session of the forum.
    • User is still in the same session as he was on the request before and no cookie has to be used: In this case the "last visit" will not be updated.
    • The forum has to create a new session for the user or the forum has to use the cookie: In this case the "last visit" is either the time of the end of the last session or (if this can't be determined) the time of the last action of the user.


Ilia


JanRei


Wouldn't it be enough to check whether the user id is 0? In this case you can show "Unknown user" or something like that. According to my observations former members have got an id that is not 0.

There is also account removal to consider.

I did consider account removal. When the admin deletes an user this doesn't affect the action list. I still think that checking the user_id field in the fud26_action_log table is the easiest way.

[Updated on: Mon, 18 September 2006 19:24]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Last message in longer threads "squished"
Next Topic: PHP5
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 07:36:46 GMT 2024

Total time taken to generate the page: 0.05018 seconds