no profile title

Hi there, can anyone can tell me how to get rid of the profile photo title field. I don't want titles for profile photos. Does anyone know which code to change. Cheers all. J
Quote · 26 Jul 2008

Hi every one,
I figures it out,

Simply comment out some code in the upload_media.php file.

Find:

$ret .= '<div>';

$ret .= _t('_Title');

$ret .= '&nbsp;(&nbsp;<span id="charCount" class="charCount">' . $oMedia -> aMediaConfig['max']['mediaTitle'] . '</span>';

$ret .= '<span class="charCount">' . _t('_characters_left') . '</span>&nbsp;)';

$ret .= '</div>' . "\n";

$ret .= '<div>';

$ret .= '<input type="text" name="title" class="title" id="mediaTitle" onkeydown="return charCounter(\'mediaTitle\', ' . $oMedia -> aMediaConfig['max']['mediaTitle'] . ', \'charCount\');" onkeyup="return charCounter(\'mediaTitle\', ' . $oMedia -> aMediaConfig['max']['mediaTitle'] . ', \'charCount\');"  />';

$ret .= '</div>' . "\n";

and replace with

//$ret .= '<div>';

//$ret .= _t('_Title');

//$ret .= '&nbsp;(&nbsp;<span id="charCount" class="charCount">' . $oMedia -> aMediaConfig['max']['mediaTitle'] . '</span>';

//    $ret .= '<span class="charCount">' . _t('_characters_left') . '</span>&nbsp;)';

//$ret .= '</div>' . "\n";

//    $ret .= '<div>';

//$ret .= '<input type="text" name="title" class="title" id="mediaTitle" onkeydown="return charCounter(\'mediaTitle\', ' . $oMedia -> aMediaConfig['max']['mediaTitle'] . ', \'charCount\');" onkeyup="return charCounter(\'mediaTitle\', ' . $oMedia -> aMediaConfig['max']['mediaTitle'] . ', \'charCount\');"  />';

//    $ret .= '</div>' . "\n";

Cheers

J

Quote · 26 Jul 2008
 
 
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.