-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
It will not function properly in 700 - it uses some functions that did not appear until around the 770 version. You could re-write most of the code to function but I think it would be easier to upgrade to the newer version when it comes out, or a beta now.
-
Good, it lloks like everyone thinks the same as I on the guest posting. I have an early version running on my development site and am planning on cleaning up the code and getting all the functions configured over the weekend, hopefully will have a beta release by the first of the week.
-
I am nearly done coding an internal forum board system that runs within phpVMS but had something cross my mind about it. I have designed it that only members of the airline can post in it, does anyone allow non-pilots to post in their forum boards, is this option needed?
-
All the data you want is already in the array on the pilots list page, just go in the pilotdata class and change the column to sort by and which way you want it to sort, ASC or DESC, or create your own sql query to pull just the data you want from the table and sort it the way you would like.
-
Try this -> http://www.simplemachines.org/community/ssi_examples.php
-
Your menu is in the core_navigation.tpl file, right now it looks something like this -> <div id="menu"> <ul> <li><li><a href="http://www.southerncrossva.comli.com/index.php/Frontpage">home</a></li> <li><a href="http://www.southerncrossva.comli.com/index.php/login/">Login</a></li> <li><a href="http://www.southerncrossva.comli.com/index.php/registration">Register</a></li> <li><a href="http://www.southerncrossva.comli.com/index.php/pilots">Pilots</a></li> <li><a href="http://www.southerncrossva.comli.com/index.php/acars">Live Map</a></li> </li> </ul> </div> You can add any links you want like this > <li><a href="http://www.southerncrossva.comli.com/myforum">Forum</a></li> putting whatever address you want the button to point to in the line. As far as looks, if you are not going to implement a new nav bar, you could edit the background images for the existing one with a photo editor and change the colors/borders in your css file.
-
Css menus -> http://www.cssmenumaker.com/ also -> http://www.dynamicdrive.com/dynamicindex1/index.html
-
Instead if displaying $yourvariable->icao Use $yourvariable->name
-
Nice screen shot... looks familar, lol
-
Gotten side tracked this week with a project at work, I should be back at it this weekend
-
If it producing any errors? what version phpVMS?
-
hmmmm. seems as though when a pirep is approved it doesnt just add the pay for that flight to the money in the pilot's "bank" but recalculates all the pireps.... I will have to find some kind of work around, probably going to end up being another table for the examcenter for pilot pay, with a listener for pireps......
-
Nabeel built it into the beta - ;D From the default frontpage_main.tpl in the new beta <?php /* $usersonline also has the list of users - really simple example Or if you're not on the frontpage: $usersonline = StatsData::UsersOnline(); */ if (!$usersonline) { } else { foreach($usersonline as $pilot) {echo "{$pilot->firstname} {$pilot->lastname}<br />";} } ?>
-
If you have not changed the default variables <?php echo $pilot->lastpirep; ?>
-
Getting rid of lines that tell it what template to show will make it so nothing will display. You can change the file that it shows to match your template or just redo the existing one. They will all be reformated to match the new version in the next release, like this -> $this->show('exam_list.tpl'); but it will do the same thing.
-
@TAV1702 Exams.php line 15 -> echo '<div id="error">'.$message->value.'</div>'; Also - for those that have custom css files you need to have the following lines in your css in order for some of the backgrounds during the testing/approval process to render correctly -> #error { border: 1px solid #FF0000; background: #FFCCDA; padding: 1px; text-align: center; } #success { border: 1px solid #008020; background: #D8FFCC; padding: 1px; text-align: center; } #pending { border: 1px solid #008020; background: #FFFF99; padding: 1px; text-align: center; } Happy Coding
-
I have it running on 808 - have not tried anything past that but it should be ok. Yes - writing your own tests is what it is all about. I just put a test in it to give an idea how it works.
-
^do stuff! - lmao - dont know why but that made me laugh today! ;D
-
If you can put your code up at pastebin.org and leave the link I will look at it...
-
I have gotten the feeds for Vatsim, IVAO, Virtual Skies, and Real World ATC working on my development site. They all have a similar format but do have small items that are different so each data feed needs it's own module. I am working on transfering the data to the live map, right now all it does is count the data and can display all the info for each Pilot or ATC, as well as sort out a certain airline call sign. Does anyone know the admins on any of these sites other than Vatsim? Vatsim has a detailed written policy about using their data which I have made the Vatsim datafeed adhere to, but the others seem to lack much if anything in regards to the use of their data. I have had some tell me "yeah it's ok" but nothing as far as a policy.
-
At the beginning of the thread.... And I beleieve it has not been implemented into the beta.
-
Look for lines 152 and 153, I just checked the download and it is there.
-
My guess is that your field is not VATSIM ID but maybe Vatsim Id or some variant. They have to match in all respects. If they do, then check and see if there is any data in the table column. One thing you could do to avoid the table not being right when the variable is empty is something like this -> <?php $customfield = PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); if(!$customfield) {$customfield = ' ';} echo '<td>'; echo $customfield; echo '</td>'; ?> That will just put blank space in the table cell which will make it bring the line across or complete the frame.