Support Forum
Any questions or bug reports go here.
7149 topics in this forum
-
- 2 replies
- 1.3k views
Hello, i'm new to php and phpvms. i've added a custom field in the pilot registration (ID IVAO). I want to display this custom field in the pilot pending table in backend, with a link to the IVAO profile of each pilot. I've tried some solutions but it doesn't work. Here's my last : pilot_pending.php <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <h3>Pending Pilots</h3> <?php if(!$allpilots) { echo '<p>There are no pilots!</p>'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot Name</th> <th>Email Address</th> <th>Location&…
Last reply by orobouros, -
- 1 reply
- 1.1k views
I am using the stable version, what ever that is. I added a custom filed, a text area for bio. For some reason the only way to edit or enter data into that field is from the admin panel and that doesn't always stick. Any ideas as to why?
Last reply by RogerB, -
- 1 follower
- 3 replies
- 2k views
Hello all, Little issue here... If I create a custom profile textarea field, no matter what new members write in it, it only keeps the first 24 characters in their profile. So I can't read what they wrote, except for the first 24 characters... Any idea? Thanks!
Last reply by EricThePanic, -
- 1 follower
- 5 replies
- 1.5k views
Hello, I want to add custom fields of pilots profile but they are not show. I have tried this code but it does not work: <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> However, I have used this one and it works but showing all the field values: <?php // Show the public fields if($allfields) { foreach($allfields as $field) { echo "$field->value"; } } ?> I looked for help at this forum but I did not find a solution for this issue. Thanks!
Last reply by web541, -
- 4 replies
- 1.9k views
Hello! I have added two custom field in my registration main form: VATSIM ID and IVAO ID. However, when a new pilot registers in my VA and introduces his IVAO ID, this one is not registered in his profile. There's no problem with VATSIM ID. If the pilot edits his information in the Pilot Area, he can set his IVAO ID and it's shown in his profile. I am using this code in the registration main form and edit profile form. The IVAO ID code does not work in the registration form only. VATSIM ID code <input name="VATSIM ID" class="form-control customfield_textarea" type="text" value="<?php echo PilotData::GetFieldValue($userinfo->pilotid, 'VATSIM ID'); ?>">…
Last reply by Imanol, -
- 3 replies
- 1.4k views
Hello there, I am currently working on the registration module on my site, and I am wondering if adding custom fields would be a good option for adding fields such as Date of Birth and Middle Name, and is there any possibility to add a custom field with a dropdown, that tells the administrator what version of Flight Sim a given applicant is using and such? Thanks.
Last reply by Kyle, -
- 1 reply
- 1.6k views
First, it is not a problem. It is what I cant find any suitable codes. Situation, In our website, when people register, they recieved sms. I put custom fields called "Mobile Number" in admin panel. It takes pilot's mobile number and thanks to sms api system it automatically sends sms. How I do? as you know after registration process fields are sended to core/RegistrationData.class.php In 135. line the customfields data is starting as //Get customs fields $fields = self::getCustomFields(); if(count($fields) > 0) { foreach ($fields as $field) { $value = Vars::POST($field->fieldname); $value = DB::escape($value); if ($value !…
Last reply by kkoseoglu, -
- 2 replies
- 2.8k views
I was wondering how I could create a custom fleet and hub page module like this: http://www.sudansky.net/sudva/index.php/fleet i have gone to the Modules folder in my FTP and created a folder in there called "kdfw" and added a .php file inside of there and this is what happens: http://skywayamerica.co.cc/index.php/kdfw
Last reply by BernieMaMan, -
- 2 replies
- 1k views
Hi guys, i have a problem. Im making my own type of flight bidding for cargo. So in my Schedule.php module, i created a new function and name it addbid_opscargo. So in my opscargo page, when i press Add Bid, it will have to add to my created database rather than then default one, phpvms_bids. But the problem now is, when i press Add bid, it will use the default one and will not run or use my addbid_opscargo function. Everytime i press Add bid, it will add it to phpvms_bids instead. I'm not sure if its jquery issue cause i did remember adding jquery in my Layout.php when i have one in core_htmlhead.php. It worked somehow but always bring me to a white page which shows…
Last reply by PikoSim, -
- 2 replies
- 1.5k views
Hi I'd like to do a custom page to allow pilots to make a custom bids (for free flights). It should has the same fields as are required when creating a standard schedule (so it could looks like a form for sending manual pirep but there should be a button "Make a bid" instead of "File a Pirep". It'd be possible for acars program to read such bid, just as standard schedule. How could I do it? Best Regards Bartek
Last reply by konraf, -
- 12 replies
- 2.1k views
None of my custom javascript libararies are working on my site. This is the current layout config. http://pastebin.com/1R60w6CQ Is something missing or out of place?
Last reply by StartVM, -
- 11 replies
- 3.4k views
Gents, I would not post this if it envolved a single member issue but I have been getting emails from many members all day concerning our custom Kacars. This started today. This is the message they receive when they try to log on to their vamccars Website Warning Encountered Notify system administrator of the switch error. Data not recieved switch = verify I have seen this on an old forum post and a comment was made cocerning server adding stuff to the xml? If it is a server issue I have no clue how to approach them with a question. Getting this message in the admin panel I went to server database and found this (Fields empty Warning: Unknown: open(/var/php_sess…
-
- 6 replies
- 2.1k views
hello I'm building a site and its looking pretty good on localhost but when i upload it to my test server running phpvms it is not looking the same. I have resolved the culprit down to one css file but i am unsure as to debug it and fix my issue. the main page is supposed to look like this screenshot http://prntscr.com/b5m8wt but I am getting this instead http://prntscr.com/bdjsmg would anybody have any ideas as to what the problem could be? Regards Daniel
Last reply by daniellord32, -
- 10 replies
- 5.8k views
Good morning, we have recently migrated from VAM Manager and I need a little help, we have a Home Page that is outside the 'PHPVMS' folder of the installation, I have managed to make the Pilots Markers, N ° Flights, Routes etc. work. . But the custom map we have needs to show the Live Flights of our PHPVMS installation and I don't know exactly what codes I should change and where the Custom Map file should be, if I can help someone I would be super grateful.
Last reply by Waters10, -
- 7 replies
- 1.8k views
Hi, if I want to allow pilots to enter a custom amount of miles (if they have a multiplier or something) 1. would this work? $sql = 'SELECT SUM(distance) AS distance FROM '.TABLE_PREFIX.'pireps WHERE pilotid = '.$pilotid; $info = DB::get_row($sql); echo $info->distance; and 2. how could I get a PIREP field that would change the total miles for pilots thanks
Last reply by PikoSim, -
- 13 replies
- 5.2k views
I need to create a new page that automatically displays the following information. Pilot Name Pilot ID Join Date Last Flight I'd like this sorted by Hub if possible. Example: KLAX Pilot Name Pilot ID Join Date Last Flight Bob Smith PVA1002 05-05-10 5-15-10 KMIA Pilot Name Pilot ID Join Date Last Flight Jane Smith PVA1003 02-05-10 3-15-10 I'd be willing to pay for this if this is too much work. The reason I need this is I want a page where my Hub Managers can check to see when the last time their pilot flew. I don't want to give them the EDIT_PILOTS group permission so I was thinking this would be the best solution but I don't have a clu…
Last reply by Strider, -
- 8 replies
- 1.6k views
Hi Pardon me if this has been brought up before. I searched and could not find an answer. When I add custom pages via phpVMS Admin area, I go back to edit the page's code and it does not show me the code. it shows me the actual page. Is there something I am missing here? It shows all the stuff above the page content like I am posting in a forum. Scrrenie necessary? I'm sure you get my drift on this one.
Last reply by TAV1702, -
- 1 reply
- 1.4k views
Hello all, Some of my scripts are converting to html tags instead of php for some reason. When I open up the page in the code editor, the php code is still there but for some reason there is html code injected between the php code. Its happening on custom pages etc, Any idea why this would be happening ? Any advice, would be mostly appreciated. Thanks in advance
Last reply by EastCoastHops, -
- 6 replies
- 2.8k views
Copied the original file "core/templates/pages_items.tpl" and placed in "lib/skins/MyTemplate/pages_items.tpl", this is ignored showing always the original.
Last reply by Nabeel, -
- 7 replies
- 2.3k views
Hello right so when you our creating groups and i see the list of permissions i want to know how to add custom ones i know how to use them but dont know how to add them so like they our a option in that list etc i have looked throw evey file and sql but nothing please help
Last reply by mark1million, -
- 1 reply
- 2.2k views
Hello, I am having a very difficult issue. I have a page "dotrainingrequest.php" which $_POST's data from a form to a sql database. i then have a page in the admin center "trainingrequests.php" which gets all the information from the entire table and cleanly displays it to a html table, using php. My problem is that i want an admin to be able to "update" just one row from the database using a form on the same page, and for the life of me i cant figure out how.
Last reply by freshJet, -
- 4 replies
- 1.8k views
I found a link a few month ago to website where someone was making custom Pilot Centers with a Web 2.0 look. I found FS Tools and emailed him, but there was one other person. The website had a lot of red on it if I can remember correctly. I could really use a link if you all know it. I thought I bookmarked it but when I updated firefox it ran away! Thanks!!!!!
-
- 1 reply
- 1.2k views
As the topic says - we would like to use custom (random) pilot ID's Is this possible, and if so, help would be appreciated Many thanks
Last reply by servetas, -
- 3 replies
- 1.6k views
Hello, I have 2 genral quesrions regarding this 1. How do I edit the IDs of individual pilots So I can give the first IDs for my staff // Found it in the Admin Panel [EDIT] 2. I have seen some airlines has custom Pilot ID Structure where each Hub starts with a different number. How to achieve that? Thanks
Last reply by Ariel, -
- 1 follower
- 9 replies
- 3.7k views
Hello boys and girls I have a question regarding our new virtual airline we where using fsairliners and we decided to swith to phpvms and for that reason i am migrating the look of fsairliners to phpvms at some point everything is ok Pireps are showin in a nice table the pirep details are linkable but i have a small problem with the log i managed to explode the log file by modifing the fspax module with a custon char but in the log at the end by the comments of fspax an n i shown in front of the text example Flight Critique -Are angry because they didn't reach their destination (flight too short). n<---- You made a very smooth landing. (+50) n<---You landed…
Last reply by MichaelKattirtzis, -
- 2 replies
- 2.1k views
Hi, I've added a custom PIREP field so my pilots can record the number of points they get following each flight however I'm not sure how to display this in the Pilot Center as part of their profiles...any ideas? I've tried the Custom Profile Field option however this doesnt appear on the PIREP so not quite what I'm looking for :-) Any help is appreciated!
Last reply by opsman, -
- 8 replies
- 3.5k views
G'day All, I have to custom filed in my registration, they are vatsim ID, and Transfer hours I would like to be able to make it so that the vatsim ID field has to be filled otherwise the registration will not proceed. How can i do this, without affecting my transfer hours field ? any help with this would be great, it'd reduce errors by my staff when accepting registrations, by tacking out the fact that they need to manually check to see if the field has been filled. Thanks Guys Tylor
Last reply by Tylor Eddy, -
- 9 replies
- 3.7k views
I want to make an RSS Feed for latest news. This is my code: lib/rss/latestnews.rss <?xml version="1.0" encoding="utf-8"?><rss version="2.0"> <channel> <title>Latest News</title> <link>http://www.freshjetvirtual.com</link> <description>All the latest news from freshJet</description> <lastBuildDate>Thu, 10 Nov 2011 06:36:50 CST</lastBuildDate> <language>en-us</language> <item> <title><?php echo PopUpNews::GetFieldValue($popupnews->subject);?></title> <description><?php echo PopUpNews::GetFieldValue($popupnews->body);?></description> <link>…
Last reply by freshJet, -
- 1 reply
- 1.1k views
I'm not sure if this has been asked, but it is possible to add custom airports/scenery to the Airports/Hubs list?
Last reply by Nabeel, -
- 1 reply
- 3k views
Hello. I wanted to crate a custom signature, everything was going good, but the text is a scrunched up. I can't seem to fix this......... I don't know waht I did wrong here. I hope someone can help me with this.
Last reply by flyalaska,