$comment->user_id Nice name instead of ID?
-
How can I change
if ($comment->user_id) {$user=$comment->user_id; echo $user}
to output a nice name instead of the ID?I’ve tried using
$user_identity
but haven’t been able to get it to work.Basically if the commenter was a registered user I want to output their name on the comment.
Any help, please? ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘$comment->user_id Nice name instead of ID?’ is closed to new replies.