Shepred Posted July 17, 2013 Report Share Posted July 17, 2013 Good morning everyone! Hope you're all enjoying this lovely summer. I have some problems with my skinning. #1 For some reason, the pilots list, claims that everyone joined the 1st of January 1970 - any fix for this? Code: <td align=center><?php echo date(DATE_FORMAT, strtotime($userinfo->joindate)); ?></td> I have "d M Y" set in the Admin Center. #2 I'd like to replace the default navigation bar, with something custom, I managed to remove the buttons themself, but not the navigation bar in itself, to be replaced. Does anyone know how to achieve this? Code: <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <?php } else { // Show these items only if they are logged in ?> <?php } ?> <?php echo $MODULE_NAV_INC;?> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { } ?> <?php } ?> Thanks for any help, in advance! Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted July 17, 2013 Members Report Share Posted July 17, 2013 Which files are you modiefiing ? Quote Link to comment Share on other sites More sharing options...
Tom Posted July 17, 2013 Report Share Posted July 17, 2013 #1 Check your database, it would seem your joindate is being entered as 0 (which in epoch time is 1/1/1970) #2 To edit the navigation copy the core_navigation.tpl into your skin folder - don't edit the core template. Quote Link to comment Share on other sites More sharing options...
Shepred Posted July 18, 2013 Author Report Share Posted July 18, 2013 #1 Check your database, it would seem your joindate is being entered as 0 (which in epoch time is 1/1/1970) #2 To edit the navigation copy the core_navigation.tpl into your skin folder - don't edit the core template. Hi Tom & Vangelis, thanks for your reply! @Tom, this is how my database looks, when it comes to joindate: Also, I did copy the core_navigation.tpl into my own skin folder. Could it be caused by not removing the CSS? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.