Jump to content

Jeff

Members
  • Posts

    1307
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jeff

  1. You could also try this: <td><%=flight.aircrafticao%></td>
  2. The code goes in the acarsmap.tpl file public_html/core/templates/acarsmap.tpl It should look like this: <td><%=flight.icao%></td>
  3. If you're gonna charge those prices for the modules, you can count me out.
  4. http://virginamerica.virtual-airlines.com/ http://virgin-america-virtual.webs.com/
  5. Stick this (No route passed) in the search bar on the top right corner of this forum. Change "This Topic" to "Forums" and click the magnifying glass.
  6. I need to know if someone can be kind to help me figure out how to categorize the Awards like the Downloads do. This will be for the Admin Center when you add a new award to be able to also add a Category that the newly added award will fall into. This will make it easier to display the Awards on the public page that will display like it does on the Downloads page.
  7. If any are interested in adding an image for each member on your site on the pilots list page, here you go. Add the table header that will hold the image headline: <th>Image</th> Next add the table data that will call for the image: <td align= "center"><img src="<?php echo fileurl('/images/members/'.$pilot->pilotid.'.jpg'); ?>" width="50px" height="75px" alt="<?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?>" /> You will need to change this: ('/images/members/' if your images are located in another directory. You will also need to change this: pilotid.'.jpg' if you are using another type of image format (gif, png...etc) You can change the image size width="50px" height="75px" to suit your needs. NOTE! You have to name the image as a numerical in order for this to work. If your member is VA0001, VA0015, then your image is 1.jpg, 15.jpg...etc You cannot use multiple image formats with this code. You must choose one format (jpg, gif, png)
  8. Okay, I found your problem. Inside your Modules/Pilots folder you had a Login.php file in there. You should've had a Pilots.php in there. I left the Login.php (not sure why it is there) but also added the Pilots.php It is now working. You can mark this topic as [sOLVED] by editing the first topic above.
  9. The free version will show all items in green
  10. yeah, that's it. Can you post what is inside? I couldn't post mine because I have changed it so much it isn't recognizable to the original, so it wouldn't be any use to you.
  11. Then somethin has changed in the pilots.tpl or it no longer exists. Check to see if you actually have a pilots.tpl file
  12. Look, we know where you're going with this, we really do. What Joeri is trying to really say is that the way phpVMS is setup, there are just a few things that shouldn't be deleted, and this just happens to be one of them (unfortunately). If you are just insisted in removing Kennedy from your Airport list in the Admin Center, the safe way is to just edit it to another airport name (LFPG Paris-Charles de Gaulle for example) then you don't have to worry about it being there. The reason it is setup that way is because the system really doesn't want you to remove the airports (the aircraft work in the same way) because it can really wreak havok on your system's Pirep data. If you do a few searches from the top right of these Forums, you will see that there are others that feel the same way you do. It is what it is. EDIT: got another one in at the same time Joeri...
  13. Make sure the "Pilots" link is linked like this: Also, make sure the Pilots.php module is located in the following location:
  14. Yep, works great. +1 When you delete a member, will it still save the ip logs previously from that member so maybe we can post them in here somewhere (or for our own records)?
  15. I think TNTVA uses something similar for the links. You might want to ask joeri. Wow, that was quick. I didn't even see you online Joeri.
  16. I really hate it when posts go into a drag-out, knock 'em, punch 'em debate about something real stupid to be arguing about. Can't these Forums be used for Positive results instead? This can go either way... "It is alright for members to belong to multiple Virtual Airlines, but it isn't okay to have CEO's belong to multiple VA's"? As I see it, this is a hobby. There shouldn't this much drama about someone wanting to join another VA while running another. Come on guys, REALLY!
  17. Here is the code I have in my /public_html/core/templates/frontpage_reports.tpl <p><a href="<?php echo url('/pireps/viewreport/'.$report->pirepid);?>">#<?php echo $report->pirepid . ' - ' . $report->code.$report->flightnum?></a> - <a href="<?php echo url('/profile/view/'.$report->pilotid);?>"><?php echo $report->firstname . ' ' . $report->lastname?></a></p> That might work better. If not, let me know.
  18. Sorry, no problem! I don't remember there ever being a pop-up module uploaded to these forums, but I am sure there are a few members that actually use it can point you in the right direction. By the way, Welcome to phpVMS.
  19. http://forum.phpvms.net/topic/4397-autoawards-input-required/page__view__findpost__p__29137
  20. You could try this -CLICK- Not tested, but just picked the first one that popped up in GOOGLE.
  21. Jeff

    pilot center

    What is the code on Line 109?
  22. I finally got to get to this download, as I was busy with other things. Works great right from the start. Now, All I need to do is tablize the .tpl and it will be complete. Thanks Stuart - +1
  23. Parse error: syntax error, unexpected T_PUBLIC in /home/virtualf/public_html/admin/modules/MassMailer/MassMailer.php on line 109 Am I supposed to replace something? If I were to paste this at the ent of the original .php file, I get that error. Line 109 is the start of your code above.
×
×
  • Create New...