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
| Comment | File | Size | Author |
|---|---|---|---|
| realname_theme.inc_.patch | 1.5 KB | magnus |
Comments
Comment #1
nancydruOkay, let me take a shot at rewriting this request in a more general way:
Comment #2
nancydruComment #3
nancydruChanging the title to remind me what to do.
Comment #4
magnus commentedIn 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.
Comment #5
nancydruSo you want a check box that says to use an alternate real name?
Comment #6
nancydruComment #7
magnus commentedOops, 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!
Comment #8
nancydruI haven't forgotten this.
Comment #9
Littlebob commentedI 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.
Comment #10
hass commented