I've searched the forum quite extensively and found no real solution to this. It looks like it is a feature requested by multiple users and would make a good addition, I believe. All I want is to display "FirstName" "LastName" next to the avatar instead of the nickname, and use "FirstName" "LastName" for searches, blogs, etc...basically eliminating the nickname all together. I realized from other posts that privacy is a concern, but my site is not a dating site, but rather a business networking site. Privacy from full names is not a concern to my users, much like facebook actually. If there is a way to change these things I would be forever grateful. I'm assuming it would be quite the undertaking, but if somebody tells me what to do and I get it working I'll post the files here for others to use. |
I have a mod that does this for D6, but the avatars are awfully tiny in D7 - you will either have to change their size or use a very tiny font. Let me know if you want the D6 code. |
Well in D7 the nick next to the avatar is a decent sized font. If it controls that, I would love to take a look at the mod.
Thanks!
|
christraeger - I didn't get your private message - could you resend, for some reason I don't get all my messages here, though I get the alerts. I've pasted the D6 code below. This was a modification that okweb helped me with. Please note I used the profile field "FullName" - not first name and last name, so in addition to making this work for D7, you will also have to correct that. I'm interested in this mod also, let me know how it works.
Rob
Change NickName to FullName -> browse.php
~line 206 $profiles_list_query =
"SELECT `ID`, `NickName`, `Sex`, `DateOfBirth`, `Couple` FROM
`Profiles` WHERE {$sql_add} AND `Profiles`.`Status`='Active' ORDER BY
`Couple` ASC, `Picture` DESC LIMIT {$real_first_p}, {$p_per_page}";
Add FullName to sql query: $profiles_list_query = "SELECT `ID`, `NickName`, `Sex`, `DateOfBirth`, `FullName`, `Couple` FROM `Profiles` WHERE {$sql_add} AND
`Profiles`.`Status`='Active' ORDER BY `Couple` ASC, `Picture` DESC
LIMIT {$real_first_p}, {$p_per_page}";
~ line 247 $cont .=
get_member_thumbnail($arr['ID'], 'none', true ) . '<div
class="browse_nick"><a href="' . getProfileLink($arr['ID']) .
'">' . $arr['NickName'] . '</a></div></div>';
Change NickName to FullName: $cont .=
get_member_thumbnail($arr['ID'], 'none', true ) . '<div
class="browse_nick"><a href="' . getProfileLink($arr['ID']) .
'">' . $arr['FullName'] . '</a></div></div>';
|
Yea, it doesn't look like browse.php is controlling this stuff in D7. I'm not sure which php page controls this. Anybody else know? |
I would be interested in this as well gentlemen.
I would personally like users to be able to login using real names and the option that admin could set real names as the default to be displayed in profiles etc unless the user manually over rode that option. I removed username from the join page and when i tested the joining the site that way, it allowed me to join no problem, but doesnt show the user online as its looking for their username and also doesnt show a name when you look at their profile. I cant believe that dolphin has been in developement so long and basic things like this are still missing. v7 is VERY limited on the admin side especially when it comes to users.
Well thats my two pennies worth:-)
Jim
|
Anybody?
Still haven't found a solution.
|
This is still a problem, at least with my site. I can't seem to locate the code I need to edit. Any help would be greatly appreciated. |
|
Ok, here is what I'm trying to do. Pointing me in the right direction is all it will take. I'll just keep hacking the pages til I get it working:



