Jump to content

servetas

Moderators
  • Posts

    1726
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by servetas

  1. Did you try to clear the cache through the maintenance options? Some of the phpVMS statistics are being cached for a specific period of time in order to reduce the server load.
  2. It's on your templates folder/frontpage_main.tpl or .php
  3. Are you referring to this system? http://forum.phpvms.net/topic/21388-sim-brief-for-phpvms/
  4. Instead of $this->render('about.tpl'); You can use: $this->show('about'); And it will work fine with both .php and .tpl phpVMS versions.
  5. Is this what you are looking for? http://forum.phpvms.net/topic/4786-htaccess-url-rewrite-for-indexphp
  6. if(Auth::$userinfo->totalflights >= 10) { //place here the download link } else { echo 'You have to fly at least 10 flights to download.';} Can you check this? It should work if I have not missed anything.
  7. I believe that this is due to the number of airports you have added on your system. You can either increase the memory limit through your server's settings or remove the airports which are not needed (probably you should have thousands of them ).
  8. Where are you getting this error?
  9. If you do not post any more data about your website, none of us will be able to assist you. Please let us know your website url, the css you used for your topbanner, the url of topbanner and any other data you believe that will help us.
  10. I believe that if you use simpilot's version, you will not have any problem
  11. There is not any function to export pilots through your admin center. You can do so using phpmyadmin but you will have to check if there are any changes.
  12. This should work correctly: <ul style="margin-top:10px; margin-left:3px;width:100%;" class="list-group"> <?php foreach($pilots as $pilot) { ?> <li class="list-group-item"><img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><font color="#2f2f2f"><?php echo $pilot->firstname.' '.$pilot->lastname ?></font></a></li> <?php } ?> </ul>
  13. It seems that you are using a wrong variable on your foreach. Can you try using this instead? <ul style="margin-top:10px; margin-left:3px;width:100%;" class="list-group"> <?php foreach($pilots as $allpilot) { ?> <li class="list-group-item"><img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><font color="#2f2f2f"><?php echo $pilot->firstname.' '.$pilot->lastname ?></font></a></li> <?php } ?> </ul>
  14. Did you clear your browser cache too? What are you doing exactly? Can you describe the steps?
  15. Use this instead: <?php echo $userinfo->pilotid+PILOTID_OFFSET; ?> Although, i do not know if it will be working with your login form. Just test it yourself and let us know.
  16. What number do you want to display? 1 or 974001?
  17. Open your core/templates/pilot_center.tpl (or .php) find this: <?php echo $pilotcode; ?> and replace with this: <?php echo $userinfo->pilotid; ?> This is only if you are using the default phpVMS template. Otherwise you will have to edit your template instead.
  18. I think that on phpVMS you can just login with your number on the login forum in order to login. For example, I am GRW001 but I am logging in with just "1" (without ""). Have you tried it?
  19. Did you clear the website cache? Admin Center -> Site & Settings -> Maintenance Options -> Clear Cache
  20. The templates are using wrong values on their foreach functions. It is $allpilots instead of $pilot_list, $allairlines instead of $airline_list, $allhubs instead of $hub_list and $countries instead of $country_list. I hope this solves the problem.
  21. In the past, it has been reported that phpVMS does not work correcly in free web hosting providers. These errors have been also reported on free web hosting providers.
  22. Alternatively, the bids are stored on the table "table_prefix"bids of your database.
×
×
  • Create New...