Jump to content

mark1million

Moderators
  • Posts

    2284
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. I currently do this for vroute, you need to speak with Michal Rok, have a search here i have posted the code to provide a text file so vroute can parse it and import new members.
  2. That domain name is redirecting to .co.cc
  3. mark1million

    Logout

    HI Cor, that setting is in the Core>Modules>Logout>Logout.php
  4. 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.
  5. The error is access denied. Reset the password for the database and update it in the local config.
  6. 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.
  7. Go to your server php configuration and up the memory limit.
  8. You cant beat free Support here is good as well.
  9. 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.
  10. Im not sure about charts the the others are escaped.
  11. 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.
  12. 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.
  13. What flight parameters does it log?
  14. 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?
  15. There is a modification if admin to be able to delete images, or just go in to the database and delete them from there.
  16. would it work if you used this pointing to the css file? Then you would need else or if you wanted more ifelse
  17. That was a little fix i was meaning to get round to for ages lol Finally done it now.
  18. 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?
  19. Nabeel in this one there is a problem when running the maintenance script, its resetting the pilots flights to 0.
  20. Sorry, This seems to work ."<br /><br />Has been successfully received to the server"
  21. Just got back in Just add more \n that will give new lines
  22. Thanks Kyle, just got to pick the wife up from work so will test out later (dont want to be late lol). Cheers.
  23. Ah ok i dont remember seeing it will go and have a look now.
  24. 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?
  25. 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(); } }
×
×
  • Create New...