Development Help
For help and support for the development of addons
515 topics in this forum
-
- 3 replies
- 3.3k views
Olá todos, me ajudem com minha virtual airline, da um erro e não consigo resolver não aparece o template: The template file "/home/voemerco/public_html/dov//lib/skins/brilliancev1/header.php" doesn't exist in /home/voemerco/public_html/dov/core/classes/TemplateSet.class.php on line 231 link da minha virtual airline! http://voemercosul.com.br/dov/
Last reply by levicosta201, -
- 3 replies
- 2.7k views
Hello everyone, my flights by pilots do not receive payments Kacars but what can it be?
Last reply by levicosta201, -
- 3 replies
- 2.2k views
As the title says I am creating an rss feed, specifically if you have a blog, and you want to show an rss feed on your main page, but don't want to go via another site to parse the feed for you. You never know, will that site suddenly go down or what. I have the module written, and it is not showing any errors, what I want help with is getting it to show on the front page. The code I have is: RssFeed.php: class RssFeed extends CodonModule { public function index() { } public function parserSide($feedURL) { $rss = simplexml_load_file($feedURL); echo "<ul class='newsSide'>"; $i = 0; foreach ($rss->channel->item as …
Last reply by Strider, -
- 1 follower
- 3 replies
- 1.9k views
How to list my aircraft of VA in the profile of the pilot? I can not get the code used was the code below! Can someone help me? <?php foreach($allaircraft as $aircraft) { if($aircraft->registration == $schedule->registration) $sel = 'selected'; else $sel = ''; echo ''.$aircraft->fullname.''; } ?>
Last reply by Parkho, -
- 3 replies
- 21.9k views
Hey, I'm currently Running IPB as my forum and website but my vm uses phpVMS, so i, for the better part of today have been working on a module that uses IPB's user database for phpVMS's Authentication. there is a dev kit that links with their ipconnect setup so that when you log in on the remote user (phpvms) it go's ahead and checks the IPB database and authenticates, and then copies the user over to the phpvms database, and does this each time you login, except it updates the details so that you have a SSO enviroment. I was integrating this earlier and am having quite a lot of trouble with it because of the Codon Framework, i have never modified it before so i was re…
Last reply by GlobalOne, -
- 3 replies
- 2.5k views
Hello, How would I go about adding an attachment such as a .zip file to my registration accepted email template? Thanks
Last reply by Tom, -
- 3 replies
- 2.5k views
With the following script <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> it displays the last 5 pireps submitted. I am trying to modify the frontpage_reports.tpl file so it displays that users last 5 fives flights instead of everyones. http://pastebin.com/zNkYd8tF Can someone please help me out with this? Thanks
Last reply by Tom, -
- 3 replies
- 1.8k views
I want to make just an informational page, no fancy stuff needed, just to show a skin and that's it. I've got the subdomain created, but IDK what to put in that folder at all. Any help is appreciated! Thanks
Last reply by Taran, -
- 1 follower
- 3 replies
- 1.7k views
I am trying to pull the number of hours for an individual hub
Last reply by StartVM, -
- 3 replies
- 2.1k views
I know that it has come up quite a lot in the past. I have already finished some of my projects (announcements will be published soon) and i am now in search of a new idea in order to develop a new module for phpVMS. This is an integrated Forum. Yes, an integrated forum into a phpVMS website. Some of the main ideas i have are: Of course a converter from phpBB and SMF forums to this forum (i have not checked how these forums core work but i think that it's not so difficult) User permissions (administrator, moderator, basic access, banned) All the forum administration will be included in the phpVMS admin center Board categories Threads User profile settings (signature…
Last reply by servetas, -
- 1 follower
- 3 replies
- 3.2k views
Hi Guys! I'm trying to implement on our 'View pilot profiles' the pilots last flight, and their next flight. Here's what I have so far, but the problem is, no information is displayed when on the site. Last Flight</h2> <table width="100%" border="0"> <tr> <th class="profile" align="left" width="20%" scope="row">Flight Number</th> <td class="profile" width="30%"><a href="<?php echo url('/pireps/view/'.$report->pirepid);?>"><?php echo $report->code . $report->flightnum; ?></a></td> </tr> <tr> <th class="profile" align="left" wid…
Last reply by Jakubovsky, -
- 3 replies
- 4.2k views
Hello Guys, I have created a page .htm via "add page" function in Admin Center. Then I have downloaded the schedule.htm from the ftp server and edited it(content of the file below) and reupload it on the server. But then the problem has occurred. Namely the schedule does appear below the disclaimer which is located in the footer div which is located at the very bottom. When it should be above the disclaimer and over the whole footer div...I have been wondering should I do that in other way, creating a tpl file or something. So if can anyone have a look at the code below and maybe suggest something what I did wrong? Your help would be greatly appreciated schedule.htm …
Last reply by Wildone, -
- 1 follower
- 3 replies
- 2k views
Hi all, I have a couple of questions and was hoping someone may be able to answer them for me. My airline and another have gone into a code-share partnership, what we would like to know is that is it possible to share our schedules tables from the databases with each other and display the results on a custom schedules results page from within each other sites? Also is it possible to get KACARS to report back to two VA's at the same time during a flight? Also how would I go about setting Microsoft access up to access my database? Many Thanks Karl
Last reply by nexissair, -
- 3 replies
- 2.8k views
I'm currently creating a script that works with my other systems on the server. I have got a page, which when a user logs in successfully, returns the CID, First Name and Last Name from database. I'd like to make it, so when my page renders, it logs the user into phpVMS. Except, I won't have a password, just CID and name. I can get the userID from the database, using MySQL, but apart from that, I can't see any logical way of doing this. Any ideas?
Last reply by mindfulhacker, -
- 3 replies
- 2.5k views
Hello, For my VA i want to change the pilot list to show the pilots not by all of our hubs but by an Custom Field Value. The name of this field is Status and the three possible Values are "IVAO Pilot" "Active Pilot" and "Inactive Member". It would be great if you could help us. Thank you, Bastian Wagne (Cologne International VA)
Last reply by ctabuyo, -
- 3 replies
- 2.6k views
Hello, I have smartcars2 for my va. I want to add integrated pirep system also for extra option for our pilots. this module is free and i downlod it. but i don't know where to put which file. Is anyone already have this or know how to install ? Thanks
Last reply by OmerAslan, -
- 3 replies
- 2.5k views
Hi everybody, I have installed the Real Booking System v1 module on my website. I have a problem during installation to the next step: In case you have installed Realbooking-v1.5_phpVMS 5.5, you will have to include the code below in your local.config.php. Define ('REALBOOKING', X); Where X please replace with a number you have not used yet. By default number 1 is defined for PAYSOURCE_PHPVMS. First I do not know or exactly put the line "define ('REALBOOKING', X);" In the file "local.config.php". Secondly I do not know what number to put to replace the "X" ... Finally I think that because I do not insert this line the module does not find me airport, plane, or line…
Last reply by servetas, -
- 1 follower
- 3 replies
- 2.3k views
Hi, I wanna make an logbook for the profile page, but I get an error: Parse error: syntax error, unexpected '(' on line 225 This is the code : <?php $count = 6; $pireps = PIREPData::getRecentReportsByCount($userinfo->pilotid) ($count); <--LINE 225 ?> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); echo '<tr><td><div class="label label-sm label-primary"><i class="fa fa-plane"></i></div> '.$pirep->firstname.' '.$pilotinfo->las…
Last reply by Vangelis, -
- 3 replies
- 2k views
Let's see how many of you are using phpVMS 5.5 and 2.1.
Last reply by magicflyer, -
- 2 replies
- 2.6k views
A little modification I made to the rank editing page on the Admin panel I thought I would share. 1. Open "/admin/templates/ranks_allranks.tpl" 2. Find this code: <tr> <th>Rank Title</th> <th>Minimum Hours</th> <th>Pay Rate</th> <th>Total Pilots</th> <th>Options</th> </tr> 3. Replace with: <tr> <th>Rank Title</th> <th>Minimum Hours</th> <th>Rank Image</th> <th>Pay Rate</th> <th>Total Pilots</th> <th>Options</th> </tr> 4. Find the following code: <td align="center"><?php echo $rank->rank…
Last reply by homer09001, -
- 2 replies
- 2.1k views
Hi folks Is there an addon that will give pilots access to pages/areas of my choosing only after they have filed say 5 successful PIREPS? I have a discount deal with a top scenery developer and dont want members joining up just to get the code, so i need to limit access to this code. I'm no good with php but I'm assuming a line or 2 could check a pilots total pireps against the required amount and grant access? Hope someone can help, Dave.
Last reply by Nabeel, -
- 2 replies
- 1.5k views
I need some help. Can some show me ho to display the pilots total cash or can someone make a mod for that. Just like I made in this graphic, top left corner.
Last reply by flyalaska, -
- 2 replies
- 1.5k views
Is there any mod that displays the pilots names that are logged in?
Last reply by flyalaska, -
- 2 replies
- 1.9k views
Im trying to manage my site, and make drop down menus here is my current site http://aevirtual.org and i need to have d/down menus, anyone got a code i can put into my core_navigation.tpl or .css? heres wat my .tpl looks like and here is my .css ONCE again thanks in advance!
Last reply by tylerj, -
- 2 replies
- 2k views
Hey Guys, Just wondering if theres anyway i can get the aircraft's current location so that i can show it on my fleet page, I thought there might be a php cmd/code for the GetAircraftLocation or somesort? Help would be appreciated Regards, Thomas. UPDATE: FOUND OUT HOW TO, DELETE THIS POST IF YOU WISH!
Last reply by CN@ndo, -
- 2 replies
- 1.9k views
Hello friends ... After I installed the new version of phpvms, several errors were found ... One was about time I send a PIREP, did arrive at the site .. and the FSFK FSACARS not work because of that, I've reseted the Table ACARS at the maintenance and did not work! At the time of acceptance the PIREP, when I click Edit, the following error occurs ... PHP Warning: Invalid argument supplied for foreach() in E:\home\autopecasmilian\Web\kafly\do\admin\templates\pirep_edit.tpl on line 19 The list of Airlines nothing appears, even if I create an admin panel or by the VA phpmyadmin.Minha appears in the database and does not appear in the admin panel See the picture…
Last reply by simpilot, -
Teamspeak3
by llju1- 2 replies
- 2.7k views
Does anyone have a script or Module to show what my Team speak 3 Status is on my Site. O am using TSviewer and it is to slow to refresh. Is there a simple script or Module I can get from some or can you tell me how to make my own. It woould be of great help to me. Thanks
Last reply by llju1, -
- 2 replies
- 2k views
basically I want to take information from custom pirep fields and display it in my airline stats. Example: I added a custom dropdown field in the file pirep page to specify if that pilot flew online or not... I want have an "online flights" total number in the airline stats page.. thanks for all the help
Last reply by simpilot, -
- 2 replies
- 2.5k views
Hi, I was wondering if someone would be kind in telling me how I add a forum? Regards, David
Last reply by simpilot, -
- 2 replies
- 1.8k views
Hey Guys, So, If you go into your admin panel where you can create custom fields you can mirror them so they show on your pilots_list.tpl, So if i made a field called "Vatsim ID" and I used this code; <?php echo PilotData::GetFieldValue($pilot->pilotid, 'Vatsim ID'); ?> It would show on my Pilot Roser/List. However, I was messing around and wondering if their is any way I can make it so I can have a custom field on my pilot_public_profile.tpl page without using the following code; <?php // Show the public fields if($allfields) { foreach($allfields as $field) { echo "<li><strong>$field->title: </strong>$field-&g…
Last reply by Thomas,