Approving A User
If you are handling your own user registrations, you may invoke the following method to approve a user.
require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/easysocial.php'); $user = ES::user($id); $user->approve(bool $sendEmail);
$sendEmail - (Optional) If this is not specified, it is defaulted to send the user a notification e-mail.
public function approve($sendEmail = true)