Jump to content

stuartpb

Members
  • Posts

    326
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by stuartpb

  1. The one issue with this is it has to be heavily moderated. Because with a list like this held in high respects could ruin I virtual pilot if some misunderstanding occurred etc. If managed right it could be an effective tool but as I said "if".

    On a side note I am glad I have never ran into one of these trouble makers from the sounds of it they do some damage.

    There are quite a few public databases containing IPs of known and verified spammers available on the net. You can use these to do bulk bans on IPs.

    Here's one:

    http://www.spamhaus.org

    and another:

    http://spam-ip.com/

  2. 1. According to a release by the United States Copyright Office names are not protected under copyright law. But you already said you wouldn't be using the name. Might I add though there is a loop hole to the name thing stated above. Unfair Competition Laws allow names of a brand, product, etc. to become protected.

    just wanted to add that company names, and their logos could be protected under trademark regulations, and the use of any trademark materials is a serious offense. Easy way to tell is that anything that is trademarked should have the â„¢ symbol displayed.

  3. Hi

    My sidebar on brilliance skin is being showed under the mainarea. Please kindly help.

    Thanks

    Have you tried changing the width of the main area? Also check that the floats are correct. Without seeing the code, or the site, it's hard to say exactly what the problem is.

  4. Well.. Yeah. But I want it integrated with the phpVMS users, ie, pilots.. Thats the part I havent figured out.

    An easy way to ensure that only registered pilots can use the chat system would be to wrap it in an auth::loggedin thingiemajig.

    Example:

    <?php if(Auth::LoggedIn()) {?>
    
    <div>
    
    code for the chatbox
    
    </div>
    
    
    <?php };?>

    That way, only regged and logged in pilots could see the chat box.

    • Like 2
  5. Please could someone provide a pointer to the pest way to link this into a standard phpVMS install. I am new to this and can see that this will display the information but not how to integrate it into a site. Thanks.

    Just copy Fleet.php in /core/modules/Fleet (directory Fleet must be created)

    then copy fleet.tpl in /core/templates

    Then add a link in your /core/templates/core_navigation.tpl file:

    <li><a href="http://your website address.com/index.php/fleet">Fleet</a></li>

  6. My Skills + Your Skills = Making a good website for a virtual airline.. Plans will be made once spoken to..

    So let's start with what your skills are then. What are you offering to a potential partner? How can you expect to generate interest with so little (next to none) information being given by yourself.

  7. I think you're going to struggle to find anyone interested, unless you are more specific in detailing your plans, and pointing out exactly what it is you want. We get that you want to create a test phpVMS website, but as Jon asked, what do you want of the person you are looking to join you in the experiment? Do you have html/css/php skills yourself, or are you looking for help from this partner for this? You seem to be deliberately coming across as obtuse at the moment. Think about what exactly it is you want to achieve, and what you are looking for from a partner, and then share. One line sentences aren't helping in giving us an idea of your plans.

  8. Maybe because that is how long the actual flight took, just from take off to landing, the rest was just taxi time.

    I don't think that would be it as the time recorded is for off the blocks time (parking brake off at departure gate to parking brake on at arrival gate).

  9. I've added it manually through phpMyAdmin but it won't show in the admin panel or on the site...

    When you create a new module (addon), you need to create a function to pull the data from the database using an sql query, or to use an existing function to pull the data. Then you can echo it out in the template (tpl) files. By the sounds of it, you're not pulling any data from the database in the module file, so there's nothing to display in the template file.

  10. OK that cleared up slightly, still something wrong with line 1:

    Warning: Invalid argument supplied for foreach() in /home/freshje1/public_html/testskin/core/templates/fleet_maintenance.tpl on line 1

    That code should work. How are you calling the aircraft data from the db? It's saying invalid argument because there is no $aircraft data available.

  11. Yes I've done all that. It's a PHP error. What's wrong with the code?

    Here's a link: http://www.freshjetvirtual.com/testskin/index.php/fleetmaintenance

    Got to be logged in to view

    Also, why have you got the <html></html> in the code? That should only be used once on a page, and it's in your layout.tpl and footer files.

    EDIT: worth doing a print_r to see if the aircraft data is actually available?

    Place this somewhere in the file:

    <?php print_r($aircraft);?>

    See what that shows

    Also try changing this

    <?php foreach $aircraft as $ac( ?>

    and then amend the $aircraft to $ac in the rest of the code.

  12. I am trying to create another aircraft list but with registrations and type only, for the maintenance module. I've got this:

    <?php foreach $aircraft as $aircraft( ?>
    <html>
    <table border="1">
    <tr>
     <td width="200"><?php echo $aircraft->registration ?></td>
     <td width="200">Last Check</td>
     <td width="200">Next Due</td>
    </tr>
    </table>
    </html>
    <?php ) ?>

    But get:

    Warning: Invalid argument supplied for foreach() in /home/freshje1/public_html/testskin/core/templates/fleet_maintenance.tpl on line 1

    Have you created a module file for the template, so you can pull the relevent aircraft data from the database?

  13. Hello guys!

    I am trying to view the Schedules & Routes in the Admin Panel but they don't load?

    Here is a picture showing that :)

    I tried deleting cache and resetting the PIREP/Schedule Route from the Maintenance section...

    Help!

    Hi there, just a quick suggestion, have you checked the inactive schedules, to see if they are there?

  14. Maybe it's because you have both been impatient before when asking stuff, and other people don't like it? Just a guess though. I'm sure James will update here if he does have any news, and I'm also sure he has a lot of other stuff on his plate at the moment, like real world stuff and managing his VA.

    And to make you guys feel better, I've given you both a thumbs up :lol:

    EDIT: Also, instead of relying on others, why not have a go at learning some basic php and try and see if you can get anywhere with this yourselves? I'm not saying that to be arrogant or funny, but you could do it if you put some effort in, and you would probably find more people willing to help if you got stuck too. I didn't have a clue the first time I downloaded and installed phpVMS, but I'm slowly getting to grips with it, and it's great being able to figure stuff out myself.

    • Like 2
×
×
  • Create New...