Jump to content

mark1million

Moderators
  • Posts

    2283
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. That domain name is redirecting to .co.cc
  2. mark1million

    Logout

    HI Cor, that setting is in the Core>Modules>Logout>Logout.php
  3. Seems you maybe in the wrong forum, this is for VA owners really but most VA's running phpVMS will use a pay system and ranking structure, some will offer you incentives with something to spend your virtual cash on and some don't.
  4. The error is access denied. Reset the password for the database and update it in the local config.
  5. If you look here in the forums there is a thread about this, my limit is currently set to 128M as i had the same problem a while ago. Failing that its just accept one at a time.
  6. Go to your server php configuration and up the memory limit.
  7. You cant beat free Support here is good as well.
  8. Why is is all these topics go down the same road. Can we please keep the auguring aside. At the end of the day Nabeel has provided a free proven robust and stable framework for any virtual airline owner to develop and explore, I have managed phpVMS and fully custom VA's and personally im happy with the performance and stability of what Nabeel has created. Your only limitation is your personal knowledge of php sql and creativity. Can we please keep things civil.
  9. Im not sure about charts the the others are escaped.
  10. The reason i ask is that pvpVMS will allow everything to be logged in to the database my pilots have a host of other non standard features in to the pilot log which is why i asked what does your program log. You do not need to edit the fields in the database to log other flight parameters.
  11. There is no harm in competition thats what makes the world go round and force you to be at the top of your game, end result better products for the users. Saying that i would like to see a watered down version so you can prove the concept before asking users to pay, that way confidence will build in your product.
  12. What flight parameters does it log?
  13. Do you know how they effected your tables as all built in sql queries are escaped to prevent this. What addons are you running and do you have your own queries built?
  14. There is a modification if admin to be able to delete images, or just go in to the database and delete them from there.
  15. would it work if you used this pointing to the css file? Then you would need else or if you wanted more ifelse
  16. That was a little fix i was meaning to get round to for ages lol Finally done it now.
  17. I have just updated the effected files from http://forum.phpvms.net/topic/6202-rev-v21934-164-ge045bc4-close-53-pilot-reset-pirep-count-fixed/ and its now Ok. I thought all previous updates were in the latest release?
  18. Nabeel in this one there is a problem when running the maintenance script, its resetting the pilots flights to 0.
  19. Sorry, This seems to work ."<br /><br />Has been successfully received to the server"
  20. Just got back in Just add more \n that will give new lines
  21. Thanks Kyle, just got to pick the wife up from work so will test out later (dont want to be late lol). Cheers.
  22. Ah ok i dont remember seeing it will go and have a look now.
  23. I have had a search about and cant find what im looking for. I want to extend the code a bit in the PIREPData.Class.php to also send a summary to the pilot upon sending in a pirep. This is the send to admin email notification of a new pirep # Send an email to the admin that a PIREP was submitted $sub = "A PIREP has been submitted by {$pilotcode} ({$pirepdata['depicao']} - {$pirepdata['arricao']})"; $message = "A PIREP has been submitted by {$pilotcode} " ."({$pilotinfo->firstname} {$pilotinfo->lastname})\n\n" ."{$pirepdata['code']}{$pirepdata['flightnum']}: {$pirepdata['depicao']} to {$pirepdata['arricao']}\n" ."Aircraft: {$pirepdata['aircraft']}\n" . "Flight Time: {$pirepdata['flighttime']}\n" ."Landing Rate: {$pirepdata['landingrate']}\n"."Filed using: {$pirepdata['source']}\n\n" ."Comment: {$comment}\n\n" ."Click to approve this pirep (admin must be signed in):\n" .adminurl('/pirepadmin/approvepirep/'.$pirepid); $email = Config::Get('EMAIL_NEW_PIREP'); if (empty($email)) { $email = ADMIN_EMAIL; } Util::SendEmail($email, $sub, $message); } Clearly i would not want to send that approve link to the pilot so i can remove that no problem, would it just be a simple case of adding $pilotinfo->email to that Util?
  24. Right, Found the culprit. For anyone running Top Pilot from Simpilot there is a pirep file listener in there which is firing every time a pirep is filed to populate the top pilot stats. When your pirep table is small its not got a lot to calculate but when it gets bigger that's where the delay comes in. Simply removing the listener sorted it out, so im going to add this to a cron that runs a few times a day. File location is >core>modules>TopPilot>TopPilot.php <?php //by:simpilot //www.simpilotgroup.com class TopPilot extends CodonModule { public $title = 'Top Pilots'; public function __construct() { //CodonEvent::addListener('TopPilot', array('pirep_filed')); } public function EventListener($eventinfo) { if($eventinfo[0] == 'pirep_filed') { self::refresh_pilot_stats(); } }
  25. Does anybody know what's happening here as that query is taking over 45 seconds to run each time a pirep is filed. Why is it scanning the complete pireps table? How do i make it stop
×
×
  • Create New...