What variable for first name?

Mick Dawlings Posted in Technical Support 2 years ago

Using the white theme, I wanted to have members username showing, not their real name.
I cannot recall which component I disabled to have this work but the real first name is still showing on the top right hand next to the little house icon.

What is the variable I need to change to have the username show there instead of the real name.

Replies
us Mick Dawlings Replied 2 years ago

Scratch that, I just had to flush the cache it seems. I'll keep testing.

us Mick Dawlings Replied 2 years ago

I downloaded version 7.2 but it still shows the real first name on the top right hand side.

us Mick Dawlings Replied 2 years ago

I signed up, you seem to have confirmed.
I subscribed but I cannot download.

Subscribing is required to download component files

us Mick Dawlings Replied 2 years ago

Thanks very much Michael.

German Michael Zülsdorff Replied 2 years ago

I will provide an updated DisplayUsername component
on https://comz.z-mans.net/group/178/about
later today fixing your issue.

![enter image description here][ATTACHMENT:6887]

So, there's no need to apply any changes to the White theme.
[ATTACHMENT:6887]: https://www.opensource-socialnetwork.org/photoattachment/6887/screenshot-ossnz-mansnet-20231214-11-32-41.jpg

Indonesian Arsalan Shah Replied 2 years ago

You need to edit the theme sidebar

us Mick Dawlings Replied 2 years ago

My question is not why I need to do it but how :).
I assume I can use the helloworld or customstrings component to change this behavior?

us Mick Dawlings Replied 2 years ago

Because it will freak users out that think that only their username is supposed to show.
Can it be changed to the username?

Indonesian Arsalan Shah Replied 2 years ago

Ok if user see his real name on top right corner what is the issue? because only account owners can see not others.

us Mick Dawlings Replied 2 years ago

I had not but if I do that, then I see the real first and last name of the user in the side menu and the real first name next to the house icon.