Re-read the last line of my previous post and don't PM me please, just be patient.
Okay thank you for your help and sorry it won't happen again, was just stressed out that this small amount of code was getting the best of me I guess. Somehow I missed the last line of your post...I don't know how I managed to do that.
Quote:
Originally Posted by Boofo
Thus is all I use in the 2 hooks to get it for Admins and Mods:
I've been using this same code since 3.5.4 and it still works fine in 3.7.0 beta 4. You had it right in the first post except for the missing true.
I got the location code if you need that, too.
Thanks Boofo I will try this right away, now I see what Opserty was trying to tell me before.
Sweet thanks guys now it works! Although I did have to make two plugins because vb won't let me use two hook locations for one plugin but whatever I got it working now.
Code:
$user['datejoined'] = vbdate('l dS \of F Y h:i:s A', $user['joindate'], true);
$jointime = (TIMENOW - $userinfo['joindate']) / 86400;