PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Fri Jan 11, 2008 1:04 am Reply with quote Back to top

Hey Guys,

Not sure if this goes here. On my database row "users" it has the "last visit" column. It displays the random number code format or whatever you call it. I am wanting to know if there is a way to change it to where it shows the actual date. I am wanting to clear up my members list by deleting members who haven't logged in in a while.
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2853

PostPosted: Fri Jan 11, 2008 12:15 pm Reply with quote Back to top

What it displays is the Unix timestamp. You can use some PHP code to convert them back into string dates. Another option is the MySQL function FROM_UNIXTIME
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

PostPosted: Fri Jan 11, 2008 12:29 pm Reply with quote Back to top

Also be aware that field came from phpBB. It is only updated when people visit the forums, which may or may not be good enough for you. Unfortunately there is no "last login" field in the database.

And finally you may want to remove members using the admin panel and not something like phpMyAdmin, as that will make sure private messages and such get deleted.

The next Your_Account module should provide more support for this kind of thing, IMHO.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum