stuartpb
-
Posts
326 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by stuartpb
-
-
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.
-
The cause is simple, the sidebar, or the main area is too large, reduce the size of one and the other should fit side by side.
Cor, there's an echo in here
- 1
-
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.
-
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.
- 2
-
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>
-
-
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.
-
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.
-
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).
-
So you are looking at experimenting with phpVMS, and you want someone to help out with this if needs be? There are no plans as yet to launch a VA? Just trying to clarify what it is that you want.
-
So how do I then?
You should be able to pull the data for the aircraft using an existing function, I wrote my own for my fleet pages though. IIRC, the OperationsData.Class file has an existing function/query for pulling ac data.
-
Anyone?
You may have to wait a while until someone is online who can help. I would like to but I haven't a clue what the problem is.
-
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.
-
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.
-
My bad, should have posted the code. Here's what I meant:
<?php foreach ($aircraft as $ac){?> <table border="1"> <tr> <td width="200"><?php echo $ac->registration ?></td> <td width="200">Last Check</td> <td width="200">Next Due</td> </tr> </table> <?php }; ?>
-
If there was nothing showing with the print_r, then it's a problem with the module file and not the template file. Can you post that up and we can get a better idea.
-
Just noticed, you are using () instead of {}. Try changing them.
-
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
-
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.
-
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?
-
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?
-
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
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.
- 2
-
I have been trying to get something like this off the ground for a while now but failed. It would be great to have this available
-
Pretty good idea
phpVMS Pilot Blacklist
in Off-Topic Banter
Posted
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/