
tutmeister
Members-
Posts
226 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by tutmeister
-
You can always code it to set the lat/long for airports that aren't recognized, gcmap allows for that in the format: "Name"+@xxxxxxNxxxxxxW Where the x is replaced by the minutes and seconds of the location's lat/long.
-
This isn't a phpVMS error. Your hosts connection between the website and database has gone down, so you need to take it up with them. But like the others say, free hosting doesn't work very well with phpVMS as phpVMS is too powerful for them! This great software needs better hosting and I too recommend Fivedev (http://www.fivedev.net/).
-
Well I wish you the best in offering your services, and I hope that you can help others compete in the VA "industry." As we all know, it's a cut throat industry where pilots come and go if you don't offer an incentive to stay, for free, while you splurge on modules, hosting and other services. So while I believe that the natural cream will rise to the top, it sure is nice to see people offering others a way to get there. The bottom line is: Competition between VA's will only aid in creating much better VA's for the pilots. phpVMS is a great example of a service provided to wannabee VA CEO's that didn't have the expertise to create a dynamic website with a membership, PIREP logging, and all the other great features. It allowed the industry to rise as a whole and leave behind the crummy static paged websites of yonder. So again, good luck to you.
-
Thanks for the compliment! What we did was simply call datatables by calling the javascript in our HTML head, adding the class of "display" to our roster's HTML table, and linking the table's ID to the datatables jQuery initiaization call. This is exactly like in Mr. Bean's tutorial here. You can make any HTML table into a sortable table this way. To make it ordered by a certain column, you can change the jQuery call to add the aaSorting option. <script type="text/javascript" charset="utf-8"> $(document).ready(function() { oTable = $('#dataTables').dataTable({ "bJQueryUI": true, "sPaginationType": "full_numbers", "aaSorting": [[ 5, "desc" ]] }); } ); </script> <div class="example_alt_pagination"> <table id="dataTables" class="display"> YOUR PIREP TABLE HERE </table> </div>
-
I actually think that you probably need to reduce your Acars live time in your local.config file (which is in the Core folder). //720 minutes Config::Set('ACARS_LIVE_TIME', 720); If you reduce it down to something like 10 or 15 minutes, it will change the pilots code to offline much faster without having to mess with Core files.
-
Resizing of tables to fit with template. [PROBLEM AGAIN]
tutmeister replied to MBrown's topic in Support Forum
It looks like that template is displaying correctly. It shows a div that has been centered, with the correct text. What is missing is a background color, presumably white. That should be corrected by either adding a parent div around the whole code in the template (which you can find by looking at a page that displays correctly), or, by creating a new div and using the stylesheet to place and style it. If you have a link we could take a better look for you. -
Seeing as you believe the installation went fine, it could be that you're running PHP 5.4 or higher, where E_STRICT became part of E_ALL. So turning it off won't have changed anything. What I believe you can do to override this, is to change the following line in the core folder, the local.config file: Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE); Change it to: Config::Set('ERROR_LEVEL', E_ERROR); or if that doesn't work, try even: Config::Set('ERROR_LEVEL', 0); However, be sure to turn error reporting back on when you move to a production server, so you have adequate notice of problems.
-
You need to go into your local.config file and change the line: Config::Set('ACARS_LIVE_TIME', 720); To something smaller in minutes. I find 10 minutes works fine.
-
Give people a chance to reply my friend. Not everyone checks this place every hour of every day.
-
Please search this forum. There are a few posts explaining how to do this. Use the search term Pagination.
-
You need to edit the FSFK section for FTP details in the phpvms config file to allow the user a way to upload the images to your server. Beware this will cause your server o use quite a lot of disk space if you allow members to upload high resolution images for every PIREP, so make sure your edit the FSFK template that they have to download to only have the images you want uploaded enabled.
-
OFC is completely customizable. Check out their help documentation for more information. More info also here.
-
Topic says solved, but just so others might see the solution. In the template above, you've got the width hardcoded into the HTML code for the table like so: <table width="500px" align="center" class="balancesheet" cellpadding="0" cellspacing="0"> If you change 500 to whatever you need, that'll change the table width. The code for the flash chart is at the bottom in the javascript: <script type="text/javascript"> swfobject.embedSWF("<?php echo fileurl('/lib/js/ofc/open-flash-chart.swf');?>", "summary_chart", "<?php echo $chart_width;?>", "<?php echo $chart_height;?>", "9.0.0", "expressInstall.swf", {"data-file":"<?php echo actionurl('/finances/viewmonthchart?'.$_SERVER['QUERY_STRING']); ?>"}); </script> It's calling two PHP variables, which are assigned just a few lines above: $chart_width = '500'; $chart_height = '500'; So just change those numbers to the width and height you want your flash chart to be.
-
In the template is the object HTML for the breakdown flash chart, like so: <object width="700" height="450" data="http://www.unityvirtual.net/lib/js/ofc/open-flash-chart.swf" type="application/x-shockwave-flash"> <param name="flashvars" value="data-file=http://www.unityvirtual.net/action.php/finances/viewmonthchart?"> </object> Have you changed the width and height accordingly? If not, it will overrule any CSS and may be your problem. For the Balance Sheet, you'll need to edit the HTML as it is also hard-coded in the table properties.
-
Ahh ok, I actually got it from the hidden remembered field and it's working. Thanks!
-
OK, I see it in the changelog, but don't know what code to use. Anyone know what the ID or Class it to get this working?
-
Sorry to necro-post on this, but I'm designing a skin and want to incorporate a "Remember me" checkbox. Is this possible with the current version of phpVMS?
-
Is There an Interest with Mobile VA Apps?
tutmeister replied to Drcodyjones's topic in Paid Services
Consider that they're trying to price out the newbies who distribute crappy applications with poor coding. Remember that they pay engineers to review the code behind every app, that is why iOS is such a stable platform to the end user. Also consider that there is a lot of profit per year if you get some popularity, solely by incorporating the iAd network in your free app. One of the ways around the fees is to develop a mobile version of the website, instead of an actual app. Most smart phones let you "install" any webpage onto the home screen, so it looks and feels like an app, it just doesn't have the benefits of one-time downloading of all images, etc. so the website should be very well optimized to be as efficient as possible on people's bandwidth. Another option is that you use a third party to distribute your app. There are free and paid services that do this. Finally, a legitimate way to distribute an app outside the App store is through "Ad Hoc distribution," where you allow the end user to download a zip, or .ipa file and they install it to their iOS via iTunes. This is for up to 100 users, so if you're creating an app for each virtual airline, I believe this would work just fine as it would be a separate app for each airline. An app for the admin panel sounds great by the way. Sources: http://www.innerfence.com/howto/install-iphone-application-ad-hoc-distribution https://developer.apple.com/support/ios/iad-network.html https://developer.apple.com/programs/ios/distribute.html -
What are you trying to achieve?
-
Haha, nice one.
-
Line 359 of admin/modules/PilotAdmin/PilotAdmin.php has the following: $location = '<img src="'.Countries::getCountryImage($row->location).'" alt="'.$row->location.'" />'; So the flags are being pulled from the database, meaning you'd have to update each row in the database for the countries, or a simpler method would be to make a backup of the original flags and overwrite them with the newer ones, possibly adding a width and height to the above line if it breaks the table using the new ones.
-
This module doesn't warn you, it displays the information for pilots in one convenient place, so that allows you to determine if they should be warned or not.
-
The above is my CKEditor config, I have not updated it myself as I see no need to at this moment in time.
-
Sorry, just saw this. The toolbar is defined in admin/lib/phpvmsadmin.js if (document.getElementById('editor')) { var editor = CKEDITOR.replace('editor', { height: '500px', toolbar: [ ['Source', '-', 'Save', 'NewPage', 'Preview', '-', 'Templates', 'Image'], ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Print', 'SpellChecker', 'Scayt'], ['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'], /*['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],*/ ['Bold', 'Italic', 'Underline', 'Strike', /*'-','Subscript','Superscript'*/], ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'], ['Link', 'Unlink', 'Anchor'], /*[,'Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],*/ ['Styles', 'Format', 'Font', 'FontSize'], ['TextColor', 'BGColor'], ['Maximize', 'ShowBlocks', '-', 'About'] ] }); editor.on('pluginsLoaded', function(ev) { }); } Change that to whichever options you require, as seen in the link Kyle posted.
-
You're welcome.