How disable the field "User Editor"?

12 years 5 months ago #38177 by nant
wojtyna1981 wrote:

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]


why?
12 years 4 months ago #39930 by Zobbster
exyfeplin wrote:

Excellent! It works.

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

thanks


I'd like to know what this effects too. Anyone have any ideas?
12 years 2 months ago #45003 by wirayudha
thank you very much :), it works!
12 years 4 weeks ago #48033 by zuze
Thank you!!! It Worked!! :cheer:
12 years 3 weeks ago #48154 by jefeche
hasnt worked for me..

All i want to do is make it so when my clients register

they wont be able to chage their names every 5 mins..

i mean youcan change name and user name with easy with community builder..

Theres no way to stop that.. thus i have fraud issues now.


how can i have it so once registered you can edit your profile settings... or selected once like most inportsnt your name.
Moderators: beatnantkrileon
Time to create page: 0.935 seconds
Facebook Twitter Google LinkedIn