PlumbBum
-
Posts
28 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by PlumbBum
-
-
Hi,
No, the module is still as it was. All I've done is added an IP check so I can view it whilst I edit it, and others can't.
-
Done - thanks a lot.
Now there are no flights on the actual flight map, haha.
-
Hi,
The map loads, but then I have the problem of the live flight information disappearing again.
-
-
Okay, that's changed and they're staying there, thanks. But the live map doesn't display?
-
Done.
Will get back to you.
-
Right, one step closer - they're all single now - thank you very much.
However, the flights do disappear after like a second, haha. The link is here: http://virginvirtualgroup.co.uk/en/index.php/acars
Any suggestions?
PlumbBum
-
Hello, thank you for your response.
I implemented your code to the web page, however the flights appear for a mere second and then they all disappear. It may be worth saying that the ones that do appear are also duplicated.
Thanks,
PlumbBum
-
Hello simpilot, thank you for your reply!
This is the acars data table at the moment, in the phpMyAdmin:
and this is the main website:
I have tried clearing the ACARS table through the admin table, and the table empties, and when they all eventually load, the above happens.
I just turned on debug info and the logs weren't updated, bar the log.txt file, which is nothing to do with this error in particular. Any suggestions?
Thanks
PlumbBum
-
Hi,
Can anyone suggest any reasons for this occurring? There are duplicates for lots of users, for no apparent reason. This occurs when tracking with both KaCARS and smartCARS.
Thanks,
PlumbBum
-
Hello,
Currently, in my local.config.php, I have defined the pilot inactive time to 30 days. This is the date in which their account will be set to retired.
However, I want to also send out an email when a pilot hasn't sent flown a flight in 23 days, informing them they have 7 days remaining until they are marked as retired. (The positive integer defined in the local.config.php file).
So ultimately, the CRON will check if the pilot has flown in 23 days, if they haven't then it will send them an email reminding them they have 7 days to do a flight.
If any body could provide me with some code to do this, that would be greatly appreciated. Thank you very much.
Daniel.
-
There are a variety of options that you can explore here.
-
Bump - any fix for this yet?
Cheers,
Daniel
-
Hello,
I've tried both of them but they don't work. I tried flyalaska's URL before, but it had no effect.
Daniel
-
Hi Kyle, thanks for the rapid response.
I understand this, however for example, we've a Virgin Atlantic Hub Manager; this covers three airports: EGLL, EGKK and EGCC, so I would only want the Virgin Atlantic hub manager to be able to accept flights that were done for their hubs.
-
Hi,
I'm looking for a VMS addon which will allow only specific hub managers to manage PIREPs which were flown in their hub.
For example, as a Director, I assigned Pilot ID 20 to only have the ability to manage PIREPs that have been flown in the VIR airline.
Any way a plugin like this can be coded, and if so, how much?
Regards,
Daniel
-
Was there ever an answer to this as I would very much like to implement this too?
I believe this is what you're looking for.
http://forum.phpvms.net/topic/2791-realschedulelite-beta-10-deprecated/
-
Hi,
How would I go about creating a page in the Admin panel of PHPVMS?
I understand about adding the link in the nav on the left, but I can't link it up etc.
If anybody could help, would be great.
Thanks
Daniel
-
I understand that. That wasn't the question. I'm curious as to where the 'Look up' actually pulls data from, whether it's internally and editable by an admin or whether it pulls from an external source, so I can fix issues like this and not need to rely on manual additoins.
phpvms_airports table in your mysql database.
-
It works like this. The system first looks for a tpl in the active skin folder, than if none is found it looks in core/templates directory.
If you edit any files you should first copy them to the skin folder and than edit them so you still have a default copy if you need for updates etc.
So, look in core/templates. if you can not find it, make one yourself and place it in the skin folder
I understand the concept of the files now more.. thanks
It's pretty simple to grasp once you know how, here's how I would do it:
<!--The Invisible Div --> <div class="wrapper"> <!-- Set out the layout for the frontpage --> <div class="right"> <!-- This checks if we are on the frontpage --> <?php if(MainController::$activeModule == 'FRONTPAGE') echo $page_content; else { ?> </div> <!-- Echo the content into the full page --> <div class="full"> <?php echo $page_content; ?> </div> <?php } ?> </div> </div>
That's not tested but it should lead you in the right direction for what you want. You can then just call the left hand side div for your homepage in frontpage_main.tpl
Jon
Thank you Jon! Much appreciate.. managed to do it with some of these code snippets! cheers.
-
Oh my good god This is so difficult. Would anyone be willing to do it for me if I was to pay them? - All it is is making the homepage show on first load, then just a box with the content in it for the other pages.
Cheers,
Daniel
-
I haven't actually got a frontpage_main.tpl in my skin directory.. so....? I really dont understand the concept of PHPVMS files lol cheers for your help in advanced
-
Okay, an example...
in layout.tpl, you have the content. No sidebars, none. So, if you wanted the sidebar in the frontpage only, you can add the div for the sidebar in the frontpage_main.tpl only.
This how you would get it working and not have the sidebar load on anyother pages.
Cheers!
Ooh brilliant - So how do I make it so that frontpage_main.tpl loads when the user loads the website?
-
Hello, at the moment this is the homepage..
However I only want the side boxes on the homepage, and for the rest of the pages e.g. profiles, i want just one big box covering the whole screen.. how can I make it so that the content loads into the box - this is my first skin I've created and this is the only thing I don't know how to do
So with another virtual airline
Their homepage is like this..
and when you visit a page, the boxes are gone
So how do I change the div name of where the content loads?
Any help appreciated,
Regards,
Daniel Plumb
ACARS Map Duplicates
in Support Forum
Posted
Does anyone have a fix for this? I'm having the same problem here.