How disable the field "User Editor"?

13 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)?

Please Log in to join the conversation.

13 years 8 months ago #31683 by knarz
Replied by knarz on topic Re:How disable the field "User Editor"?
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

Please Log in to join the conversation.

13 years 8 months ago #31701 by KurtSteiner
Replied by KurtSteiner on topic Re:How disable the field "User Editor"?
hey thanks, i often thought that i have to think abaout that:kiss: :kiss: :kiss:

sunny regards from Germany

BERND (Kurt Steiner)

Please Log in to join the conversation.

13 years 8 months ago #31709 by Shiva
Replied by Shiva on topic Re:How disable the field "User Editor"?
Wow, thank you very much! I wouldn't have found this solution...

Please Log in to join the conversation.

13 years 5 months ago #37115 by exyfeplin
Replied by exyfeplin on topic Re:How disable the field "User Editor"?
Excellent! It works.

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

thanks

Please Log in to join the conversation.

13 years 5 months ago #38168 by wojtyna1981
Replied by wojtyna1981 on topic Re:How disable the field "User Editor"?
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]

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.431 seconds

Facebook Twitter LinkedIn