Jump to content

dimitris

Members
  • Posts

    188
  • Joined

  • Last visited

Everything posted by dimitris

  1. dimitris

    VAForum 2

    Okay Take all the time you need about it I m pretty sure it will be amazing! Regards,
  2. dimitris

    VAForum 2

    Hey Tom! Almost a week since your post maybe a release? (if you have time)
  3. Ok I 'll edit the topic later today But I don't think I will be enough, maybe locking images will be much better. Ps. May I ask you why you changed your name ?
  4. Did I mention anywhere that my images are free to use ? I provide a demo not a link to download images... Anyway, thanks for the removal
  5. If you like to talk about it just pm me This is not the topic to explain it again.
  6. We have a lawyer at our va and I can tell you that it is very good He had previously helped us with such situations. We have no intention to go far with this, because everybody needs a second chance
  7. Once again we ( Greece Airways Va ) are stoled! You use our ranks at your page here: http://www.svkvirtua...hp/pages/career very well done. Right now I m contacting a lawyer this plagiarism against us have to stop! Remove the ranks ASAP (as soon as possible), otherwise you will find truble with the law. You not only stole our work, you hosted the images at your own server and more over you didn't thought to change the file names... If you have no intension to make your own work, I wish you all the worst. From the other side if you have intension to make your own work, all the best for you. Sorry to the others for being hard, but it is time for this to STOP!
  8. Well I would like to show the last active event in front page, but anyway I wrote my own script for this If you are interested drop me a mail/post/pm. Regards,
  9. Hi simpilot! Is it possible to get the last added (active) event ?
  10. dimitris

    VAForum 2

    Hi Tom! We are all (I think) waiting for your next release! If and when you have time a release will be grateful.
  11. dimitris

    VAForum 2

    Hi again! Some more coding and I have a bbc type reply form Take a look: To make it like this add the following: On top of forum_new_post.tpl: <script type="text/javascript"> function insertAtCursor(myField, myValue) { //IE support if (document.selection) { myField.focus(); sel = document.selection.createRange(); sel.text = myValue; } //GECKO/NETSCAPE support else if (myField.selectionStart || myField.selectionStart == '0') { var startPos = myField.selectionStart; var endPos = myField.selectionEnd; myField.value = myField.value.substring(0, startPos) + myValue + myField.value.substring(endPos, myField.value.length); } else { myField.value += myValue; } } </script> And where you like the BBC bar to displayed: (in forum_new_post.tpl of course ) <tr> <td>BBC Codes:</td> <td align="left"><input name="Bold" type="button" value="B" onclick="insertAtCursor(document.form.message, '');" style="font-weight: bold;" /> <input name="Italic" type="button" value="I" onclick="insertAtCursor(document.form.message, '');" style="font-style:italic;font-weight: bold;" /> <input name="Underline" type="button" value="U" onclick="insertAtCursor(document.form.message, '');" style="font-weight: bold;text-decoration: underline;" /> <input name="Image" type="button" value="IMG" onclick="insertAtCursor(document.form.message, '');" style="font-weight: bold;" /> <input name="Link" type="button" value="LINK" onclick="insertAtCursor(document.form.message, '');" style="font-weight: bold;" /> <input name="List" type="button" value="LIST" onclick="insertAtCursor(document.form.message, '[*][/*]');" style="font-weight: bold;" /></td> </tr> EDIT: This forum(phpVMS) auto remove the BBC codes if there is nothing inside them. So you have to add them yourself, take a look at the last with th [*]
  12. Yes, what? We are at FSA because the bembers asked for it We simulate the same schedule/fleet etc at both
  13. dimitris

    VAForum 2

    Hi all! Long time since last post at this topic Yesterday I installed the v2 version of the forum and something was missing from there... The PMs ! I made some quick changes to the forum module and to the airmail module and guess? It worked! Change lines: mail_new.tpl <td colspan="2"> <b>To:</b> <select name="who_to"> <option value="">Select a pilot</option> <?php if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { ?> <option value="all">NOTAM (All Pilots)</option> <?php } foreach($allpilots as $pilots) { echo '<option value="'.$pilots->pilotid.'">'.$pilots->firstname.' '.$pilots->lastname.' - '.PilotData::GetPilotCode($pilots->code, $pilots->pilotid).'</option>'; } ?> </select> </td> To: mail_new.tpl <?php $pm = $_GET['who_to']; ?> <?php if($pm=='') { ?> <td colspan="2"> <b>To:</b> <select name="who_to"> <option value="">Select a pilot</option> <?php if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { ?> <option value="all">NOTAM (All Pilots)</option> <?php } foreach($allpilots as $pilots) { echo '<option value="'.$pilots->pilotid.'">'.$pilots->firstname.' '.$pilots->lastname.' - '.PilotData::GetPilotCode($pilots->code, $pilots->pilotid).'</option>'; } ?> </select> </td> <?php } else { ?> <td colspan="2"> <b>Forum Pm</b> <input type="text" name="who_to" value="<?php echo $_GET[who_to]; ?>" disabled="disabled"> </td> <?php } ?> And, forum_post_list.tpl echo ' - <img src="'.SITE_URL.'/lib/images/countries/'.strtolower($starter->location).'.png" alt="Flag" /> To: forum_post_list.tpl echo ' - <img src="'.SITE_URL.'/lib/images/countries/'.strtolower($starter->location).'.png" alt="Flag" />'; echo "<br /><a href=".url('/Mail/newmail?who_to='.$starter->pilotid).">Contact Me</a>";' If you have any errors, reply here and I will upload the 2 changed files
  14. Just saw it... I can't really do anything about it... It is getting data live from IVAO's whazzup files/servers so when a server is down it is showing these errors
  15. Hi! @nightfox where you saw that errors ? At error console or ? I will change the banner soon but until then I will make some changes
  16. Well I don't really remember but something like: /* Code by 'dimitris' phpvms http://greeceairwaysva.com/fss/index.php */ -moz-box-shadow: 0px 0px 10px #000; -webkit-box-shadow: 0px 0px 10px #000; box-shadow: 0px 0px 10px #000; Will work... Note a lot of attention with this because it will work one time but maybe not the other, some changes will lead you to the best result
  17. Hi all! I took the code a step further to give pilots the ability to delete their own photos At screenshots_large.tpl add the following lines, to allow a pilot to delete his own screenshot. <?php if((PilotData::GetPilotData(Auth::$userinfo->pilotid))==$pilot) { ?> <input onclick="location.href='<?php echo SITE_URL ?>/index.php/Screenshots/delete_screenshot?id=<?php echo $screenshot->id; ?>'" type="button" value="Delete Screenshot" /> <?php } else { } ?> Make sure you have this line at the file. (Standard by simpilot, but who knows ) $pilot = PilotData::getPilotData($screenshot->pilot_id); Between the last 2 { } you can echo a message like: <?php } else { echo "You have no rights to delete this screenshot!"; } ?> Regards,
  18. It is 15lines and the content is: <?php class AirportData extends CodonData { function getdeptflights($icao) { $sql = 'SELECT pirepid FROM '.TABLE_PREFIX.'pireps WHERE depicao="'.$icao.'"'; $result = DB::get_results($sql); return count($result); } function getarrflights($icao) { $sql = 'SELECT pirepid FROM '.TABLE_PREFIX.'pireps WHERE arricao="'.$icao.'"'; $result = DB::get_results($sql); return count($result); } } EDIT: Solved! Corrupted on upload.
  19. Copy fromt the schedule_bfiefing for the metars: <div id="<?php echo $name->icao; ?>" class="metar">Getting Airport METAR</div> <br /> <a href="http://flightaware.com/resources/airport/<?php echo $name->icao?>/weather" target="_blank"> View Weather Details for <?php echo $name->icao ?></a>
  20. I downloaded again the file (with the changes) but now I m getting this:
  21. To get the airport map work. At the top of the page: <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> Then where you like the map to be dispayed use this: <script type="text/javascript"> function initialize() { var mapDiv = document.getElementById('map-canvas'); var map = new google.maps.Map(mapDiv, { center: new google.maps.LatLng(<?php echo $name->lat; ?> , <?php echo $name->lng; ?> ), zoom: 14, mapTypeId: google.maps.MapTypeId.SATELLITE }); } google.maps.event.addDomListener(window, 'load', initialize); </script> <div id="map-canvas" style="width: 100%; height: 500px"></div> You can change the: mapTypeId: google.maps.MapTypeId.SATELLITE to mapTypeId: google.maps.MapTypeId.HYBRID for the hybrid mode
  22. okay. I m leaving vms. Because there is not friendly and supportive environment. I have no place here, other modules will be only for personal use. I have a lot in mind but nothing to share with you guys.
  23. @Mark Thanks man! You give me courage to continue @Vanser I didn't stole the design! I did it from scratch. (To be sure next time I will take video of my screen to prove it.)
  24. Hi stuart! Yes it is true, I saw that on your site. And ta-da I took the idea to make it because nobody released the same before. For the log now, yes it is true, I have otenet as my connection but I promise I didn't tried to steal any files from your site. Take a look at my files and you will see that it is a beginner's job, I do not even try to put my job next to advanced users job.
×
×
  • Create New...