-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
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.
-
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/
-
Landing Rates seem to be a popular award among virtual pilots.
-
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
-
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 } ?>
-
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.
-
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.
-
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>
-
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.
- 1 reply
-
- 1
-
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.
-
Country resetting to Afghanistan after pilot edit
simpilot replied to Keane's topic in Support Forum
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. -
I think this is basically an issue of respect for Nabeel more than breaking a written rule.
-
The function bases it's time upon the server time, not your local time, is there a difference?
-
What code are you using to call the module in your template?
-
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.
-
Does he get non-notam airmails in his inbox that are just sent to him?
-
The code is available on my github account - link is in my signature.
-
All code is now hosted on github - link in my signature.
-
There is a version for SMF2.x HERE -> http://forum.phpvms.net/topic/5695-smfregister-20/
-
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.
-
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.
-
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;
-
The site that the live pricing was being drawn from blocked the VACentral API server and will not allow it to pull any more data from it. The owners I believe accused Nabeel and the system of being some type of link manager that was hurting their site. I would not expect a new solution any time soon, if ever.
-
There are a number of ways to do this; 1 - If you are just wanting a static page to be shown when someone goes to your site the first time, create a seperate index.html page. Most servers will show the index.html page before the index.php page. Then in your opening html page just link to the index.php page for the phpvms system. 2 - If you want to use data from the phpvms system your best bet is to edit the frontpage_main.tpl file to your liking, removing all the default features and adding your about us text for example. 3 - If you are against having the frontpage conroller being the default controller you can change line 41 in index.php define('CODON_DEFAULT_MODULE', 'Frontpage'); to the controller and function that you want to be shown by default, for example define('CODON_DEFAULT_MODULE', 'pages/aboutus');
-
If you are trying not to include the core config file to avoid conflicts and they are using the remember me function when they login you should be able to grab their cookie using $_COOKIE['VMSAUTH'] and find something like this ["VMSAUTH"]=> "24|1|127.0.0.1" The second position is their raw pilot id number from the database. If they are not using the remember me function you are going to have to grab the session id out of the cookie and match the id to a session id in the sessions atble of phpVMS and then get the pilot id from there.