-
Posts
1726 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by servetas
-
There should be a download link in your profile page under the ACARS Config section. Alternatively you can download it through yourwebsiteurl/action.php/acars/fsacarsconfig PS: Do not forget to edit accordingly the passwd= line with your phpVMS password after you download it.
-
This is because the package you are downloading from fsacars site is just some basic version of the acars functions which have to be implemented to phpVMS. As I can see on my phpVMS it is already included and you should be able to see the config file in your pilot profile. I do not know if it is included on the simpilot's phpVMS version. It should be somewhere in core/modules/ACARS.
-
I suspect that phpVMS has already FSACARS installed. Did you check it? The package from Fsacars site will have to be implemented to phpVMS.
-
As soon as you did not post it in the "Paid Services" part, I suspect that you are not able to hire someone to do this for you. Why don't you try posting your questions in the support forum? Most of us will try to do our best to help you and you will help the community to store your questions in the forum database George
-
In my virtual airline we had decided to stop supporting it cause it is not in development for more than 10 years now. I hope that you will manage to find a solution. Where did you find the createdb.sql and how are you trying to install it? What kind of errors do you get?
-
For the schedules limit of your aircraft page open your core/common/FleetData.class.php file, find this: $sql = 'SELECT * FROM '.TABLE_PREFIX.'schedules WHERE aircraft='.$id.''; and replace it with this: $sql = 'SELECT * FROM '.TABLE_PREFIX.'schedules WHERE aircraft='.$id.' LIMIT 10'; You can replace number '10' with the number of schedules you wish to show. As for the pireps, open your Profile.php file and find this: $this->set('pireps', PIREPData::GetAllReportsForPilot($pilotid)); replace it with this: $this->set('pireps', PIREPData::getLastReports($pilotid, 10)); Again, you can replace number '10' with the number of PIREPs you wish to show on your pilot's page. I hope they'll work for you.
-
Limit the flights per month for charter system Need Help
servetas replied to IrfanKhan's topic in Support Forum
Most of us, do not have access to the module. I believe that you are not allowed to post in public any part of the module. As a result, I would suggest you getting in touch with the developer and waiting for his answer or alternatively get in touch with any other developer although I think that it might be difficult. -
Does it mean that you are selling the whole website including the name, domain etc?
-
Doesn't that help you?
-
You will have to add a new link into the admin/templates/core_navigation.tpl file and remove the module's navbar function if you wish to hide it from the addons section too.
-
Limit the flights per month for charter system Need Help
servetas replied to IrfanKhan's topic in Support Forum
Which module are you using? -
There is not any way to add a new permission based on the modules you have installed on your phpVMS system. In most cases, as a developer and wherever I believe it's useful, I have developed a build in permissions system on my modules. My Pilot Academy module has that system. Here are some solutions I can suggest to you: Open your admin/templates/core_navigation.tpl file and find this: <li style="padding: 0; margin: 0;"><a class="menu" href="#"> <img src="<?php echo SITE_URL?>/admin/lib/layout/images/settings_icon.gif" />Addons</a> <ul style="padding: 0; margin: 0;"> <?php echo $MODULE_NAV_INC; ?> </ul> </li> This is the part of codes which shown the addon's section of your phpVMS system. You can put it in an if statement if you wish to show the addon's section to the admin's who have a specific permission. Below, I am giving you an example which will give access only to those who has the FULL_ADMIN permission: <?php if(PilotGroups::group_has_perm(Auth::$usergroups, FULL_ADMIN)) { ?> <li style="padding: 0; margin: 0;"><a class="menu" href="#"> <img src="<?php echo SITE_URL?>/admin/lib/layout/images/settings_icon.gif" />Addons</a> <ul style="padding: 0; margin: 0;"> <?php echo $MODULE_NAV_INC; ?> </ul> </li> <?php } ?> Of course, you can replace FULL_ADMIN with any permission you can see on the list where you administrate your groups permissions. This solution will limit the whole addon's section of your system. As an alternative, you can do the following. Let's take as an example the Frequently Asked Questions module. You will have to open the admin/modules/Faq/Faq.php file and find this: public function NavBar() { echo '<li><a href="'.SITE_URL.'/admin/index.php/FAQ">FAQ</a></li>'; } What you can do is add the echo in an if statement. Something like this: public function NavBar() { if(PilotGroups::group_has_perm(Auth::$usergroups, EDIT_PAGES)) { echo '<li><a href="'.SITE_URL.'/admin/index.php/FAQ">FAQ</a></li>'; } } The part of code above allows only those who have the EDIT_PAGES permission to access the FAQ. Again, you can change the EDIT_PAGES to anything you wish. Please bare in mind that this does not limit the access to the module, this just hides the module link from the addon's section. If any admin wants to access the module, he will be able to do so if he types the link directly (for example phpvms domain/admin/index.php/Faq).
-
Are you adding it using <li>? Have you tried to remove it?
-
Unfortunately, this version of the module does not include a map which can be zoomed.
-
Vangelis I think it's working too http://www.airinter-va.org/phpvms/index.php/Registration . Could you pass to me via pm the ftp login details of your /phpvms folder? Maybe I can check that for you.
-
It's http://www.airinter-va.org/phpvms . The folder was stated above. It seems that the template has been customized.
-
What about the core/templates folder?
-
The module does not have to do with the admin part of your phpVMS system. As it was stated above, you should locate the layout.php file inside the lib/skins/Your_Skin_Folder_Name/layout.php .
-
Maybe you are using a latest phpVMS version and it's titled layout.php?
-
It is on crystal as soon as you use the default phpVMS template or you have customized it. lib/skins folder includes all the skins you have installed on your phpVMS. Inside each skin there is a layout.tpl file. Open your skin's folder and find the layout.tpl file.
-
Hey Darryl, This is a known phpVMS issue when you use the latest PHP versions. Simply open your core/common/OFCharts.class.php file, find this: protected function show_chart($title) { and replace it with this: protected static function show_chart($title) {
-
You can install two different phpVMS systems. One on the /en folder and one on tne /fr folder and connect them into the same database. After that, you can edit accordingly the template files of the /fr version. Of course, values coming from the database will need to be written into both languages (your news for example) and both languages will be shown. Another quiet good solution has been offered by Vangelis.
-
Can you please paste here your pilot_public_profile.tpl or .php file of your template?
-
What is your website url?
-
Unfortunately, that is not possible. You will have to give him the required rank in order to be able to fly the aircraft.