Jump to content

TAV1702

Members
  • Posts

    1954
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by TAV1702

  1. I got it. I ignored the version numbers and grabbed it. Works a treat now as far as pilot pay and ticket prices go.
  2. No. I pondered doing that before, but I let all of my FBOs get shut down. I have not been on that site now in about 2 years or so. I got tired of trying to do a flight and every model I had or found for aircraft would not work, then I had to go look for a while.
  3. NO was not aware of getting them there. I normally just grab them from the threads on this site when you post them. Thanks for clarifying that for me Nabeel. On a side note, have you got to look in to that expense filter thing? That to me is not a biggie, but now that I know what it is and what it does, it sure will be nice to be able to use. **EDIT** When I click the downloads button on that site it only shows 3 versions. * v2.1.934 * v2.1.933 * v2.0
  4. Hi Mark. Here is my change. I am sure it is not the cleanest in the world and there is a better way to do it, but this was my quick dirty fix that worked and made the guys happy. <?php //simpilotgroup addon module for phpVMS virtual airline system // //simpilotgroup addon modules are licenced under the following license: //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) //To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/ // //@author David Clark (simpilot) //@copyright Copyright (c) 2009-2010, David Clark //@license http://creativecommons.org/licenses/by-nc-sa/3.0/ ?> <style type="text/css"> .left { width: 200px; float: left; min-height: 300px; padding: 15px 0 15px 5px; } .right { float: left; margin-left: 10px; } </style> <div> <?php Template::Show ('mail_menu.tpl'); ?> </div> <div> <center> <table width="100%" cellspacing="1" cellpadding="5" border="1"> <tr> <td colspan="2"><img src="<?php echo SITE_URL?>/mailimages/airmail_logo.png" border="0" alt="AIRMail" /></td> <td colspan="3" align="center"><b>AIR</b>mail sent items for <b><?php echo Auth::$userinfo->firstname.' '.Auth::$userinfo->lastname.' '.$pilotcode; ?></b></td> <td colspan="1" align="center"><img src="<?php echo SITE_URL?>/mailimages/mail_small.png" border="0" alt="AIRMail" /></td> </tr> <tr bgcolor="#cccccc"> <td colspan="7" align="center"><img src="<?php echo SITE_URL?>/mailimages/env_closed.gif" border="0" alt="Unread"> = message unread | <img src="<?php echo SITE_URL?>/mailimages/env_open.gif" border="0" alt="Read">= message read</td> </tr> <tr bgcolor="#cccccc"> <td align="center"><b>Status</b></td> <td align="center"><b>To</b></td> <td align="center"><b>Subject</b></td> <td align="center"><b>Date sent</b></td> <td align="center"><b>Time sent</b></td> <td align="center"><b>Remove From<br />Sent List</b></td> </tr> <?php if(!$mail) { echo '<tr><td colspan="7">You have no sent messages.</td></tr>'; } else { ?> <?php foreach($mail as $test) { if ($test->read_state=='0') { $status = 'env_closed.gif '; } else { $status = 'env_open.gif'; } ?> <?php $user = PilotData::GetPilotData($test->who_to); $pilot = PilotData::GetPilotCode($user->code, $test->who_to); ?> <tr bgcolor="#eeeeee"> <td align="center"><img src="<?php echo SITE_URL?>/mailimages/<?php echo $status;?>" border="0" /></td> <td align="center"><?php if ($test->notam=='1') { echo 'NOTAM<br />(All Pilots)'; } else { echo $user->firstname.' '.$user->lastname; ?><br /><?php echo $pilot; } ?> </td> <td align="center"><?php echo $test->subject; ?></td> <td align="center"><?php echo $test->date; ?></td> <td align="center"><?php echo $test->time; ?></td> <td align="center"><a href="<?php echo SITE_URL ?>/index.php/Mail/sent_delete/?mailid=<?php echo $test->id;?>"><img src="<?php echo SITE_URL?>/mailimages\delete.gif" alt="Delete" border="0"/></a></td> </tr> <tr bordercolor="eeeeee"> <td colspan="7"align="center"><?php echo $test->message; ?></td> </tr> <?php } } ?> </table> </center> <br /> </div> <br /> <center><b><font size="1.5px">AIRmail © 2009 <a href="http://www.simpilotgroup.com">simpilotgroup.com</a></font></b></center> <br /> You will have to fix the opening two div tags if you still use the default menu. I have a custom menu so I got rid of the div classes.
  5. As soon as I get back on my pc I will. On my cell phone right now
  6. TAV1702

    VAForum 2

    Found another issue. When attempting to move a post, it only gives an option to move the post to the thread that it is currently in. It does not give an option to move the post to any other categories.
  7. I found a decent work around for this for the time being. I simply removed the message part from the heading and dropped the colspan down to make it look right. Then I added in the message part below the rest in standard table cell. Works out quite nice.
  8. So grab the latest beta again from this thread? Not sure I follow when you say repository. I feel as though another fine blonde moment is upon me.
  9. TAV1702

    VAForum 2

    Hi Tom. Yeah I do have that in the header of my layout.tpl. I wonder if my style is over riding that one. When I inserted some new classes in my css file, it completely changed the way the forum looked as far as the colors go. Maybe my css file and the forum css file are clashing? And I am using Firefox. Truth be known, I have never even looked at my site with IE. I guess I need to start looking at it in different browsers when coding.
  10. This should be moved to support. I don't think it is a css issue after all. For some reason, the code is pulling the Bid ID out of the database as well. Here is what I am using. <?php MainController::Run('FrontBids', 'RecentFrontPage',5); ?>
  11. No One else ever have this issue? And upon further review, it will show all the recent bids 1 at a time. As soon as pirep is filed for 1, it will show the other automatically. Might be all in my css.
  12. Nope. Not the whole thing. A quick tip to doing this kind of thing is take a close look at the opening line of code, and then look at the closing line of code. Find the two corresponding lines in your php file and replace it from start line to end line.
  13. ok And that was occuring on V955 and now on on V956 or what ever versions they are.
  14. I got a quick question. Not sure if I have a skin issue or what. On my live site, I have a recent bids block and it shows like this: N839TA-CYVR to PANC Now the N839TA is bold. On my test website, I added recent bids block and nothing is bold, all the text is real small and it reads like this: 7 - MEP401 - KBWI to KMKE I used the same exact code from my live site. So I know why the text is small and not bold. It is the .css . What I am curious of is where in the hell is the 7 - coming from? And it will only show one recent bid instead of the 5 like I have it set to show. Not quite sure what the hell is going on.
  15. You got it one more step then what I did then Mark.
  16. Yeah exactly. When a user goes to edit the schedule, it inserts the ticket price in the pay per flight. Like I said though, once the pay per flight is edited, no matter what number it shows on that page, it is correct in the database as to what was put in the field by the admin. So it is paying correct for the flight IF the pay per flight has been edited.
  17. Ahh so I was correct. Now here is the problem. If I go to the page and type in for example KDEN, it will return all info for me and that is correct. Now If I go up to the filter and type in KMKE, it gives me an error. As a matter of fact, it errors out no matter what I put in the box. If I click another link in the admin panel, any old page, and then come back to the filter again, it will work correct for one search then it will error again. Hmmm Now I think I might have out this in support thread maybe? Here is the error. Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Finance::viewreporttype=m1299045600&submit=view+report' was given in /home/xxxxx/public_html/xxxxxx/core/classes/MainController.class.php on line 218 This error results for any filter I try unless I leave the page and then come back and try it. So each time I try a search I have to leave and come back. I am probably confusing the hell out of you. If needs be I can cut a video.
  18. Ok on the ignore list. Did I confuse you on the pay per flight thing?
  19. Admin Center/Reports&Expenses/Financial Reports In the Finance Filter it says to use % for a wildcard. I am not sure what exactly is going on with it to be honest. I am curious how to use the % for a wildcard. And what exactly it does. It is pretty much the ONLY part of the entire system I have yet to figure out. I figured if I was filtering by code I could put up a 2% then any airport that started with a 2 would be added to the reports? I may be way off here. Thus the reason I ask.
  20. Yeah Dave, you are spot on. I did get the subject to be a link, but the way the Airmail sees it, when the link (subject) is clicked, it thinks I am trying to open someone else's Airmail. I understand why it sees it that way, I just can't figure a way around it. It really is fine as is, BUT if people keep replying to the Airmail over and over, it becomes VERY long and drawn out. I know it is not a bug and the Airmail is working as class act as it was designed to. I guess it is more of a want than a need.
  21. Hi Nabeel. Couple quick things. This build says it is 955 however, in the admin panel of my site, it says it is 956. And when adding a ticket price in the schedules, it auto inserts that same price in the pilot pay field. Now I went and edited the pilot pay manually instead of the ticket price of say 95$ I changed the pay for this flight to 185 and clicked submit. The pilot pay for that flight reverted back to the ticket price in the pay field. So I went to phpMyadmin and looked, and the pay that I inserted is in the database. So it will pay properly, it just should not auto insert itself in the pay for flight when a ticket price is added. AND it I believe it should show the proper pay for that flight once adjusted and not show the ticket price?? Hope I did not confuse you. I am good at doing that. Ray
  22. No one? I figure with 25 views someone would have an answer for me.
  23. I have a guy on my site that is a numbers guru. He likes to keep track of daily stats as well as weekly and monthly. Somehow, he gets the information from the website and plugs it into excel to create charts and graphs and tables and stuff like that. I have no clue how he does it. He said something about he could copy and paste what is already on site from the balance sheet, but some of the numbers format in excel as numbers and others paste in as text. He said the ( ) and the $ stuff jacks with his system somehow. I really wish I knew what he was talking about. I do nothing with the numbers. That is his area. If I find out more, I will let you know.
  24. To add the link just open your core nav file and see how the urls work. If you wish to hard code it in, add http://yoursite.com/index.php/TopPilot The place where you put the link is up to you.
  25. Right now Mark, I am game to try anything. As I said previously, I had pondered even skinning it to look like a forum post. All the date and other info on the left and the post on the right. If you know any nifty tricks I can try for the mean time that looks ok, fill me in. I have tried everything short of a recode on this one page. All the other airmail pages are top notch though. Ray
×
×
  • Create New...