Omerr01
-
Posts
91 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Omerr01
-
-
What is the problem?
-
1.
I do not want that PHP will continue to own more hours to the event ..
I mean, if I did that the event will be until 20:00 z then I want it to really be until
I put each time a pilot makes this book adds a few more that I did in Slot Interval love to know how I remove it ??
The intention is that if I did have Slot Limit: 61 so it will not be the 61 pilots also do book ..
2.
I want to do after a certain time, for example after 31 days if the pilot did not fly then it will send him an email and tell him he RETIRE and if I really want it put him in this situation because at the moment I put it to the pilots so it's not really doing anything ...
I mean, if I manually someone so he can still fly to login I have not seen anything he can not do so this is I wanted to ask whether it can be done but really it does not allow him to fly or be active on the site. .
As if he can just login to the site then it will record that he can not connect because of its user currently retire before he would send an email or something like that ...
So thank you very much for helping!
-
Hello all, i see in virtual airlines that the can to change the Flight Status to Img or something else,
How I can do this ??
<?php if($flight->phasedetail != 'Paused') { echo $flight->phasedetail; } else { echo "Cruise"; }?>
this is the code and i want if the flight status is Cruise to put img, or if the flight was arrived put img .
How I can do this please ?
Thanks for helping..
-
You will have to create these subdomains via your CPanel and copy paste the files of your main website to each one folder. After that open each local.config.php file and update the SITE_URL setting.
Okay, but i change the SITE_UTL to what? to the Main domain or what?
-
-
No idea what you mean at the website that you point out it is just a phpvms setup
LIke lufthansavirtual they connect 3 different domains in one system. as you can see in lufthansa virtual.
-
Any one please???
-
-
If I follow your question, I think you are having retired pilots submitting PIREPs, probably through kACARS which in turn sets them back to active and allows them to login. If this is the case, there is a little known item in the file PIREP sequence that does this.
In ACARSData.class.php file in the filePIREP function there is a line of code that sets them back to active around line 323.
# Set them as non-retired PilotData::setPilotRetired($pilotid, 0);
Not a big deal if they are trying to login and submit manually because they never get to that point due to not being able to login. But, using kACARS even if they are retired they can submit a PIREP.
You can either comment out the code above which will allow them to submit a PIREP but it will not show and they will not be able to login the site as they will still be retired, or you can add a couple of lines in the "case'pirep'" function at the start to check if the pilot id retired and if they are then just stop the script.
$pilotinfo = PilotData::getPilotData($xml->verify->pilotID); if($pilotinfo->retired == 1){exit;}
okey thanks you very much..
where i put this code :
$pilotinfo = PilotData::getPilotData($xml->verify->pilotID);
if($pilotinfo->retired == 1){exit;}
-
I put a pilot on the state retire and it's not doing anything gives it gives him to connect Bock gives him fly to send PIREPS??
How do I fix this?
-
i want to add to schedule search a "search by ICAO(write)" and "search by flightnumber"
how i can do this ?
-
ok i try it now..
Its Work Thank You Very Much!!
-
you deleted the module but did you also removed the line from the common/PIREPData.class.php ?
If you have followed the instructions of the module then there should be in aprox line 813 this
PirepAcData::search($pirepid);
try to delete it and save and see if it is working
ok i try it now..
-
i have custom k acars (payware).
and when i install the auto pirep reject/accept and after i delete this Moudle .
i have this problem:
when i send the pirep .
please help me i don't now what to do ..
Sorry for bad english.
Thanks .
-
Look at what appears when I enter the stats center
me too
-
Module creates a schedule search form that includes the ability to choose the airline, aircraft type, arrival field, and departure field. You can choose one or all of the parameters to find what you are looking for in your schedule database.
To install
Download and unzip
Place the files in the proper paths as structured in the download
No new sql tables or anything needed.
Point your browser to mysite/index.php/FrontSchedules and start searching.
Enjoy!
Code hosted on Github - Link In Signature.
hello sir ..
i have this moudle but all pilots can do "add to bid" .
and i don't want becuse i have There are restrictions on ranks .
Example:
Pilot to 50 hours can not fly for heavy aircraft like 747 777 767 ..
but now all pilot can do add to bid .
how i can do they can make the bid only by their rank.
As usual schedule search .
please help me ..
-
Hello,
-
Ive been trying to limit the landing rate stats module to a weekly limit. ie, to only show the to landings of every given week. Ive been having some trouble achieving this. I have gone through the mega thread of the module it self and while there are some hints of a code snippet to limit it to monthly, unfortunately i have not been able to work out how to implement the code or where to implement it to.
I would greatly appreciate any help or an explanation on how to implement a code that will restrict the top landings for a weekly display which will reset itself every week.
--
and the two is about TOPPILOT Moudle:
Im trying to get some of the top pilot tables to show on our homepage. Can anyone provide anyt insight as to what the code should look like and where should it go.
Thanks for helpers
-
Normally on the frontpage_main.tpl
i try is not good ..
-
Hey guys,
Im trying to get some of the top pilot tables to show on our homepage. Can anyone provide anyt insight as to what the code should look like and where should it go? Thanks a lot in advance
-
Hey guys,
Ive been trying to limit the landing rate stats module to a weekly limit. ie, to only show the to landings of every given week. Ive been having some trouble achieving this. I have gone through the mega thread of the module it self and while there are some hints of a code snippet to limit it to monthly, unfortunately i have not been able to work out how to implement the code or where to implement it to.
I would greatly appreciate any help or an explanation on how to implement a code that will restrict the top landings for a weekly display which will reset itself every week
thanks in advance guys.
-
Hey guys,
Ive been trying to limit the landing rate stats module to a weekly limit. ie, to only show the to landings of every given week. Ive been having some trouble achieving this. I have gone through the mega thread of the module it self and while there are some hints of a code snippet to limit it to monthly, unfortunately i have not been able to work out how to implement the code or where to implement it to.
I would greatly appreciate any help or an explanation on how to implement a code that will restrict the top landings for a weekly display which will reset itself every week
thanks in advance guys.
-
You can add a WHERE statement to the sql call to only pull data that matches the month you want.
something like ->
public function get_all_stats($month) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND MONTH(submitdate) = '$month' ORDER BY landingrate DESC"; return DB::get_results($query); }
$month would be the numerical representation of the month you want. Probably will want to name the year as well or you will get the data from that month for every year that is in the db.
If I write another version I will include some monthly stats capability.
where i put this code ???
-
Well the code isn't wrong, so that's not the issue. In your templates folder(Either in your skin or in /core) look for frontpage_recentbids.tpl, and check if there is any code inside. Let me know what you got. Also, is there any errors showing on the website, or is it just blank and not showing?
<?php
if(!$lastbids)
{
echo 'No bids have been made';
return;
}
foreach($lastbids as $lastbid);
{
?>
<style type="text/css">
<!--
.style2 {
font-family: Arial;
font-size: 10px;
}
-->
</style>
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td><p class="style2"><?php echo $lastbid->bidid . ' - ' . $lastbid->code.$lastbid->flightnum.' - '.$lastbid->depicao.' to '.$lastbid->arricao?></a>
</p>
<?php
}
?></p></td>
</tr>
</table>
-
Hello everyone,
i want to do "Upcoming Flights "
i try this code "<?php MainController::Run('FrontBids','RecentFrontPage',5);?>" but it doesn't work.
Thanks in advance,
Omer Cohen
Customs Fields
in Support Forum
Posted
Hello everyone,
I wanted to know if it is possible to do everything that I put in - Customs Fields register as Vatsim ID, etc.
So I wanted to ask is there a way to make it mandatory to register the virtual company ..
Thank you so much for helping!