Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. Open PilotData.class.php and look for the following: foreach($results as $row) { // Set them retired self::updateProfile($row->pilotid, array('retired'=>1)); Template::Set('pilot', $row); $pilot_retired_template = Template::Get('email_pilot_retired.tpl', true, true, true); Util::SendEmail($row->email, Lang::get('email.pilot.retired.subject'), $pilot_retired_template); } And change it to the following and see if it makes any differences. foreach($results as $row) { // Set them retired self::updateProfile($row->pilotid, array('retired'=>1)); Template::Set('pilot', $row); $pilot_retired_template = Template::Get('email_pilot_retired.tpl', true, true, true); $subject = SITE_NAME.':You have been marked as retired.'; Util::SendEmail($row->email, $subject, $pilot_retired_template); }
  2. So you receive emails like this :"SITE_NAME: You've been marked as retired" ?
  3. Are you using a table in your layout.tpl ?
  4. If you mean the mass mailer in admin, use " <?php echo SITE_NAME ;?> " instead of just SITE_NAME itself.
  5. There is no book or DVD to study from and it all really depends on what you want your VA to be. My advice is to look at the other sites and get to know how they operate and what they show and decide based on that. You can find those successful VAs at vacentral.
  6. Nice. You could also set it up for your pilots to bid on the flights right there instead of going through schedule search but of course if they're logged in.
  7. Use their path in browser address bar.
  8. easyphp would be my choice but remember phpvms is not working with latest version, so use EasyPHP-5.3.8.9.
  9. Number 1 and 2 are in "install" folder on your server. 3. You can simply delete everything from your server. 4. Once you deleted everything from your server, you can start installing a fresh copy and perhaps get to page at the screen shot. Cheers
  10. Dear All, The Fuel Calculator V_1.1 is now released. Below please find out how it works: Thanks Features: -Admin now can add aircraft parameters based on the VA's fleet. -Fuel calculations are now more accurate. -After the result is shown the pilot has an option to email themselves a copy of the result. Tryout: www.parkho.ir - Module Test License : Freeware Screen Shots: Download: FuelCalculator_V1.1
  11. phpMyadmin look for phpvms_pilots table and make sure there are records added there.
  12. Open local.config.php in core folder and look for the following: Config::Set('DISABLE_BIDS_ON_BID', false); And change "false" to "true". That's it.
  13. Check you DB table for pilots.
  14. It sure is, so go ahead and empty the bids table. You can also set a cron job to automatically remove bids after certain amount of time.
  15. The link in your first post is to the schedules list. If you have active bids in you DB table then the schedules won't show up until you actually remove those bids first, remove all the bids either from admin center or through phpMyadmin and the schedules will show up. Also, as I saw in the table image, you are allowing your pilots to place multiple bids. This may be good for your organization but keep in mind when there are multiple bids for a pilot the schedules start disappearing on each bids placed unless you disable the option to show the schedules even if they have bid on and that's where you give option to 2 pilots bidding on 1 flight at the same time.
  16. Are there any error messages when you submit the pirep? Also, have you checked the DB to see if the pirep info was actually inserted to the table properly or in the admin center/dashboard, can you not see the submitted pireps listed? If the answer to those are "Yes" or "No" then you might wanna run the install check located in install folder. As I mentioned, on EasyPHP the only thing that's not working is the emailing service all other parts should be working if the software was installed properly.
  17. I agree. The reCaptcha is sometimes very difficult to read, so try refreshing it until you can fully read it and finally register.
  18. Change it to this: echo '<li><a href="'.url('/registration').'">Registrarse</a></li>';
  19. Open core_navigation.tpl and find the following line: <li><a href="<?php echo url('/registration'); ?>">Register</a></li> Then find the following lines: <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<li><a href="'.fileurl('/admin').'">Admin Center</a></li>'; } ?> Add the first line to it like this: <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<li><a href="'.fileurl('/admin').'">Admin Center</a></li>'; echo '<li><a href="<?php echo url('/registration'); ?>">Register</a></li>'; } ?> Now remove the first line you've found and save and upload. The registration link will be only visible to those who are admin. Cheers
  20. What do you mean by rank? Do you mean not to show aircraft the pilot is not ranked to?
  21. It's not doable unless you rewrite the codes in schedule_results.tpl to your need.
  22. That's why you don't see all of them. You have to set all for every day in order for them to show.
×
×
  • Create New...