Jump to content

josh90

Members
  • Posts

    31
  • Joined

  • Last visited

Recent Profile Visitors

3212 profile views

josh90's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Can anyone help on this please?
  2. Hi, One of our admins has brought to my attention that we can no longer import routes from a .csv file. We're trying to import using the template file that sits on our server, that comes with the phpVMS installation. When trying to import this file we get the error ' The import process is complete, added 0 schedules, updated 0, for a total of 0' . Attached is the template.csv file with just one fictious route that I'm trying to import as a test. This issue has been brought up a number of times on this forum by the looks of it, but I can't find a solution that works for us, things I've tried: 1. Creating a new blank .xls file, adding the headers as they appear in the template file and adding all fields except the route, leg and distance field, which can be omitted according to 3. of the instructions. One question I've got is, in point 3, it does mention to remove the legs column from the file as it is no longer counted. I can't see a legs column in the template file, or in the database itself so I guess that's correct and is aimed at people who may be using an older version of the template file. After filling out all the fields, I've saved the document as a .csv file. 2. Saving in two different types of format Windows Comma Seperated (.csv file) and MS-DOS (.csv file) format. Things to note: 1. We're using David Clark's version of phpVMS (5.5-2.x) 2. MS Excel 2010 to modify the .csv file 3. We had to re-install phpVMS a few weeks back due to a problem with our host. This feature has worked before then. 4. Routes can be added singularly using the 'Add Schedule' option in the Admin Centre 5. The airline, aircraft, dep/arr airports all exist for this test schedule 6. The schedule number is not already in use 7. When exporting the schedules, using the 'Export Schedules' option in the Admin Centre, it generates a file called schedules.csv.txt. Does that mean the import file has to be appended with .txt too? 8. An error is received in MS Excel when saving to .csv format, something along the lines of some features may be removed when saving in this format. Thanks in advance Josh template.csv
  3. Hi parkho, I have this trouble too, it's most annoying trying to access on an android device. This was brought up some months ago now, in the thread below: http://forum.phpvms....oid#entry121142 However, the problem still remains unfortunately. Have you considered switching to 'Apple' devices? Josh
  4. Excellent work there flyalaska! Thanks Josh
  5. Hi ercio, Replace line 108 (in your .tpl/.php file) with this: echo '<td><img src="'.fileurl('/path/to/your/images/'.$pirep->code.'.png').'" alt="'.$airline->name.'" /></td>'; Above code copied/modified from tid:21018 (flyalaska) Personally, I'd use the following as the path: echo '<td><img src="'.fileurl('/lib/images/'.$pirep->code.'.png').'" alt="'.$airline->name.'" /></td>'; Obviously, you'll need to create the images for each airline and name them the same as your airline codes e.g. DLH.png, AFR.png (using your example). Also, ensure they reside (and are publicly viewable) in the path you are pointing to. Hope this helps Josh
  6. Hi ercio, Check line 108 in the file lib->skins->lance->frontpage_main.tpl edit the image source (src) there. Hope this helps Josh
  7. Hi David, Would just like to express my thanks for taking on the running and development of phpVMS/vaCentral. I'm sure it's appreciated by many, even though it's probably not said often. Keep up the great work. Josh
  8. Hi Harry, Hope you're well. Based on your current code, the only time the name and description will display is if there's a problem displaying the image, as the name and description are being used as a textual alternative using the "alt" attribute. If you wish to display the name and image, you'll have to "echo" these too. Try replacing your code with (notice the addition on line 17): <div class="inner-content-box"> <ul class="icons-list"> <?php if(!$allawards) { echo '<li><i class="fa fa-trophy icon-large"></i> No awards yet</li>'; } else { /* To show the image: <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" /> */ ?> </ul> <ul class="icons-list"> <?php foreach($allawards as $award){ ?> <li><img src="<?php echo $award->image?>" alt="<?php echo $award->name ?> - <?php echo $award->descrip?>" /> <?php echo $award->name ?> - <?php echo $award->descrip?></li> <?php } ?> </ul> <?php } ?> </div> Hope this helps Josh
  9. Try core/templates/flown_routes_map.tpl Around line 10
  10. You could try creating another account, using the registration form, accept/register that account, then try to connect with the client using that account. If that works ok, try giving admin permissions to that account, using the one that currently works and see what happens.
  11. Have you got a recent backup of your database for phpVMS? Have you got anyone else registered with administration permissions? Has the same happened to them? Thanks
  12. Hello, I think you may need another variable, to consider. Otherwise you may end up retiring new pilots, as most will probably start with 0 hours (unless they have some transferred). Perhaps something like if they've been registered for X days and 0 hours have been logged?
  13. Do you still need help with this?
×
×
  • Create New...