|
|
I'd hate to start a new topic, but this is pretty crucial to my site. A point in the right direction would be great. I started playing with my php files, changing nickname to FirstName but it just turns up errors and disabling portions of the site. Some insight would be GREATLY appreciated, I'll share the files if I get them working. |
One solution could be this, not sure if it is what you want, but it's something.
Get rid of the 'First' and 'Last' name fields on your join page and profile pages just remove the boxes in the page builders menu in the admin area.
Then go to the language setting and change the _nickname key to display 'Name' instead of 'Nickname' so then on the Join form the 'Nickname' field will just show 'Name' and on the profiles it will show 'Name' although in the 'background' it is still a nickname for the system, but no one will see that.
Let me know if that solves your problem. It worked for us on our D6 site fine, D7 looks like it works the same.
|
Oh, the only thing is you will need to make sure that your members put a '_' between their first and last name, the system will not allow a space in the profile intentification field ie: nickname. So just put that in the notes or specify it next to the new 'Name' field (ie: nickname)
Let me know if you have any questions.
|
Does anyone have solution to this?????
It's great the members to be displayed at least by their first name instead of nickname.
|
Oh, come on! Boonex crew should know about how to set this up!
Come out, come out wherever you are! :) No, really guys, any clue?
|
RE: Oh, come on! Boonex crew should know about how to set this up!
Come out, come out wherever you are! :) No, really guys, any clue?
Maybe you should start another 'Urgent' thread.
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Hahhah :) Just trying to get answer to this one. I'd like to see "Hello, Peter!" instead of "Hello, admin!"
I hope it's not that hard, is it?
My best regards to you!
|
Did anybody ever come up with a fix to this? I like the idea of usernames throughout the site, but for what I'm using dolphin for, real names just work better.
Thanks
Chri
|
templates/base/BxBaseBrowse.php
Look for this:
function getBlockCode_SearchedMembersBlock() {
Then look at everything below it. Sorry, not enough time to play with all of this but it looks like that's what you want.
|
All those different areas are likely in the modules folders. The videos display code is in the modules/boonex/videos/ directory somewhere and so on. I haven't gone through it but if you dig around you'll find it.
sup |
Hahhah :) Just trying to get answer to this one. I'd like to see "Hello, Peter!" instead of "Hello, admin!"
I hope it's not that hard, is it?
My best regards to you!
here is the skinny on real name vs nickname on D7 at least. and this is only my opinion, and from what i have learned. the username is supposedly unique, meaning that if you have a user registered with the Name Peter, the security on D7 will not allow for another to register and use that username nickname. i had initially believed this the $alt, but later figured out that wasnt the case, however, what was discovered was that you have three mediums in which to login with:
USERID :
Email Address:
NickName:
now, if you wish your nickname to be something other than admin, then dont do the installation with the word 'admin' create the admin username with the name you wish to have depicted.
Regards,
DosDawg
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
sup |
The above thread shows a valid way of replacing Username with Firstname, under the avatar in the search results. However there are many more places that Username is still displayed. Wall, next to the avatar on the profile, the hello on the front page...
I am searching and posting in every thread that relates to this.
I want to replace every instance that the Username is displayed with $firstname.
Thanks.
|
Ok, here is what I'm trying to do.



Bump for this perfect illustration.
|
|
I digged the dolphin and find the way to change username to full name(see the photo)

So! here are the steps:
Open templates/base/scripts/BxBaseIndexPageView.php for 7.0.8 and design.inc.php for older.
Find $aInfo at line 935 (line no. may change)
Change this:
$sLoginSection = '';
$aInfo = getProfileInfo();
$sWelcomeElement = '<div class="label_thumbnail">' . get_member_thumbnail($aInfo['ID'], "left", false) . '</div><div class="label_thumb">' . _t('_Hello member', $aInfo['NickName']) . '</div><div class="clear_both"></div>';
To this:
$sLoginSection = '';
$aInfo = getProfileInfo();
$firstname=$aInfo['FirstName'];
$lastname=$aInfo['LastName'];
$name=$aInfo['FirstName']." ".$aInfo['LastName'];
$sWelcomeElement = '<div class="label_thumbnail">' . get_member_thumbnail($aInfo['ID'], "left", false) . '</div><div class="label_thumb">' . _t('_Hello member', $name) . '</div><div class="clear_both"></div>';
done. enjoy........:)
so much to do.... |
I am running Dolphin 7.0.6 and just made that change in my design.in.php
Still displays the "Hello Admin!".
Any Ideas?
|
Is your member First and Last name is filled in profile?
Try to replace with this file in attachment.
I have not tested it on 7.0.6 because i don't have it rightnow but it should work.
I am running Dolphin 7.0.6 and just made that change in my design.in.php
Still displays the "Hello Admin!".
Any Ideas?
Visit http://www.boonex.com/forums/#topic/Change-your-site-s-nickname-to-fullname-.htm for more.
so much to do.... |
what about a way to change the 'nickname' to full name on the spy wall etc, i have managed to change 'nickname' to full name on most other things like, next to profile pic, and on friends list but cant seem to find a way to change the name on the spy wall etc,
Thanks in advance
Charlie
You Creature!! |
Why you posted it here?
The zip is updated by wall addition. download it.
what about a way to change the 'nickname' to full name on the spy wall etc, i have managed to change 'nickname' to full name on most other things like, next to profile pic, and on friends list but cant seem to find a way to change the name on the spy wall etc,
Thanks in advance
Charlie
so much to do.... |
Very nice! I'm glad to see others are finding this a useful topic!
|