Jump to content

ahughes3

Members
  • Posts

    205
  • Joined

  • Last visited

Everything posted by ahughes3

  1. Hello all, So I too am facing the dreaded "open flash" issue. I have reinstalled phpvms half a dozen times including using the github files referenced earlier in the post. I still get the open flash error and no charts showing. I have already since deleted the local.config.php file and done a couple of other things to sort out initial install errors. This is the last problem I am getting. I do have an ofc folder with other folders and files in there. Could it be as simple as an incorrect file path looking for the flash player file? Can anyone tell me where I might find the relevant file to check the filepath. Or indeed, any other thoughts as to what might be the cause. I am sure there must be a few geniuses out there who have fixed this already.
  2. Thanks Vangelis, I'll deffo take you up on it. I am around all evening tonight. If you are then maybe we can try it tonight?
  3. Was there ever an answer to this as I would very much like to implement this too?
  4. Ever have one of those Ah-haa moments? That was me about half an hour ago! I realised that I'd downloaded Nighthawk's aircraft buy/sell/maintenance mod but it was quite working right. I hadn't managed to run the SQL Batch File. Once I'd worked out how to run it and it loaded the extra tables in the database I went and rechecked and Poof!!! It's working again. The lesson here is finish what you start and finish it properly Thanks again for the comments.
  5. Parkho, many thanks for the time you spent on putting this together for me. I have uploaded it into my php structure. I have a question for you......on your image, the data appears on a phpvms page. My situation is slightly different. I have a website www.bluespiritva.co.uk and this is made up of a bunch on php pages with includes for the header, footer and sidebar. In a sub-domain (www.bluespiritva.co.uk/airline-operations) I have installed my phpvms site. So, whilst I can see it looks like you've got it working in phpvms, how would I call the page/data to a top level php page as an include. If you go take a look at my website and look at the sidebar you'll see what I mean. This is where I want the information to appear. Also, on the www.goairuk.co.uk website, they are pulling through flight board data and all sorts into their top level domain. That's what I would like to achieve. It was so much easier to do on FS Airlines and VAFS I do appreciate your help Parkho and everyone else who's responded.
  6. @Parkho - I did what you suggested but it hasn't worked. All it does is show me the index page to my site with no css and no sidebar stats. @Tom - I've tried this too by using airline-operations/core/codon.config.php (where "airline-operations" is my main phpvms install folder, one level down from my main domain) I'm getting to the point where I've tried countless ways of writing, saving and testing and nothing seems to work. I find it hard to believe it's not possible given that there are much bigger and more complex sites than mine that pull data from tables contained at sub domain level. Is there no one out there that can help me understand where I'm going wrong. I have teamviewer if someone feels up to helping me. (I can't believe I'm the only one in this situation) Thanks
  7. Ok, so I've managed to download and install the files (major achievement for me!!) and I managed to run the SQL batch file (a mega achievement for me!!). When I am in the admin panel, I can now buy an aircraft, lease it, repair it etc. The only problem now is that the prices of the planes seems really high and I wanted to know how to change them and also the lease fees. Otherwise we've got no hope of getting any aircraft! Also, I read the readme file and tried to find the "line 40" in the aircraftrepair.tpl but can't see anything that resembles it. Am I missing something, is this now not applicable? Lastly, the purchase of the planes hasn't affected our revenue, we still have the same amount of money, whether we buy, sell or repair? Getting their and I really love this mod. :-)
  8. Hi All, Something strange has happened to our admin for our airline. None of the staff team can add aircraft to the fleet. Three of us have tried and it comes up with an error message. I have checked the pilot group for admin and the settings look ok. Nothing else has changed. I've reset the cache, optimized the tables etc but still no joy. Any ideas? Just off to try and see if it's affecting other areas of the airline.
  9. Nope that still doesn't work. I get no results at all with the above. @Parkho, are you suggesting I put the above code into a tpl file? If so, what would I put in the module folder?
  10. No it's a static page from our website. We had it before we joined phpvms.
  11. Hmm, when I add this code it, the whole sidebar breaks and I only see the first div. When I take the code out it all comes back ok. I've pasted the whole page coding just incase there is something else I'm missing. <?php include 'http://www.bluespiritva.co.uk/airline-operations/core/codon.config.php'; ?> <div class="column"> <div id="featured"> <h2>Newest Pilots</h2> </div> <div id="featured"> <h2>Recent Forum Posts</h2> <?php require_once('forum/config.php'); $link = mysql_connect($dbhost,$dbuser,$dbpasswd); mysql_select_db($dbname, $link); $result = mysql_query("SELECT * FROM `phpbb_posts` ORDER BY `post_id` DESC LIMIT 5", $link); while($r = mysql_fetch_array($result)) { echo "<a href=\"http://www.bluespiritva.co.uk/forum/viewtopic.php?f=7&t=76" . $r['post_id'] . "\">" . $r['post_subject'] . "</a><br />"; } ?></div> <div id="featured"> <h2>Pilots on Teamspeak</h2> <div id="ts3viewer_1020584" style="width:; background-color:;"> </div> <script type="text/javascript" src="http://static.tsviewer.com/short_expire/js/ts3viewer_loader.js"></script> <script type="text/javascript"> <!-- var ts3v_url_1 = "http://www.tsviewer.com/ts3viewer.php?ID=1020584&text=000000&text_size=12&text_family=1&js=1&text_s_weight=bold&text_s_style=normal&text_s_variant=normal&text_s_decoration=none&text_s_color_h=525284&text_s_weight_h=bold&text_s_style_h=normal&text_s_variant_h=normal&text_s_decoration_h=underline&text_i_weight=normal&text_i_style=normal&text_i_variant=normal&text_i_decoration=none&text_i_color_h=525284&text_i_weight_h=normal&text_i_style_h=normal&text_i_variant_h=normal&text_i_decoration_h=underline&text_c_weight=normal&text_c_style=normal&text_c_variant=normal&text_c_decoration=none&text_c_color_h=525284&text_c_weight_h=normal&text_c_style_h=normal&text_c_variant_h=normal&text_c_decoration_h=underline&text_u_weight=bold&text_u_style=normal&text_u_variant=normal&text_u_decoration=none&text_u_color_h=525284&text_u_weight_h=bold&text_u_style_h=normal&text_u_variant_h=normal&text_u_decoration_h=none"; ts3v_display.init(ts3v_url_1, 1020584, 100); --> </script> </div> <!--------------------------------------------------------> <div align="center"> <table class="qtable" width="200px" style="margin-left:-4px;"> <tbody> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Flights Today</strong> </div></td><br /> <td style="border-bottom:1px dashed #CDCDCD;"><div align="center"><span class="label"><?php echo StatsData::totalflightstoday(); ?></span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Total Flights</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="center"><span class="label"><?php echo StatsData::TotalFlights(); ?></span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Registrations Status</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="center"><span class="success label">OPEN</span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Total Pilots</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="center"><span class="label">375</span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Total Passengers Carried</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"><span class="label"><?php echo StatsData::TotalPaxCarried (); ?></span></div></td> </tr><tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Total Aircraft</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"><span class="label"><?php echo StatsData::TotalAircraftInFleet () ; ?></span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Total Schedules</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"><span class="label"><?php echo StatsData::TotalSchedules (); ?></span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Pending Applications</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"><span class="alert label"><?php echo count(PilotData::GetPendingPilots())?></span></div></td> </tr></tbody></table></div> -----------------------------------------------------------> <div class="holder"> <script type="text/javascript" src="http://jk.revolvermaps.com/r.js"></script><script type="text/javascript">rm_f1st('8','200','true','false','000000','afpo5r6m7b8','true','ff0000');</script><noscript><applet codebase="http://rk.revolvermaps.com/j" code="core.RE" width="260" height="260" align="absmiddle" archive="g.jar"><param name="cabbase" value="g.cab" /><param name="r" value="true" /><param name="n" value="false" /><param name="i" value="afpo5r6m7b8" /><param name="m" value="8" /><param name="s" value="200" /><param name="c" value="ff0000" /><param name="v" value="true" /><param name="b" value="000000" /><param name="rfc" value="true" /></applet></noscript> </div> </div>
  12. Hi Daniel, Thanks for your reply. I took your code and placed it instead of the code I had like below but nothing shows up and it prevents the code further down the page from showing up either. Take a look at http://www.bluespiritva.co.uk/airline-flight-tracker.php and you'll see what I mean. <?php include 'http://www.bluespiritva.co.uk/airline-operations/core/codon.config.php'; ?> <div class="column"> <div id="featured"> <h2>Newest Pilots</h2> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> </div>
  13. Hi all, I am hoping someone can help me figure something out. I am trying to show "recent pilots" data on a static page on our airline website. I have added the codon.config.php at the start of the page and the pasted the code snippet from the tpl file "recentpilots" into my web page. Nothing shows up. I am obviously inserting or referencing the code incorrectly but not being that clued up on php I can't see what's wrong myself. Can anyone offer a helping hand to explain where I'm going wrong? Code is below (this is not the whole page, just the part relating to the recent pilots) <?php include 'http://www.bluespiritva.co.uk/airline-operations/core/codon.config.php'; ?> <div class="column"> <div id="featured"> <h2>Newest Pilots</h2> <?php foreach($pilots as $pilot) { ?> <p><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></a></p> <?php } ?> </div>
  14. Thanks Vangelis, I will take a look and hopefully I'll post back here with a big thumbs up @Strider - I have been running a VA for quite some time and we already had the website set up before we migrated to phpvms. I'm loathed to chuck the who thing away when the two can work well together as they are...........assuming I can get the stats to show up on the static site.
  15. And therein lies the problem lol. I've downloaded the tool you mentioned Nighthawk to try and run this batch file but I can't seem to get the set up details right for connection to the database. What typically would the hostname be? I think I know the other settings, I reckon it's this one that is wrong.
  16. Where can I get the latest version of this mod please?
  17. Hi Vangelis, our main website is a static website with phpvms installed in a sub-directory. When we used to use fsairlines and VAFS they had code for various airline states based on iframes. I'd like to be able to incorporate similar data from phpvms, but i want it on the main website not the vms one. Would the codon.config act as a link through to the data in phpvms? Would I then be able to utilise the code snippets? I am assuming the codon.config would go in the root of the main website? Sorry for so many questions, I'm just trying to understand
  18. Hi All, Just to let you know, we are a new VA on PHPVMS. We have previously been flying on the FS Airlines system but felt it was time to move onto something more flexible and scalable. We've been up and running since the start of the year and we have 8 active pilots and a few who do a bit now and then. We are a VA for both new and experienced pilots and ATC. Our aim is to create a flying environment that balances fun with realism in order to appeal to as wide an audience as possible. Todays noobs are tomorrows veterans! We have a good setup including: A nice, informative website (www.bluespiritva.co.uk) Pilot Forum Teamspeak 3 server IP 86.143.176.82 FS Open Sessions both for the UK (Gatwick) and US (Atlanta) (FSX Open Flights) We have our own aircraft liveries (more in development) We also have a great staff team to help settle you into our VA Vatsim trained pilots and controllers We have just started running some events but are planning to do more both on our multiplayer session and Vatsim. Our events are both midweek and weekends to be as flexible as possible. We would love to going more pilots and looking forward to hearing from people who are just interested in flying and those who fancy helping us grow our already fabulous airline. Happy to have a chat to anyone that is interested in finding out more about us. Take care
  19. Ok, I am a complete noob when it comes to php but I'm a fast learner. I want to include a set of stats on my VA website, not the phpvms site. If I use the above code snippets, what do I need to do so they will pull the info from phpvms and show them on my website? Any help, much appreciated.
  20. This is a great script and I've managed to get as far as Vanity above. But when I click on one of the post links it takes me to a page not found. I'm guessing its the last domain link in the script that I need to change, only I don't know what to. Any suggestions? Does this need to be a path relative to somewhere on my forum?
  21. ahughes3

    kAcars Error

    Umm don't see an email from you. What's the name on your email? Anyways, it is kind of redundant now, I finally got it working. After about the eighth or ninth time uninstalling it and reinstalling it! As far as I can tell, my phpvms installation was fine, the kACARS client was fine, it was definitely something to do with the module folder and versions. So I deleted everything including the client. I downloaded the module again and extracted the folder into core/modules. I then downloaded the client and installed that. I then checked the php script which i noticed was called kACARS_Free. The folder however was called kACARS_Free module v1.0.1.1 or something. So just as a hunch I changed that folder and named it kACARS_Free so it matched the php file inside the folder. I then started up the client and hey presto it worked! Oh, I had to alter my base url too from www.yoursite.net to www.yoursite.net/airline-operations which is where my phpvms install is Anyways all sorted now. Thanks
  22. ahughes3

    kAcars Error

    Ok so i checked with my host provider and they don't add any additional script code to the files. They have basically told me that this is the fault: [24-Jun-2013 18:21:07] PHP Fatal error: Class 'CodonModule' not found in /home5/spiritc1/public_html/bluespiritva.co.uk/airline-operations/core/modules/kACARS_Free/kACARS_Free.php on line 21 [24-Jun-2013 18:35:12] PHP Fatal error: Class 'CodonModule' not found in /home5/spiritc1/public_html/bluespiritva.co.uk/airline-operations/core/modules/kACARS_Free/kACARS_Free.php on line 21 Which I'm guessing means that kACARS_Free.php script can't communicate with the databases it needs and return any information. I've tried everything to get this working but it still throws up the same "switch verify" issue. I'd be grateful if someone could help me sort this. Happy to pay a bit for someone's time to get it fixed. I want to get my pilots flying on the system and the other trackers just aren't good enough.
  23. ahughes3

    kAcars Error

    Mine doesn't connect either, I get the switch message. The url for my website is http://www.bluespiritva.co.uk The module is correct and in the core/modules folder. The module and the client versions match and as far as I can see I've put in the settings properly. I'm not on a free host it's a paid hosting I've had for a long time. If you can suggest anything I'd be grateful.
  24. I'm getting the same problem. I've checked the pilots list and they still say active when I want them to be in the "pending" group. Selecting and saving the default user group makes no difference whatsoever. Is there somewhere in a config file I can edit it?
  25. Yup, I followed the instructions and it all loaded ok. Do you know where the module is stored in the folder structure and I will take a look and see if it's there. Thanks ******** Ok I've sorted it now. You were correct Jon, for some reason everything else had uploaded except that one file! Most bizarre! Anyways, I've uploaded it now and it's all working fine. Thanks for the prompt.
×
×
  • Create New...