How disable the field "User Editor"?

16 years 10 months ago #38177 by nant
Replied by nant on topic Re:How disable the field
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?

Please Log in to join the conversation.

16 years 9 months ago #39930 by Zobbster
Replied by Zobbster on topic Re:How disable the field
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?

Please Log in to join the conversation.

16 years 6 months ago #45003 by wirayudha
Replied by wirayudha on topic Re:How disable the field "User Editor"?
thank you very much :), it works!

Please Log in to join the conversation.

16 years 5 months ago #48033 by zuze
Replied by zuze on topic Re:How disable the field "User Editor"?
Thank you!!! It Worked!! :cheer:

Please Log in to join the conversation.

16 years 5 months ago #48154 by jefeche
Replied by jefeche on topic Re:How disable the field "User Editor"?
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.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.281 seconds

Facebook Twitter LinkedIn