Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. Did the sql table install correctly? If so, is there any data in it?
  2. I am not sure how you are making your site dual language, if you are using two different skin folders you should be able to make a copy of the templates and add them to your translated skin folder and make the changes there, if you are using lanuage files I think you could just add the parameters to the native phpVMS language file.
  3. There is no function in the screenshot module to change the id's of the pilots that submitted the images. You could use phpMyAdmin to change the id's manually. Something like; UPDATE screenshots SET pilot_id = "new pilot id" WHERE pilot_id = "old pilot id";
  4. I do not believe that there is any individual templates for the mass email in the admin center. The editor is used to create each mass email and unless you send the emaill to yourself as well there is no copy stored. - The template for the email editor page in the admin center is located at /admin/templates/mailer_form.tpl, you could add some items to that if there is something you want to show up in every email.
  5. Remember that there is always two sides, or points of view for every situation. I agree, the name should be able to be removed using a law or statute that is in place or by simply corresponding with the site owner. The laws in the United States allow for the removal of any information on the web using legal channels if it falls into one of the following categories; - copyright or trademark infringement - threats of violence against another person - child pornography - obscenity - child exploitation - spam - impersonation or misuse of another’s identity - court-ordered removal - malware/virus distribution - confidential information (including social security number, bank account number, and credit card number) - cyberbullying - otherwise illegal material It really becomes an issue of the first amendment and freedom of speech beyond those situations. News outlets would have a hard time reporting news if anyone could demand that their name or any other information be removed because they do not like it, not to mention that you could be censored here in this forum if VAA demanded that this post be removed because they do not like it. I do not believe that your name being on the website falls into any of these categories, so you are relegated to using your charm to having your name removed or modified. I do not know the reasons for not removing names from the site and do not have an opinion if it is right or wrong but I do see that you acknowledge there is a notice on the registration page stating that names will not be removed (#19) -> http://virtualameric...ex.php/vaa/join <- I also looked at the Google cached version and it is on that version as well, although it is only about six weeks old. -> http://webcache.goog...ex.php/vaa/join <- but I do not find a cached version from the time period you refer to. I would think if the site owner is approached with a little charm and a good reason to remove, or modify your name, he should do it. On the other hand, I do not know what your name being on this roster is affecting in your eyes. A simple search for you let me see that you are on the roster of at least five other virtual airlines, a controller at Fort Worth ARTCC (with your photo I might add), a visiting controller on 2 other ARTCC websites, have started, or been involved with the startup of at least two other VA's, you run track and play on the JV basketball team at (name omitted for privacy) high school in the state of O..... , so this is not the only place your name appears. As you can see, footprints on the web are hard to control and records can appear from nearly everywhere. And on yet another hand, every website should include a Terms and Conditions policy that lays out the way to remove your data from the website database if you so desire in the future, yet it is the users responsibility to review that policy prior to and periodically when using a site. Most all of these policies also include a clause that allows for changes to the policy and a period for you to reject the changes and be removed from the site, or if nothing is received within the grace period the user automatically accepts the changes. I think both parties in this probably have an axe to grind with the other for whatever reason and that has unfortunately clouded good judgment. If you can not get satisfaction in the issue your best bet would be to send a Cease and Desist letter via email and certified snail mail. If you get no response from that hire a good attorney. There are some good examples of C&D Letters that you could probably modify for your use here -> http://minnesotaatto...e-sample-forms/
  6. Landing Rates seem to be a popular award among virtual pilots.
  7. I am not sure if you can find it around the forum. I had posted it to pastebin but can not seem to find it again. I will have to look in my old archives as I have not used it since I started using the SMF api library by Andre Nickatina - You can find more information about that here -> http://www.simplemachines.org/community/index.php?topic=458832.0
  8. At the start of your schedule_briefing.tpl file you can use an if qualifier and look at the airline code. It is available in that template as $schedule->code <?php if($schedule->code == 'ABC') { do stuff for airline ABC } else { do stuff for other airline } ?>
  9. Get the IP of your server and check it here -> http://www.anti-abuse.org/multi-rbl-check/ to see if it is listed on any of the major spam libraries.
  10. Not knowing what you have after this; foreach($lastbids as $lastbid); { ?> for starters you need to remove the semi-colon after your foreach command. That is stopping the loop right there.
  11. You are missing the actual table from the script. <table border = "0" width="100%" class="acarsmap"> <thead> <tr> <td><b>Pilot</b></td> <td><b>Flight Number</b></td> <td><b>Departure</b></td> <td><b>Arrival</b></td> <td><b>Status</b></td> <td><b>Altitude</b></td> <td><b>Speed</b></td> <td><b>Distance/Time Remain</b></td> </tr> </thead> <tbody id="pilotlist"></tbody> </table> or if you do not want the headers for the table you could add <table border = "0" width="100%" class="acarsmap> <tbody id="pilotlist"></tbody> </table> Both go right before <script type="text/javascript" src="<?php echo fileurl('/lib/js/acarsmap.js');?>"></script> <?php /* This is the template which is used in the table above, for each row. Be careful modifying it. You can simply add/remove columns, combine columns too. Keep each "section" (<%=...%>) intact Variables you can use (what they are is pretty obvious) Variable: Notes: <%=flight.pilotid%> <%=flight.firstname%> <%=flight.lastname%> <%=flight.pilotname%> First and last combined <%=flight.flightnum%> <%=flight.depapt%> Gives the airport name <%=flight.depicao%> <%=flight.arrapt%> Gives the airport name <%=flight.arricao%> <%=flight.phasedetail%> <%=flight.heading%> <%=flight.alt%> <%=flight.gs%> <%=flight.disremaining%> <%=flight.timeremaning%> <%=flight.aircraft%> Gives the registration <%=flight.aircraftname%> Gives the full name <%=flight.client%> FSACARS/Xacars/FSFK, etc <%=flight.trclass%> "even" or "odd" You can also use logic in the templating, if you so choose: http://ejohn.org/blog/javascript-micro-templating/ */ ?> <script type="text/html" id="acars_map_row"> <tr class="<%=flight.trclass%>"> <td><a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a></td> <td><%=flight.flightnum%></td> <td><%=flight.depicao%></td> <td><%=flight.arricao%></td> <td><%=flight.phasedetail%></td> <td><%=flight.alt%></td> <td><%=flight.gs%></td> <td><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%></td> </tr> </script>
  12. Since jquery is already loaded into the phpVMS I would adapt the jquery dialog box and assign a cookie once they agree. There is some example code on their site here -> http://jqueryui.com/dialog/#modal-confirmation <- under the Modal Confirmation link on the right.
  13. Are you setting the number of records to return as parkho indicates in the first post? <?php MainController::Run('FrontBids', 'RecentFrontPage', 10); ?> The '10' is how many to return. You also could move the foreach loop further down in the code to not include the title row for every record and just include the body of the table in the loop.
  14. You can replace your pilot_details.tpl file on the admin side with the one here -> https://github.com/DavidJClark/phpVMS/blob/master/admin/templates/pilots_details.tpl <- and it should fix the issue.
  15. I think this is basically an issue of respect for Nabeel more than breaking a written rule.
  16. The function bases it's time upon the server time, not your local time, is there a difference?
  17. What code are you using to call the module in your template?
  18. I added some code to the registration module and it cuts down the spam signups dramatically, not 100% but close. It querys the stop forum spam database both for the email and the ip. In registration.php - function ProcessRegistration() - right after 'hub' => $this->post->hub, 'confirm' => false ); make some room and add this // Check email for known spammer $url = 'http://www.stopforumspam.com/api?email='.$data['email'].'&ip='.$_SERVER['REMOTE_ADDR']; $file = new CodonWebService(); $contents = $file->get($url); $response = simplexml_load_string($contents); $reject = FALSE; foreach($response->appears as $row) { if($row == 'yes'){$reject = TRUE;} } if($reject == TRUE){ $this->set('message', 'Your email or IP address appears on our spam database, we therefore assume you are a spammer and are rejecting your registration request. If you feel this is incorrect please contact us.'); $this->render('core_error.tpl'); //send email that spam registration rejected $email = 'put your email address here'; $sub = 'Spam Registration Rejected';; $message = 'Spam pilot registration rejected using email '.$data['email'].' and IP address '.$_SERVER['REMOTE_ADDR'].' on '.date('m/d/Y', time()).' at '.date('g:ia', time()); Util::SendEmail($email, $sub, $message); return false; } //end spam check replace the - put your email address here - with the email you want the notice that a rejection has occured sent to.
  19. Does he get non-notam airmails in his inbox that are just sent to him?
  20. The code is available on my github account - link is in my signature.
  21. All code is now hosted on github - link in my signature.
  22. There is a version for SMF2.x HERE -> http://forum.phpvms.net/topic/5695-smfregister-20/
  23. I have a script somewhere that I wrote to convert them, I will try to find it and post it for you. The module itself will not do it. I have started using the SMF API to auto login members with phpVMS and then there is no need for the pilot to be in both member lists.
  24. It is actually an issue that the event actually becomes a "past" event at midnight server time. I need to change the coding a little to make it so it uses the actual time of day instead of the day itself.
  25. You should be able to define the pilot code on line 41 of the Vanilla.php controller, add it to $user['name'] = Auth::$userinfo->firstname.' '.Auth::$userinfo->lastname;
×
×
  • Create New...