Jump to content

aktorsyl

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

1 Neutral

About aktorsyl

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. One issue I picked up with iCrew LITE, when you edit your own profile - you get an error saying the email address is not filled in (while it is), and your custom data fields also don't insert into the database. Both fixes are listed below: In profile_edit.php: Change: <input type="text" class="form-control" value="<?php echo $userinfo->email;?>"> to: <input type="text" name="email" class="form-control" value="<?php echo $userinfo->email;?>"> and, further down in the same file, Change: echo '<input type="text" class=" name="'.$field->fieldname.'" value="'.$field->value.'" />'; to: echo '<input type="text" name="'.$field->fieldname.'" value="'.$field->value.'" />';
  2. Hi guys - the default installation of iCrew LITE sometimes does not automatically go to the login page if you visit the site while not logged in, or when your login session expires. I'm posting the fix below. Hope this helps some of you: In index.php in the root of phpvms: define('CODON_DEFAULT_MODULE', 'Frontpage'); change to: define('CODON_DEFAULT_MODULE', 'Profile'); And in modules/Profile/Profile.php: public function index() { if(!Auth::LoggedIn()) { $this->set('message', 'You must be logged in to access this feature!'); $this->render('core_error.php'); return; change to: public function index() { if(!Auth::LoggedIn()) { $this->render('login_form.php'); return;
×
×
  • Create New...