-
Posts
1954 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by TAV1702
-
layout.tpl file in lib/skins/BrillianceV1
-
Thank you very much! I really appreciate it. +1 for you. **EDIT** Worked like a charm. Thanks again!
-
For now you can always do a quick search for pagination and add it. That will shorten your pages and load times.
-
Oh stuff like that happens from time to time eh? No biggie. Was a quick easy fix.
-
I got rid of the extra stuff you suggested and I still get the same exact error.
-
I have a quick one too. I added the news module to my home page not in the side bar, but in the center. I would like to get rid of the posted on date and add the posted by author. I borrowed code from the news item tpl file and it didn't work out so smooth.
-
Fixed! I got rid of all the " and replaced with ' . Now I want to get rid of the landing rate and add Status. So it would show Pending, Accepted, Rejected etc,etc. I tried nabbing the code from the viewall_pireps.tpl but it just tossed me out a syntax error. Here is the code tossing the error at me. It is the first div line where it says accepted. Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/xxxxxx/public_html/xxxxxx/lib/skins/brilliancev1/frontpage_main.tpl on line 87 <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); echo '<tr>'; echo '<td><center>'.$pirep->code.$pirep->flightnum.'</center></td>'; echo '<td><center>'.$pirep->depicao.'</center></td>'; echo '<td><center>'.$pirep->arricao.'</center></td>'; echo '<td><center>'.$pirep->flighttime.'</center></td>'; echo '<td><center>'.$pilotid.' '.$pilotinfo->firstname.' '.$pilotinfo->lastname.'</center></td>'; echo '<td><?php if($pirep->accepted == PIREP_ACCEPTED) echo '<div id="success">Accepted</div>'; elseif($pirep->accepted == PIREP_REJECTED) echo '<div id="error">Rejected</div>'; elseif($pirep->accepted == PIREP_PENDING) echo '<div id="error">Pending</div>'; elseif($pirep->accepted == PIREP_INPROGRESS) echo '<div id="error">In Flight</div>'; ?></td>'; echo '</tr>'; } } else { echo '<tr><td>There are no recent flights!</td></tr>'; } ?> It is no biggie if I do not get it to work since it is on a dev site only, but would be real nice to get the flight status to work. And please do ignore all of the center and end center tags. I know they are not right. I just hadn't got to do it the right way yet.
-
Hi guys. I know this post is real old and I hate to necro post, but I must. I have been itching to add this for a long time but never got around to it. I used the code posted above and it shows up on my site but with some errors. When it outputs the data to the table it shows up like this : I have been trying to fix it, but not sure what is going on. Would love some guiding light. Thanks in advance. Ray
-
Hi guys. I for the life of me can not find where the Pireps list under the flash chart in the public profile is coming from. I altered mine once before but can not recall what file I edited. Can anyone refresh my recollection please? Thanks in advance Ray **EDIT** I figured it out. After walking away for 10 minutes, I came back and immediately found what I was after.
-
I have that template and nothing is in the left side of the page. The side bar is on the right. All you have is code it like they all ready have it default except add your new php handlers in where needed to call the information. Here is a quick example of a couple things I have on mine. The site is not live to public so I will not link to it. It is only a dev site. Here is the code example. <h3>NOTAMS</h3> <?php PopUpNews::PopUpNewsList(5); ?> <br /> <h3>Airline Stats</h3> <strong>Total Flights: </strong><?php echo StatsData::TotalFlights(); ?><br /> <strong>Total Flights Today: </strong><?php echo StatsData::totalflightstoday(); ?><br /> <strong>Total Aircraft in Fleet: </strong><?php echo StatsData::TotalAircraftInFleet(); ?><br /> <strong>Total Pax Carried: </strong><?php echo StatsData::totalpaxcarried(); ?><br /> <strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?><br /> <strong>Total Charters: </strong><?php echo StatsData::totalschedules(); ?><br /> <br /> Now that code is not pretty at all, but it works. It has no skinning via css done to it at all. that is plain jane show up on the site as is code. To add any other modules, you simply add the handlers in that the install tells you to add such as <?php PopUpNews::PopUpNewsList(5); ?> Each module will have a different code to call up the information for that module. I know my explanation sucks real bad, but it was the best I could do without pasting an entire page in pastebin
-
I would take a look at the skinning dosc and verify that the code is in the proper spots before or after the javascript in the header of the layout tpl file. I get that error as well on one of my test sites. I have messed with it until I was blue in the face and gave up. I get that error, but it does pass the route to the bids. I would say start in the header section and see if anything comes good out of it. That is my best and only guess.
-
**EDIT** Never mind. Sorry for the post. I should have read it a bit closer before posting.
-
Hi Tylor. That pastebin is long gone. It was from August I believe. That is a nice little ditty though. I never saw it before.
-
We need a bit more detail then that alone. Is it a virgin phpVMS ( no addons ), what template are you using? Is it the default phpVMS template or one you downloaded and used? This topic has been flying around here a lot lately and it all stems down to 1 users skins that he posted. It is pretty much a java error in the header of your layout tpl file. Oh and the search feature on this site is fantastic! Give it a try once. I promise you will love it. Have a great night!
-
Hi Tom I got off track this weekend doing school work and the old ladys Bday. I am going to get back on it tonight or tomorrow hopefully. If you want, I can create a test account so you can see the forum I have so far. I have done some nipping and tucking and it is looking ok so far. Ray
-
Yes I can verify that it will add it back. The same thing occured with Simpilot's Exam Center. I don't think it was a bug, the system was simply acting the way it was designed. As far as the pilot adjust pay, it does work great. I went round and round getting it to work with the help of Lorathon. I still to this day use it successfully. Thanks for picking this up and running with it. It was badly needed.
-
Hi guys I agree. If it was released and I believe it was under the GNU free software license, once the author does not respond in so long, the mod/script can be taken over as long as the original authors credits stay in tact. I believe he had a solid working platform, it just need tweaked and pushed over the top. Starting from scratch may be an idea too. My coding skills suck pretty bad so I am not a candidate at all for the hard core coding. That is why I got myself in to school so I could learn all this stuff. I am still way behind the times as far as the codeon module ( ? ) goes. I never used it before staring with phpVMS. Lets hope someone can do it or a bunch of us combined can. I think it would be great.
-
Hey I just found something. It is not major by any means at all. Once a topic is locked, not even a admin can post in that topic again. That is actually kind of wrong. If I go to my announcements forum and a topic is locked so users can not post in it, a admin still should be able to. Is the fix going to be something as simple as adding in an else statement to allow admin to post? Not critical by any means, but nice to be able to post in a locked topic if one is an admin for various reason.
-
Say just for sh*ts and giggles I wanted to toss a div up around the entire thing. Where might I start to do that at? As I said in another post, I tried and tried until I was blue in the face and all I did was badly bust up the template. Also, I am working on a mouse over function so when you mouse over a particular forum it will highlight. It is pretty slick. Once I finish it up I'll let you take a peak and if you wish to use it then it is all good by me.
-
Yeah that would be great. I forgot to grab a copy while it was live. I badly want to add this little ditty to my site.
-
Hi guys. Maybe a year ago or so, a bunch of people requested something to spend pilot pay on and I saw it again today. Then the idea was being kicked around to come up with something. Suddenly, the author of the Pilot Shop came back and tossed out a quick release and then vanished. Too bad. I really think it would be great if we could get something similar to the pilot shop going as a module. Not only a pilot shop, but where pilots can buy shares of stock in the company as well as shares of stock in aircraft. The shares of stock could vary daily or what ever with many deciding factors such as active pilots to inactive ratio, pireps being filed etc etc. AS far as stock in aircraft goes, the pilot could draw dividends from their shares on that aircraft contingent on how much the aircraft is used. If it never gets used, stocks plummet and they loose money. And maybe a bank/vault to hold their earnings in and it could draw interest. No fees to deposit or with draw money. Something or anything at all for pilots and staff to use their hard earned pilot pay on would be great. Right now the only thing it is good for is Simpliots Exam Center and his RealSchedule Light. Both outstanding modules and craftmanship I might add. I am not sure where everyone else stands on this topic. I think that is one thing that would send phpVMS so far over the top, no other VA script could even come close to matching it's quality. Like any do right now right? To Nabeel and Simpilot and everyone elso who makes phpVMS what it is, I thank you very much. You guys are great! I only wish I had what it takes to help out. My skills suck at best. Have a great night. Ray P.S. I do belong to a VA that has most if not all of that coded up and it works great. I know if them old guys using 1995 technology can pull it off, surely we as a whole could do that here. I got faith.
-
Dev on that stopped long ago. That guy is MIA. I think he would be better off going the downloads by rank route that was discussed here just a bit ago. But yeah, something to do with the cash would give an edge to an airline for sure. Virtual cash just sitting in a bank account does nothing for the pilots. However, that pilot shop idea was really cool. Too bad he gave up on it and went MIA.
-
Hi Tylor. The only obvious thing I can think of off the top of my head is, the schedules that are not showing are they available for that day of the week? If you set them for certain days of the week, then they will only show on those days of the week.
-
I am kind of curious too if this can be done. I have been working on a little project and bumped in to this issue. Since i have two airlines running off of the same website, it lists all of the aircraft as belonging to 1 airline instead of listing them seperate. This feature would be real handy. I may need to go back and read the posts again to see if it was solved or not. I apologize if it has been answered already.