How disable the field "User Editor"?

12 years 8 months ago #31682 by Shiva
How can I disable the field "User Editor" in the form for editing a profile (the option does not show in the form for registration)?
12 years 8 months ago #31683 by knarz
ahh ok i found it out (after searching the forum) ;)

Global Site Configuration -> Turn "Frontend User Params" to NO.

thats it :)

Post edited by: knarz, at: 2007/02/21 12:31
12 years 8 months ago #31701 by KurtSteiner
hey thanks, i often thought that i have to think abaout that:kiss: :kiss: :kiss:

sunny regards from Germany

BERND (Kurt Steiner)
12 years 8 months ago #31709 by Shiva
Wow, thank you very much! I wouldn't have found this solution...
12 years 6 months ago #37115 by exyfeplin
Excellent! It works.

Does anyone know if anything else is affected by disabling "front-end user params" ?

thanks
12 years 5 months ago #38168 by wojtyna1981
You need to delete/uncomment lines 206 till 215 in cb.core.php file
[code:1]if ( ( count( $userParams ) > 0 ) && in_array( $mainframe->getCfg( "frontend_userparams" ), array( '1', null) ) ) {
//Loop through each parameter and render it appropriately.
foreach($userParams AS $userParam) {
$return .= "<tr>\n";
$return .= "<td class=\"titleCell\">" . $userParam[0] . ":</td>\n";
$return .= "<td class=\"fieldCell\">" . $userParam[1];
$return .= getFieldIcons($ui, false, false, (isset($userParam[2]) && class_exists("JText"«») ? JText::_($userParam[2]) : null), (isset($userParam[3]) && class_exists("JText"«») ? JText::_($userParam[3]) : null));
$return .= "</td></tr>\n";
}
}[/code:1]
Moderators: beatnantkrileon
Time to create page: 0.439 seconds
Facebook Twitter Google LinkedIn