Support Forum
Any questions or bug reports go here.
7149 topics in this forum
-
- 0 replies
- 1.4k views
Hi, Im trying show the top5 landing rating in frontpage_main.tpl but not work (it isn't showing and no error messages) , can anyone help me? /public_html/core/common/TouchdownStatsData.class.php public function get_stats_by_cur_month5 () { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND MONTH(submitdate)=MONTH(now()) AND YEAR(submitdate)=YEAR(now()) ORDER BY landingrate DESC LIMIT 5"; return DB::get_results($query); } /public_html/core/modules/TouchdownStats/TouchdownStats.php public function top_landing_this_month5 () { $this->set('stats', Touchd…
Last reply by ARV187, -
- 1 follower
- 2 replies
- 1.2k views
HELLO GUYS,IT SHOW WRONG WHEN I INSTALL THE PHPVMS . IT SHOWS "Parse error: syntax error, unexpected '?' in /www/wwwroot/vms.hkver.cn/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233" I JUST UPSAVE ALL THE FILESTO MY SERVER HOST ,MY SERVER IS APACHE2.4 php5.6 HOW CAN I DEAL THE PROBLEM?
Last reply by ZJM001, -
- 2 replies
- 1.3k views
Hello, I want to make in the navigation bar tab called registration, login, pilotcenter and logout. Registration and Login should be shown, when I am not logged in, pilotcenter and logout should be shown when I am logged in. So how can I do this? Greetings Julius
Last reply by alpsJet, -
- 2 replies
- 1k views
Is there any type of code that I can use to show a certain group. I.e Show a list of Administrators by showing a group so it automatically updates?
Last reply by Nabeel, -
- 3 replies
- 1.5k views
Hi All, I was wondering, Is this the right way to go about calling whether the pilot has flown a flight or not to display a notifcation? <?php if ($userinfo->totalflights<1) echo "You Have Not Completed A Flight Yet Please File A Report To Avoid Being Removed" ?> Help Appreciated Jon
Last reply by Kyle, -
- 5 replies
- 2k views
Just a quick question. I am trying to display the pilots group in the public profile by using: <?php echo $userinfo->group; ?> but it shows up blank. (e.x: http://www.flyaerova...ile/view/FAV001 ) Is there something I am missing? I have searched but found nothing. Kindest Regards, James
Last reply by Kyle, -
- 6 replies
- 2.1k views
Okay, here is a problem I came across today that I would like to get right, but just can't figure it out. I want to have the aircraft name to be shown instead of the registration in the pireps_viewall.tpl. In the pireps_viewall.tpl file I have this (as default) <?php echo $report->registration; ?> I have tried numerous types to get it show, but it just will not show up for me. Tried the following... <?php echo $report->name; ?> <?php echo $aircraft->name; ?> <?php echo $report->aircraftname; ?> with no positive results. Does anyone have the correct code for this?
Last reply by Jeff, -
- 8 replies
- 3.6k views
Hello everyone, I want to show the operator logo on my VA live map but I have this problem: I used the code <img src="<?php echo SITE_URL; ?>/lib/skins/vairline/img/logos/small/<%=flight.code%>.png"> but it takes the pilot code, not the airline code, so it shows a wrong image. Is there anyway to fix it?
Last reply by Imanol, -
- 0 replies
- 1.1k views
Hello, My VA has different airlines (with their own ICAO) by country. I need to know if there is any way to show the airline name in the schedule informarion. Thank you.
Last reply by Imanol, -
- 0 replies
- 999 views
I'm stuck on a code, and I cannot figure it out. I want to display all flights from a single airline for one of my custom pages. Can someone please help, or type in the code? I am using 2-digit IATA code for my Airlines (AA=American, DL=Delta...etc.). Thank you
Last reply by Jeff, -
- 23 replies
- 9.4k views
Hey Guys! So I am developing my pilots center, and I had successfully modified the search form and results form. I tried using Simpilot's addon, but it is not compatible with the current PHPvms. Because I have over 8000 routes, it takes over 30 seconds for it to load. Is there a way where I can limit how many routes it loads at first so it can load faster? I tried pagination, but it still does the same thing (loads all at first then puts it in order). Attached is a photo of my schedules/view page. Is there a way where I can have a search form first, then display the schedules instead of having the schedules and search form?
Last reply by mseiwald, -
- 3 replies
- 2.1k views
Dear members i am using similot 5.5x version and on schedules page it shows all the schedules without even searching i wanted it to display the schedule only once searched for it can anyone please help. i already tried simpilot frontschedule module it is not working it shows no route found. thanks
Last reply by Tato123, -
- 2 replies
- 1.4k views
You and I spoke about this before. I want to show the Pilots VATSIM id's in the Pilots Profile page. It isn't working. Just figured I would post to remind you.
Last reply by RogerB, -
- 11 replies
- 2.2k views
Im trying to figure out how to show modules on a page and i dont know how for example i want to put the RouteMap on a page what do i need and where do i put it? Thanks
Last reply by Nabeel, -
- 2 replies
- 1k views
Could someone tell me the code for showing certain tabs when someone is logged in and when someone isn't logged in? Thanks
Last reply by mattsmith, -
Side Bar Help
by Guest lorathon- 15 replies
- 3.7k views
I am trying to get a template to display in the side bar. But all I get is the name of the template being displayed. If I change the name of the template to one of the existing ones that sidebar shows up. (sidebar_aircraft.tpl - will display the aircraft template in the side bar) public function HTMLHead() { $this->set('sidebar', 'sidebar_events.tpl'); } This is at the being of the module. Do I need to reference this somewhere? I have searched everywhere and just can't figure it out. Thanks
Last reply by Nabeel, -
- 21 replies
- 6.4k views
Dear All i just need litlle help from you guys i dont want to show side menu of brilliance skin on rest of the pages instead of home page so what should i do now so it wont show on other pages.
Last reply by mynameiskhan, -
- 7 replies
- 2.8k views
My sidebar is not where it should be. (see the attatchment) the problem is on index.php/schedules/details/# any idea which page/template the problem is located? may also add iv'e got David Clark's Frontschedule. /B
Last reply by biokemisten, -
- 3 replies
- 2k views
Hi, When you visit 'admin' page, did you find that the website shows a '.tpl' filename on the top of the sidebar? (attached 'before.png') It did trouble me to find the reason. But finally, I solved that problem. That is what the sidebar should display. (attached 'after.png') You may find '/admin/templates/core_sidebar.tpl' which is a one-line file. I write the code below. <div id="sidecolumn"><?php echo $sidebar?></div> I changed the code into this. <div id="sidecolumn"><?php Template::Show($sidebar);?></div> Then the problem is solved. In order to help more admin, I decide to put the method here. Thanks for your rea…
Last reply by ProAvia, -
- 9 replies
- 2.7k views
Hello all, I'll have on each page within the admin center, in the upper left corner, an error called sidebar_dashboard.php. Due to this error I can't add anything, because the sidebar is gone. I appears to happen to all the pages not only the dashboard. Does anybody know an fix for this? Thanks KLM
Last reply by jrodosu, -
- 9 replies
- 2.4k views
Good day gents after transferring my website to new server, i had some errors but everything resolved, i believe that the php version is the bug, however only thing missing now, in my admin i got sidebar_pirep_pending.tpl no the status of pireps it's simple shown : sidebar_pirep_pending.tpl no more, any suggestions ? Yours,
Last reply by FlyingMachine, -
Resolve...
Last reply by gio1961, -
- 3 replies
- 1.6k views
I tried doing a search with signature but no luck. Could i possibly have the code so i can show the signature in the pilot center. not a link to see it. thanks Daniel
Last reply by Daniel, -
- 6 replies
- 2.5k views
Hello all, problem with the calculation of money after the decimal point a lot of numbers, an example 63.3333 (see photo), how to do that was not 63.3333, but only two digits after the decimal point, example 63.33 thanks in advance for your help! Regards Artjom
Last reply by Edwin, -
- 4 replies
- 1.2k views
Hi, Im looking for the code where the signatures get generated, can some one point me in the right direction please.
Last reply by mark1million, -
- 3 replies
- 2k views
I have searched and not found this on the forums. I know it's here somewhere. I am wanting the code for pilot signature similar to the ranks where it will show the signature image for each pilot in the pilot center I am creating! Not just a link but the actual image for each pilot logged in. Should be something like the rank right? <?php echo $userinfo->rank; ?> I have tried: <?php echo $userinfo->signature; ?> <?php echo $userinfo->badge; ?> But neither one works!
Last reply by in2tech, -
- 7 replies
- 3.3k views
Hi, For some reason this has just started to popup on my site when accepting pireps, Warning: imagecreatefromstring(): Empty string or invalid image in /core/common/PilotData.class.php on line 1016 so i went over and deleted all the signatures and recreated them all from the admin side, that produced the same error but the images are being created, any ideas what is causing this? Generating signatures... Generating signature for Mark Grant Warning: imagecreatefromstring(): Empty string or invalid image in /core/common/PilotData.class.php on line 1016. Those lines are here # Add the Rank image if (Config::Get('SIGNATURE_SHOW_RANK_IMAGE') == true &&am…
Last reply by ProAvia, -
- 1 reply
- 1.1k views
How do i change the color of the text on the signature's backgrounds
Last reply by freshJet, -
- 4 replies
- 2k views
My problem to my VA is that the signature badge are not greating for my pilots even I go to Admin/Maintenance/reset all signature although regenareting Done..... Permision are 777 was 755 and I found an image inside Signature folder with this name 000.png This is the only image that greates. Can anyone help please? Thanks anyway..
Last reply by stam33, -
- 1 follower
- 28 replies
- 4.8k views
Signature font are diffrent sizes and i dunno why heres my signature from my old site and heres one from my new site this is odd hope someone can shed a light on this for me cheers michael CEO Luxury Airways Virtual
Last reply by LuxuryCEO,