![]() |
Some assistance
I'm trying to get Afterlab's # of Days registered hack to appear in the user.php and I've got all the tables etc working as it should but everytime I view a member, it lists them as being registered for 12260 days which is incorrect.
I'm not sure why it's doing this as it works just fine in functions.php. Here is the code if anyone can give me a helping hand and the variable $userinfo[joindate] I've changed to reflect $user[joindate] which is used in user.php to show when a member joined. The date shown when they joined is listed as yyyy-mm-dd and I'm not sure if the code below takes that into account. Code:
$jointime = (time() - $user[joindate]) / 86400; // Days Joined Syl... |
Make sure you put that code before any instance of $user[joindate] as it seems to be formatted within the code. Also make sure that you put it after any instances of $user query to make sure it's actually gathering information.
|
All times are GMT. The time now is 08:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|