Real name in Chat

Is it possible to use the real name in Chat, rather than a nickname? Thanks!

Quote · 23 Jan 2011

...and also in Blog posts...?

Quote · 23 Jan 2011

 

...and also in Blog posts...?

ask it from Rayz here

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 24 Jan 2011

I've sent him a message, I'll report back if there's a positive result for other members wishing to modify these areas.

Quote · 24 Jan 2011

He replied but wanted cPanel access, admin access and $10. AntonLV wrote a more security conscious reply detailing the following simple change (without the need for full access to our server!):

Find:
flash/modules/global/inc/customFunctions.inc.php

Select:
$sNick = $aUser['NickName'];

...and replace it with:
$sNick = $aUser['FirstName'] . ' ' . $aUser['LastName'];

Job done.

Quote · 26 Jan 2011

 

He replied but wanted cPanel access, admin access and $10. AntonLV wrote a more security conscious reply detailing the following simple change (without the need for full access to our server!):

Find:
flash/modules/global/inc/customFunctions.inc.php

Select:
$sNick = $aUser['NickName'];

...and replace it with:
$sNick = $aUser['FirstName'] . ' ' . $aUser['LastName'];

Job done.

Cool!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 26 Jan 2011

Th only problem with this modification is that it also changes the "View Profile" URL in Chat... so instead of sending the enquirer to "yoursite.com/username" it sends them to "yoursite.com/FirstName%20LastName ... which of course shows an invalid profile. Can you think of a way to modify the view profile links to preserve the nickname in the link but the real name as the text?

Quote · 30 Jan 2011

 

Th only problem with this modification is that it also changes the "View Profile" URL in Chat... so instead of sending the enquirer to "yoursite.com/username" it sends them to "yoursite.com/FirstName%20LastName ... which of course shows an invalid profile. Can you think of a way to modify the view profile links to preserve the nickname in the link but the real name as the text?

You can use this link: http://my_site.com/profile.php?ID=1

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 30 Jan 2011

I think the line to insert that would be the following - can you edit it appropriately... thanks!

$sProfile = getParam('enable_modrewrite') == "on" ? $sRootURL . $sNick : $sProfileUrl . "?ID=" . $sId;

Quote · 30 Jan 2011

 

I think the line to insert that would be the following - can you edit it appropriately... thanks!

$sProfile = getParam('enable_modrewrite') == "on" ? $sRootURL . $sNick : $sProfileUrl . "?ID=" . $sId;

You are welcome

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 30 Jan 2011

...we're almost there... can you show me where to insert the URL text you suggested?

Quote · 30 Jan 2011

File to edit in D7.0.4 - /flash/modules/global/inc/customFunctions.inc.php

In addtion to

$sNick = $aUser['FirstName'] . ' ' . $aUser['LastName'];

I changed

$sProfile = getParam('enable_modrewrite') == "on" ? $sRootURL . $sNick : $sProfileUrl . "?ID=" . $sId;

to

$sProfile = getParam('enable_modrewrite') == "on" ? $sRootURL . $aUser['NickName'] : $sProfileUrl . "?ID=" . $sId;

And that seemed to work fine in browsers other than IE  for some reason it won't let me get to any profile in IE. I can see first name and last name and click to get to user's profile in Firefox.  BTW it doesn't seem to work in IE to click the profile name and get a profile without this mod either....just noticed this.

 

Augustus

Augustus - Learnin' Like the Rest of Us
Quote · 8 Feb 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.