-
Posts
292 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by in2tech
-
-
Your days of week column, actually each row, should have 123456 for the schedules to show 7 days of the week! You only have a single number in that column! Every single schedule on a row should have this for all schedules to show all the time!
-
Best place is to join the Discord server link at the top here. He post the latest versions there all the time! It's in the Developement category on the Discord server!
-
Yeah Nabeel said the demo is old, so if you want to install it yourself on a server, get the latest one out, which changes all the time! But if you want to help him test it you have to install and uninstall a lot! I like helping him test v7 even with my limited knowledge as just a user and not a coder! But most people using it will NOT be coder's for the most part!
-
15 hours ago, Nabeel said:
Correct. It's usually from point A to point B and then point C. A lot of times, it's because the ultimate destination is C, but a stop at B is necessary for refueling, etc. There are some times where passengers who are at B don't need to even disembark the plane if they are going to C
Nice, very nice! Great job so far ( btw, I am in2tech ) on your discord channel The one who always post images to get my point across or not!
Thanks for all your hard work! I am really liking the new v7!
Yeah I get it:
KIAD KRDU
KRDU KHPN
KHPN KJFK
is better, understand now! Ending the 3 leg route!
-
Ohh, a duh moment. I get it now! So like Flight # 1001 Code - C for cargo and leg #1 or A, B,C, etc....? And as folows:
Where C = Cargo
Fl# Code Leg
1001 C 1 or A - KIAD - KRDU
1001 C 2 or B - KRDU - KHPN
1001 C 3 or C - KHPN - KIAD ( back to KIAD, or of course another airport? )
Like that?
-
Is there a module to be installed on our end of phpVMS v7? I got it to connect to your va but can not get it to connect to my test v7 site?
Thanks!
-
Any ideas?
-
So I have had this code on my site for a long time. Uploaded and downloaded and adjusted schedules via the spreadsheet with no problem. After the last upload they do not show up in this area?
Only happened after the last upload. I had touched the code on this page before or after the upload! It's just now they stopped showing up! And what's even stranger is if I click on the Find Flights button they all show on on the next page. I never had to do this before.
If you click Find Flights:
This is what USED to show up when I just loaded the page on the Main schedule page?
Now to further complicate things if I go into the Admin area and manually click on Choose None on the Days and then All Days they show up one by one each one I do this too!
If I click Check None and clear it and then click Check All they show up one by one as I manually do this.Any ideas?
See after I Check None and than Check All manually they slowly one by one begin to show up again
Thanks!
-
Apparently NEW template took care of the problem. Must have been a css issue I guess in the OLD template?
Thank you very much anyway! I am sure someone else or myself can use this code in the future!
-
Thank You, just installed a NEW template or working on it and have to fix the forums customization anyway! Perfect timing I hope!
-
Although it shows in the code that the New Post should be aligned left it is aligning the NEW post my pilots make Center. Any ideas?
<?php //VAForum Original by:simpilot //VAForum Security updates + VAForum 2.0 onwards by: Tom Sterritt ?> <?php $this->show('forum_nav.tpl'); ?> <h3>New Post</h3> <script src="/lib/js/ckeditor/ckeditor.js"></script> <center> <form action="<?php echo url('/Forum');?>" method="post" enctype="multipart/form-data"> <table width="80%"> <tr> <td>Posted By:</td> <td align="left"><b><?php echo Auth::$userinfo->firstname.' '.Auth::$userinfo->lastname?></b></td> </tr> <tr> <td>RE: </td> <td align="left"><?php $topic = ForumData::get_topic_name($topic_id); $name = $topic->topic_title; echo $name; ?></td> </tr> <tr> <td>New Post</td> <td align="left"><textarea class="ckeditor" rows="10" cols="50" name="message" value=""></textarea></td> </tr> <tr> <td colspan="2"> <input type="hidden" name="topic_id" value="<?php echo $topic_id; ?>" /> <input type="hidden" name="forum_id" value="<?php echo $forum_id; ?>" /> <input type="hidden" name="pilot_id" value="<?php echo Auth::$userinfo->pilotid; ?>" /> <input type="hidden" name="action" value="submit_new_post" /> <input type="submit" value="Submit Post"> </td> </tr> </table> </form> </center>
-
So how do we had this new V2 code to our local.config.php? Do we just grab the code from the API?
-
Web541 it is showing 10 and thank you for that, but it is not showing the Top Ten by country if you know what I mean. I not only wanted 10 listed, but the Top Ten listed if there is a way to do that!
Thank you very much!
This is what I wanted to match my other top ten tables:
I want to list the Top Ten in order, which this is a bad example, except for USA, which would be listed first, etc....
So it would be USA, United Kingdom, Switzerland, etc.... in order! And ONLY show the Top Ten!
Thanks again!
-
How do I show just the top ten?
<table width="100%"> <?php echo '<td width="250px" valign="top">'; echo '<table cellspacing="1" cellpadding="1" border="1">'; echo '<th width="150px"><div align="left">Country Location</div></th>'; echo '<th width="100px"><div align="center">Pilots</div></th>'; $country_info = DB::get_results('SELECT COUNT(pilotid) as total, location FROM '.TABLE_PREFIX.'pilots GROUP BY location'); foreach($country_info as $country) { echo '<tr>'; echo '<td align= "left">'; echo '<img src="'.Countries::getCountryImage($country->location).'" /> '; echo Countries::getCountryName($country->location); echo '</td>'; echo '<td align="center">'; echo ' ('.$country->total.')'; echo '</td>'; echo '</tr>'; } echo '</table>'; ?> </table>
Thanks!
-
Anybody know how to get the VAForum 2 to show images like New post etc... like other forum boards? I am NOT gonna use another board. I like that they can use it with their pilot id sign on. I have seen it done before, but don't remember where the info is
I actually know which ones are NEW post now cause of some code I found on here ages ago. I was just wanting a image that showed me and others they are new! Not a big deal, but would like to have it if I can Of course I think this only does 5 post so if there were more it might get confusing!
Oops should have made another post as this is about the error stuff, my bad!
Thanks!
-
2 hours ago, ProAvia said:
For the first one - on line 812 - change 'public function' to 'public static function'
For the second - post the full URL for the ranks from the ranks table in the database so we can see if there is a formatting error.
k, I'll give it a try! The full url IS in the database structure!, so that's not it! I don't think!
Just a snip it of it they are all filled in with absolutely link!
-
-
17 minutes ago, ProAvia said:
You may have to change all the rank links.
Originally I had absolute links, but changed to relative when I changed from HTTP to HTTPS - because I was advised it would make things easier in the future. This is when the isssue surfaced when approving PIREPS. I investigated and found the issue when regenerating signatures also. I have not seen it in Registration - but we don't use the default phpVMS module for that. Anything that has to do with rank image in PirepDataClass seems to produce the error.
EDIT: try running the regenerate signatures from Admin, Site & Settings, Maintenance, Reset Signatures and see if the error shows for all pilots. If error shows for all pilots, then all rank links need to be absolute.
Same error for every pilot and the absolute did not work either!
Still this:
Warning: imagecreatefromstring(): Data is not in a recognized format in
for every pilot when Resetting Signatures and during registration!
-
Did not work, unless you have to make them all the ranks absolute links?
Thanks!
-
36 minutes ago, ProAvia said:
I believe that error has to do with the rank image link in the ranks table being a relative link (/lib/images/ranks/rankimage.png) instead of an absolute link (http://sitename.com/lib/images/ranks/rankimage.png). I encountered this issue when approving PIREPS and regenerating signatures. In your caae - as a registration error - I guess it's happening when it attempts to assign a rank image to a new pilot. Changing the link in the table from relative to absolute should resolve the issue.
I'll try that. Thank you. Let you know if it works!
-
Yep worked like a champ. Fixed the screen shot one too. That was fast and you didn't even have to reply
Registration error. Any ideas on it while you are on a roll
Warning: imagecreatefromstring(): Empty string or invalid image in /home/fswbreak/public_html/core/common/PilotData.class.php on line 1016
-
Same thing for Screenshot Center but screen shot common file?
Deprecated: Non-static method ScreenshotsData::getpagnated() should not be called statically, assuming $this from incompatible context in /home/fswbreak/public_html/lib/skins/Be/Screenshots/screenshots_viewer.php on line 20
And thank you very much that fixed the forums
-
I have completely removed the tables from the database and reinstalled and I still get this error since moving the site over. If I completely remove it how can this still be happening and not install correctly on a Fresh brand new installation of the VAForum 2 Module?
Deprecated: Non-static method ForumData::is_moderator() should not be called statically, assuming $this from incompatible context in blah blah blah.....
-
Because I have my layout and core navigational split I had an error with this once pointing to .php instead of .tpl, it's something to check and easy to over look!
<?php Template::Show('core_navigation.tpl'); ?>
Hope you find the problem, and get it fixed!
Latest stable version
in Support Forum
Posted
When you say 5.6+ do you mean up to PHP versions 7.0, 7.1, 7.2 And does this make it more secure or up to date than v5? And will most modules work with it?