UBB.Dev
Mod Name / Version: Show Uses's last on time in their profile

Description: Mod Name / Version: Show User's last on time in their profile

Description: This minor modification adds the Last On time to a User's profile and is only viewable by Administrators and Moderators.

Updated for 6.5.

Working Under: UBB.Threads 6.

Mod Status: Beta

Any pre-requisites: N/A

Author(s): Zackary

Date: 07/07/04

Credits: Pilgrim for requesting it and reminding me that I was going to do this long ago, but never did.

Files Altered: showprofile.php
templates -> showprofile.tmpl
languages -> showprofile.php

New Files: None

Database Altered: NO

Info/Instructions: See attached file for instructions.

Attached File
Thank you for updating this. I came here tonight actually specifically looking to see if this had been updated for 6.5 (and was going to suggest it again, if it hadn't). I ended up finding that I had a need for this recently, and knew it USED to be on the board (back in 6.2 or 6.3) and didn't remember if it was a mod or was built-in to threads, and noticed it wasn't on 6.4. and missed it.

Is this still in beta state?
It's only a simple template mod. So yeah it's Final. I wrote the 6.4 version.
I have worked and worked with this on 6.5......its the stangest thing.....its visable to moderators but not to administrators?
I won't be upgrading to 6.5 so I can't help with this. Hopefully Josh can give an assist on this one.
This bit of code:
if (($thisuser['U_Status'] == "Administrator") || ($thisuser['U_Status'] == "Moderator")) {

Should be straightforward, not sure why it wouldn't be visible to Admins.

Above that you could add this debug code:
echo "Debug U_Status: {$thisuser['U_Status']}";


Then view it as an admin, and see what status it's seeing. It should say Administrator.
Ok thanks Ill try that
If I wanted it to be viewable by all users what could I change?
if (($thisuser['U_Status'] == "User") Maybe?

Any reason why I would want it available only to Admins and Mods?

*edit- Last on Wed Dec 31 1969 04:00 PM ????

Why is it showing that for everyone?
© UBB.Developers