Drew Community  

Go Back   Drew Community > Student Forums > CLA Students > Current CLA students
uLogin ID  
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-06-2006, 11:35 AM
Anastasia Q. Sailer's Avatar
Anastasia Q. Sailer Anastasia Q. Sailer is offline
Ranger Cub
 
Join Date: Apr 2006
Location: West Milford,NJ
Posts: 54
Default Member List

If you click the member list on the top of the forums, the years are either present or from 1969! Does anyone know what is up with that?
__________________
~Stacy
Reply With Quote
  #2  
Old 06-06-2006, 11:42 AM
Russell W. Sprague's Avatar
Russell W. Sprague Russell W. Sprague is offline
Moderator
 
Join Date: Jun 2005
Location: Hoboken, NJ
Posts: 130
Default

Yes, those who have not visited the community forums have the "last visited" date set to a default value of 1969.
__________________
Russell Sprague
Enterprise Applications Administrator and Consultant

the Enterprise Technology Center
Reply With Quote
  #3  
Old 06-06-2006, 10:17 PM
Zachary C. Kanfer
 
Posts: n/a
Default

the Unix epoch, I assume?
Reply With Quote
  #4  
Old 06-07-2006, 12:07 AM
E. Axel Larsson's Avatar
E. Axel Larsson E. Axel Larsson is offline
Moderator
 
Join Date: Jun 2005
Location: Madison, NJ
Posts: 303
Default

Quote:
Originally Posted by Zachary C. Kanfer
the Unix epoch, I assume?
Correct indeed, sir. It is UNX Time. The user's last visit time is stored in the vBulletin database in the users table column "lastvisit" which is defined as an int with a default value of 0.

In a normal installation of vBulletin, like for a public web forum, users self-register on the site, so the default value never gets used. Our vBulletin users are created in the database by an Identity Manager driver when the uLogin accounts get created. Right now that driver doesn't give lastvisit a value, but we do set joindate equal to the current time. I could do the same for lastvisit, but that seems worse...

Let me see if I can just hack the member list page view to say "Never" instead. I don't like to mess with third-party code, but we already did that for vBulletin to integrate with iChain single-sign-on anyway...
__________________
E. Axel Larsson
Systems Architect and Director of the Enterprise Technology Center

Last edited by E. Axel Larsson : 06-07-2006 at 12:46 AM.
Reply With Quote
  #5  
Old 06-07-2006, 12:38 AM
E. Axel Larsson's Avatar
E. Axel Larsson E. Axel Larsson is offline
Moderator
 
Join Date: Jun 2005
Location: Madison, NJ
Posts: 303
Default

Quote:
Originally Posted by E. Axel Larsson
Correct indeed, sir. It is UNX Time. The user's last visit time is stored in the vBulletin database in the users table column "lastvisit" which is defined as an int with a default value of 0.

In a normal installation of vBulletin, like for a public web forum, users self-register on the site, so the default value never gets used. Our vBulletin users are created in the database by an Identity Manager driver when the uLogin accounts get created. Right now that driver doesn't give lastvisit a value, but we do set joindate equal to the current time. I could do the same for lastvisit, but that seems worse...

Let me see if I can just hack the member list page view to say "Never" instead. I don't like to mess with third-party code, but we already did that for vBulletin to integrate with iChain single-sign-on anyway...
OK Zach. It now says N/A in the Member List if the person has never visited the forums. The code was already checking explicitly for a value of 1 in lastactivity or lastvisit, which is strange considering the columns in the database were defined to have a default value of 0.

So... fixable without having to change their code...
__________________
E. Axel Larsson
Systems Architect and Director of the Enterprise Technology Center

Last edited by E. Axel Larsson : 06-07-2006 at 12:46 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 03:33 PM.


Powered by vBulletin® Version 3.5.7
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.

Drew University is not responsible for the content of posts made on this site. All posts and comments reflect the opinion of the author.