In my profile fields I have a field for nickname (profile_nickname) and a checkbox field that says "Show nickname" (profile_show_nickname). I want to let the user be able to show nickname instead of my default first name + last name that I output through Real Name modul. I submitted a patch to make use of this, but of course this needs the same profile fields as I have and that is not the right way to go I guess.
However, if you would like to make use of the patch I have submitted it here.

Cheers
/Magnus

CommentFileSizeAuthor
realname_theme.inc_.patch1.5 KBmagnus

Comments

nancydru’s picture

Okay, let me take a shot at rewriting this request in a more general way:

I would like to have a check box field that determines whether or not to use the Real Name so that individual users may turn this on or off.

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)
nancydru’s picture

Title: Show nickname » Show realname if box checked

Changing the title to remind me what to do.

magnus’s picture

In my case I always want to use RealName to output First Name + Last Name. And if the user wants to they can override this by a check box and instead show their nickname. So I don't want the user to be able to turn off RealName module.
Well, I have a hack that works for me, but it would be nice to have it implemented the right way.

nancydru’s picture

So you want a check box that says to use an alternate real name?

nancydru’s picture

Title: Show realname if box checked » Check box to use an alternate real name
magnus’s picture

Oops, forgot to post my reply before X-mas. Well, here it goes again.

Yes, I want a check box to use an alternate real name. The profile field for the alternate real name should be set by the admin, but I want the user to be able to change the profile value.

Thanks in advance!

nancydru’s picture

Status: Postponed (maintainer needs more info) » Postponed

I haven't forgotten this.

Littlebob’s picture

I would like to see something similar (I think). For logged in users, I would like them to see a first name + last name combination. For non-logged in users, I would only like them to see the first name (in order to protect the identity of my registered users).

Perhaps different profiles could be set up:
Profile 1: show first name + last name for logged in users
Profile 2: show only first name for non-logged in users

Thanks.

hass’s picture

Issue summary: View changes
Status: Postponed » Closed (outdated)