Jump to content

in2tech

Members
  • Posts

    292
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by in2tech

  1. 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!

  2. 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!

  3. 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?

  4. 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?

     

    2018-03-24_0227

    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:

    2018-03-24_0230

    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!

    2018-03-24_0233

    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 :)

    2018-03-24_0240

    Thanks!

  5. 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>
    

  6. 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:

    2018-03-12_1417

    I want to list the Top Ten in order, which this is a bad example, except for USA, which would be listed first, etc....

     

    2018-03-12_1418

    So it would be USA, United Kingdom, Switzerland, etc.... in order! And ONLY show the Top Ten!

    Thanks again!

  7. 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!

  8. 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 :)

    2018-03-09_1324

    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!

  9. 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!

     

    2018-03-06_2108

     

    Just a snip it of it they are all filled in with absolutely link!

  10. 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!

  11. 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!

  12. 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.....

  13. 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!
     

×
×
  • Create New...