-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
Have you hit the ie7 comaptibility button in ie8, that usually fixes it. If not it may just be one of the things that ff and ie display differently....
-
It shows up on your site when I look at it now. Maybe refresh/restart your browser.
-
The path you are using -> http://www.tnt-virtual.be/lib/skins/tntairways/images/TNT.GIF is non-existant on your server... check your server to see if the image is actually there and in the correct location and named correctly.....
-
chikolol - Looks good on your site Thomas - Here is a basic piece of code to display the table data as an image according to the airline as on the flyUK site. You will need to modify it to fit your site and insert it in the schedule_results.tpl file or in whatever table you are using. This example is using the assumption that there is 4 airlines, you can adjust it to how many you have. <td> <?php if ($route->code=="abc") echo "<img src='http://www.yoursite.com/abc.gif'>"; elseif ($route->code=="def") echo "<img src='http://www.yoursite.com/def.gif'>"; elseif ($route->code=="ghi") echo "<img src='http://www.yoursite.com/ghi.gif'>"; else echo "<img src='http://www.yoursite.com/jkl.gif'>"; ?> </td>
-
Is there a space in your folder name "tnt airways"? If so I would lose it, change the folder name on the server and in your code Earlier you were showing the folder as "tnt" not "tnt airways" Check these differences Are you sure the image is a gif and not a jpg or png extension? Also, I just looked at the source for your page and the image link is: This needs to be changed to the absolute path EDIT - Looks like we posted at the same time.
-
PM me with what your needs and ideas are.....
-
There is part of the issue... your path should be.... http://www.tnt-virtual.be/lib/skins/tnt/images/vatsim.gif This still does not work here in my browser.... there has got to be something named differently between the path you are using here and what is actually on your server...
-
Do you just need a temporary home for your airline, until you are able to get your own hosting? If so I may be able to help you out and host your VA as a subfolder on my site...
-
Looking at the source code on your page to display the vatsim image in the side bar, it looks correct to me. Using your path directly in my browser http://www.tnt-virtual.be/images/vatsim.gif will not display the photo at all My guess is that is not the actual path to the image on your server or you have something misspelled. Check to see if it is actually on your server, folder name, image name, and file extension are all correct.
-
Try this, it should work ??? <body> <div class="jqmWindow" id="jqmdialog"></div> <div id="header"> <center> <h1><span class="heading_color">TNT</span> Virtual Airways</h1></center> <center><img src="<?php echo SITE_URL?>/images/vatsim.gif" alt="VATSIM" width="151" height="51" /></center> </div>
-
Try - <img src="<?php echo SITE_URL?>/images/vatsim.gif"> Probably wont work in DW but should work on the site
-
Not sure if I am understanding exactly what you are trying to do but if you are simply wanting to display the scheduled routes for one of your airlines and you are using a unique flight number code for the schedules for that airline you can sort the data using the "code" line out of the schedules table. I am guessing how you have it setup and making some assumptions but - your flight schedules are probably something like JET101 - KLAX - KBOS etc... DHL201 - KLAX - KBOS etc... The "JET" and the "DHL" portion of the flight number is a seperate item in the table named "code". If you set up your own sql request to only use lines that the "code" = "DHL" it should only return the flights for that airline, or you could sort the info after you pull the entire table and only display what you want using a similar command.. The PIREPS also store the same unique code so you could sort and display those in the same way. If you are tring to display a unique airline logo in the flight info as on the second page of the uk link you posted you could use the same theory using if - else commands based upon the returned "code" data. basically - if code = DHL -> then display logo image 1 // if code = JET -> then display logo image 2 // else display logo image 3 Let me know if any of this is what you are thinking and I can probably write a quick piece of php to make it work for you.
-
You are missing the closing php tag, it should be: <h2>Our Latest Recruit</h2> <p> <?php MainController::Run('Pilots', 'RecentFrontPage', 1);?> </p>
-
If you have a webmaster account for your site with google, which is free, you can open what google has cached about your pages on their servers. I have done it before and you can usually get your css code and the majority of your code from your pages from it.
-
what is your old web link - does google have it archived?
-
I for one have to thank you Nabeel! I have bought vabase, threw it in the recycle bin, tried others and became frustrated, neared giving up and found phpVMS.. Best thing that ever happened to me in the VA realm. Easy to understand tutorials, great support, and open source. I don't know what to say about the stats, impressive is not good enough for a description, I again say THANK YOU, Nabeel! Remember, good deeds don't go without reward later in life.
-
There is no users at all in the database or just no admin? You should be logging in with the email address and pw you set in the initial install process. If nothing at all exists in the database i would reinstall the app.
-
You are probably going to have to change the chartacter set in the header. I am not very familar with this and do not have any idea what it is going to do to the rest of the app or what to use..... Hopefully Nabeel will be able to help out. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
You can change it in PilotData.class.php line 706 but it may get overwritten in an update. Remember to regenerate your sigs after changing it. Total Earnings: $ $output[] = Total Earnings: $' . $pilot->totalpay;
-
Would anyone be interested in repainting a couple of FS9/FSX aircraft for me in return for skinning your new phpvms site? You can see my site at: www.newenglandvirtual.com and another one I am working on for someone else: www.simpilotgroup.com/aerogal
-
Use the awards function for management positions. That's what I did and it works well. Cheers
-
Have you tried the "recalculate ranks" option in the top left menu of the rank admin section? I do not believe it will auto-update, or it never has for me, I just go in once in a while and hit the recalculate ranks button and all is well.
-
Hi, Caught a bug I think - I am using beta build 718 but I think it came from beta build 713. The registration form is inserting lower case letters into the database for the country location which makes the pilot profile show Afghanistan (the first country in the list) in the profile and such. Example - it inserts us instead of US into the location field in the pilots table. When I go into the db and edit it to uppercase the location and flag display properly.
-
Good Luck On This One - I have not been able to figure it out yet ... ??? See threads below http://forum.phpvms.net/index.php?topic=951.0 http://forum.phpvms.net/index.php?topic=830.0
-
From the profile module it is using: case 'view': $pilotid = $this->get->pilotid; if(preg_match('/^([A-Za-z]{3})(d*)/', $pilotid, $matches) > 0) { $pilotid = $matches[2]; } $userinfo = PilotData::GetPilotData($pilotid); Template::Set('userinfo', $userinfo); Template::Set('allfields', PilotData::GetFieldData($pilotid, false)); Template::Set('pireps', PIREPData::GetAllReportsForPilot($pilotid)); Template::Set('pilotcode', PilotData::GetPilotCode($userinfo->code, $userinfo->pilotid)); Template::Set('allawards', AwardsData::GetPilotAwards(Auth::$userinfo->pilotid)); Template::Show('pilot_public_profile.tpl'); break; And from the template for display: <strong>Awards</strong> <?php if(is_array($allawards)) { ?> <ul> <?php foreach($allawards as $award) { /* To show the image:*/?> <li><?php echo $award->name ?>  <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" /></li> <?php } ?> </ul> <?php } ?>