Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/12/18 in all areas

  1. Okay, now i understood. You just need to amend this code with an extra conditional statement. <?php $allusers = StatsData::UsersOnline(); $pilotid = (assign it here); foreach ( $allusers as $user) { if($user->pilotid == $pilotid) { echo 'Online'; } else { echo 'Offline'; } } ?> That should be it!
    1 point
  2. i think you miss understood me... 1 hosting account can send a max of 750 emails per hour and i am using the mass mailer; however i found my own work around by making a addon
    1 point
  3. Thank you very much @LeonardIGO4036, I appreciate your work too.
    1 point
  4. 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.'" />';
    1 point
×
×
  • Create New...