Welcome to Geeklog, Anonymous Friday, April 26 2024 @ 12:42 am EDT

Geeklog Forums

Mod Whos online to show Fullname instead of user


Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
caffeinated
Hi Gang.

Can anyone explain to me how to change the who's online block to show full name instead of username? I know I have to modify the block in lib-common.php but not sure what to change the uid and username to. Please help.

Thanks.
The Dude
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Find function phpblock_whosonline() and replace all 3 occurences of 'username' with 'fullname'.

bye, Dirk
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
Wow. That's a very fast response. Many thanks Dirk.. That solves my problem.. As usual... You da man...

The Dude
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by thedude: That solves my problem..

Well, not entirely. For users that that didn't enter their full name, it would display an empty string.

bye, Dirk
 Quote

All times are EDT. The time is now 12:42 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content