-
Posts
1470 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by freshJet
-
-
"Internal commentary"? What do you mean by that?
Commenting in the code.
-
I've noticed that it's rare to see internal commentary in module releases. Is this because no one likes it, or is it just that no one bothers?
-
Why have you used jQuery Mobile?
-
Is this external from phpVMS itself? Are you accessing it from site.com/lib/skins/page.php?
If you are you'll need to include the config:
include('/home/username/public_html/core/codon.config.php');
Then use:
$pilots = PilotData::getAllPilots();
Make sure the include() is the first thing on your page to avoid header errors.
-
Development hasn't started on this. I think I'd need to re-design it as the way it functions just now is very inefficient and poor. It won't take particularly long, but I am currently working on another project at the moment meaning I am focussing on it instead.
I'll fling this on my to-do list.
-
1
-
-
Quick update folks, development is in full swing and is coming along slowly but surely. Late July/early August may still be possible if I push on, however it's a relatively complex concept one down to the nitty gritty.
I'll keep you all updated
-
What are you actually trying to do here? Delete all comments older than 3 months?
In that case, it would be:
DELETE FROM pirepcomments WHERE postdate < DATE_SUB(NOW(), INTERVAL 3 MONTH)
-
Better, but I don't like the Joomla-type design. It's too complicated for what it is.
-
Ah yes now I understand, and I apologize if I came off wrong, it just really bugs me when sentences are not written well as it makes it harder for us to decipher your issue.
It's also difficult for them considering it's an English speaking forum and a large group of members' first language is not English.
-
I only looked briefly at your code but make sure your colums and values are in order.
$sql = "INSERT INTO ".TABLE_PREFIX."aircraft ( `icao`, `name`, `fullname`, `registration`, `downloadlink`, `imagelink`, `range`, `weight`, `cruise`, `selcal`, `maxpax`, `maxcargo`, `minrank`, `ranklevel`, `enabled`) VALUES ( '{$data['icao']}', '{$data['name']}', '{$data['fullname']}', '{$data['registration']}', '{$data['downloadlink']}', '{$data['imagelink']}', '{$data['range']}', '{$data['weight']}', '{$data['cruise']}', '{$data['selcal']}’, '{$data['maxpax']}', '{$data['maxcargo']}', {$data['minrank']}, {$rank_level}, {$data['enabled']})";
Try that. You'll see that in the column listing it's after 'cruise' and before 'maxpax'. Keep it that way throughout your code. Also, I'm assuming this is the order it's in in the table?
-
I am going to try to understand what language you are speaking
because I am in semi-good mood. What I think your saying is how do you limit the number of inactive pilots? The answer to that is you need to find a way to create a strong community. The best thing I did for my virtual airline was create a custom application process with an overview of our features and community assets, and an entrance exam. I hope I was able to help you or anyone else with this post regardless of if this answered your question. G'day
That would be English.
I suppose you could do it by adding it as a setting, or even a variable somewhere. Then, if $numberofpilots => $max, display a message, or else display the registration form.
-
Sorry that's what I meant. You have to ensure that in your template file on the admin panel (the page you add the aircraft on) you have a field named 'selcal', otherwise there is no data being handled.
-
Edit the MySQL table first and then go through your core/common/AircraftData.class.php and add the relevant modifications in wherever necessary. Do the same for the admin panel templates.
The relevant modifications being, for example, if the function was for adding an aircraft, adding to the SQL.
-
I don't see the point in this. It would take so much work what with the number of airlines starting up and closing again. And like Tom said, I wasn't even sure if I was on the right page, there are skins and stuff on that page too.
You seem to have an issue with the data too, unless it's the users. Monarch Virtual is apparently based at Wellington with a fleet of Dash 8s.
-
phpVMS is irrelevant to the situation. Which one are we talking about?
-
It's an interesting thought, but it would be one hell of an investment if you plan on creating 3D models of every airport on the AA network.
-
Seems to work now.
-
Site is decent, although it's starting to become one of many with a common design. As for the content, it's not very helpful when all pages require login apart from the roster and register pages.
-
Hey guys,
I'm looking to join a well developed or developing VA.
Requirements:
Extensive fleet and must have MD-90, B738, ERJ135/145, B757s
Active teamspeak with fellow pilots usually in there at any given time during the day
Tour system
Friendly staff
A place where I'm Taran, not a number
Post on here with your advertisement, and the one I feel is best for me I'll join and announce my new 2nd home!
Thank You,
Taran
Delta is the only airline in the world with that fleet.
-
A month on and barely any progress I'm afraid, too much happening this month. Less hectic times are coming though, I'll do my best. Provided everything goes well, I might have it done by late July/early August.
-
I'm not sure if that was sarcasm or not, I hope it was. Picking an airline off a list is not the way to go.
What's your existing one?
-
It's not CSS, I believe it's in your local.config.php. As usual, if not, copy it from your app.config.php.
-
I see what he means now, I thought he meant map navigation. In that case I'd recommend opening it in a new tab if you really don't want it integrated.
-
1
-
-
Not good, for one main reason, you have isolated people once they go onto the map, they are stuck there, there is no navigation. They can't leave, so they will just close the window and move else where. That is poor webdesign.
There is for me. I think it's alright, it's a nice idea.
-
1
-
How to Import Airports???!!
in Support Forum
Posted
It's a known issue, Geonames is down so you have to change your API server. Search the forums.