profile display email as links?

Is it possible to have the email address and web address be links rather than static text?

In other words when the email address and web address is displayed on a profile is it possible to have those to elements click-able?

Quote · 30 Nov 2009

I would like to know this as well.

Quote · 20 Jan 2010

Dol.6.1.6

You can try this, open file inc/classes/BxDolProfileFields.php and find function getViewableValue( $aItem, $sValue ) {
Added code is bold


function getViewableValue( $aItem, $sValue ) {
switch( $aItem['Type'] ) {
case 'text':
switch( $aItem['Name'] ) {
case 'Email':
return nl2br( '<a href="mailto:' . $sValue . '">' . $sValue . '</a>' );
case 'Website':
return nl2br( '<a href="http://' . $sValue . '" target="_blank">' . $sValue . '</a>' );
default:
return $sValue;
}
break;

case 'num':

Item name to links is Website inside Fields builder (Type: need to be text),

members need to write web adresse without this http://

Quote · 21 Jan 2010

Worked like a charm. thanks.

Quote · 2 Feb 2010
 
 
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.