user edit by moderator on front end

17 years 6 months ago #23793 by jch
Hello,

I have search in the forum and nobody have ask for this hack for a long time.

I would like to know if this hack is available now.

I have already made the change to allow moderator to add user on front end. look below.

[code:1]
function registerForm( $option, $emailpass,$regErrorMSG=null ) {
global $mosConfig_allowUserRegistration, $database, $my,$_POST;
/*
if ($mosConfig_allowUserRegistration == "0"«») {
mosNotAuth();
return;
}
*/
if ( ($mosConfig_allowUserRegistration == "0"«») && (!isModerator($my->id)) ) {
mosNotAuth();
return;
}

AND

function saveRegistration( $option ) {
global $database, $my, $acl,$ueConfig,$_POST;
global $mosConfig_emailpass, $mosConfig_allowUserRegistration,$_PLUGINS;
/*
if ($mosConfig_allowUserRegistration=="0"«») {
mosNotAuth();
return;
}
JC*/
if ( ($mosConfig_allowUserRegistration=="0"«») && (!isModerator($my->id)) ) {
mosNotAuth();
return;
}
[/code:1]

So Does anybody have made the change to allow moderator to edit user on frontend ?
Thanks

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.152 seconds

Facebook Twitter LinkedIn