Jump to content

turtle6340

Members
  • Posts

    41
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

turtle6340's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Sorry so long in the reply to this .. It was my fault (was using FSFK 2.8), Thomas had fixed it for v3 and up.. Once updated, everything is great !!
  2. I hope you're right hahaha still waiting on a response on their site .. kinda baffling ..
  3. ok will do thanks Nabeel As a side note I did a one hour flight at 23000 and still same prob ..
  4. Just a quick question, I did a small VFR flight to test the fsfk images etc and all worked great.. Except, it did not upload a landingprofile or verticalprofile map Could that be because a) the flight was only at 2500 ft and only 8 minutes in length? Just curious ...
  5. Maybe not the cleanest way but this works for me .... Add this to TopPilotData.class public function alltime_miles ($howmany) { $query = "SELECT pilot_id, SUM(miles)AS 'total' FROM top_flights GROUP BY pilot_id ORDER BY total DESC LIMIT $howmany"; return DB::get_results($query); } Then in tp_index I added .. $all_miles= TopPilotData::alltime_miles(5); foreach($all_miles as $all) { $pilot = PilotData::GetPilotData($all->pilot_id); echo '<tr>'; echo '<td align="center">'.$pilot->firstname.' '.$pilot->lastname.' - '.PilotData::GetPilotCode($pilot->code, $pilot->pilotid).'</td>'; echo '<td align="center">'.$all->total.'</td>'; echo '</tr>'; Hope this helps
  6. In my case it's for the pilots.. Screenshot 1 is the admin pages and screenshot 2 is the dbase (pilots table) I started working on it last night but it was late so I'll try my hand at it today sometime ..
  7. Same problem here.. Not too much of an issue for me so I haven't gotten around to digging into this one yet, but I have checked the d-base itself and the column for the last flights never gets updated and still stays 0000-00-00 (or whatever formatting is used .. I can't remember right now) I thought it was only me, maybe it was something I had done (or not done). But when I get home I'll put this as #1 on my list and see if I can find the answer. (Unless Nabeel, you have already figured it out by then )
  8. sorry about that .. in admin/modules/PilotAdmin/PilotAdmin.tpl ... Util::SendEmail($pilot->email, $subject, $message); # Reject in the end, since it's delted PilotData::RejectPilot($this->post->id); } public function ChangePassword() { $password1 = $this->post->password1; $password2 = $this->post->password2; // Check password length if(strlen($password1) <= 5) { Template::Set('message', Lang::gs('password.wrong.length')); Template::Show('core_message.tpl'); return; } Change the above password length field to the number in the 2 other files.. Remember.. because these 3 files have been modified, they could get overridden in an update ..
  9. Sorry for got to add .... In lib/js/jquery.pstrength /** * $.fn.PStrength.defaults * These are the default values that can be overidden */ $.PStrength.defaults = { verdicts: ["Very Weak","Weak","Medium","Strong","Very Strong"], minCharMsg: "The minimum number of characters is", tooShortMsg: 'Too Short', unsafeMsg: 'Unsafe Password Word!', colors: ["#f00","#c06", "#f60","#3c0","#3f0"], scores: [10,15,30,40], powMax: 1.4, common: ["password","sex","god","123456","123","liverpool","letmein","qwerty","monkey"], minChar: 6, displayMin: true Set this min character to the same number you set in my earlier post ..
  10. In core/modules/Registration .... // Check password length if(strlen($this->post->password1) <= 5) { $error = true; Template::Set('password_error', 'The password is too short!'); } else Template::Set('password_error', ''); I haven't had a chance to test changing the above number myself, but I think it's probably a good place to start
  11. hey Chris, if you are still up for the idea, I have been working on exactly this topic.. If you want, send me the details that you need (want) to be available, and I'll work on it alongside mine... Or, just PM me and when iget mine finished I can give the whole code and you can change as needed ... (i'm a little strapped for time but hope to have mine finished within this week)
  12. turtle6340

    New Skin

    Did you manage to get this fixed? I just checked the site and from what I can see on the front page it looks ok ...
  13. was this a brand new (clean) install or were you trying to update?
  14. core/templates/schedule_boarding_pass
  15. I get the same problem, however when I'm in the admin panel apprving pireps, I just make sure I go into maintenance and use the 'recalculate distances' option and then all is ok ..
×
×
  • Create New...