enRaiser's blogs

    • enRaiser

      Detect First time login

      By enRaiser
      This code can help to detect first time login of user. elgg_register_event_handler(‘login’,’user’,’check_first_login’); function check_first_login($login_event, $user_type, $user) { if($user &&...
      • enRaiser

        General

        By enRaiser
        How you can list two different subtype in one listing. Here is the solution . $options = array( ‘type’ => ‘object’, ‘subtype’ =>...
        • enRaiser

          troubleshooting elgg setup

          By enRaiser
          The major issues coming while elgg setup is , mode-rewrite test fails. We think your server is running the Apache web server. The rewrite test failed and the most likely cause is that AllowOverride is not set to All for Elgg’s...