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

Home » FUDforum Development » Plugins and Code Hacks » Admin Members List
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Admin Members List [message #25007 is a reply to message #24934] Sun, 22 May 2005 05:10 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
This would be quite an interesting mod. Here are some pointers:

jonmoss wrote on Thu, 19 May 2005 03:37

I noticed in the database that this field (the last_visit field) was not a date field but rather a bigint field. Are you using a function to convert the integer to a date?


You don't need to bother with the strftime() PHP function. Just copy the "finduser_join_date" section to say, "finduser_last_visit_date" in FUDData/thm/default/tmpl/date_formats.tmpl, and use it in FUDData/thm/default/tmpl/finduser.tmpl

jonmoss wrote on Thu, 19 May 2005 03:47

How do I find the find_user_data template?


find_user_data is constructed in FUDData/src/finduser.php.t - you need co change the query from table "users" to include the "last_visit" column.

Best regards.

Frank
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: pubcookie authentication
Next Topic: Protector Scrit - use FUDForum as Central Login Manager
Goto Forum:
  

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

Current Time: Thu Dec 05 03:17:47 GMT 2024

Total time taken to generate the page: 0.03704 seconds