Jon
-
Posts
253 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Jon
-
-
Mark has said what needs to be said, I don't see why it needs to be brought back up.
Jon
-
The best way to do it is through phpmyadmin in your phpvms database look for the phpvms_airports table
Jon
-
A quick search will bring that up:
<ul> <?php foreach($allawards as $award){ ?> <li><img src="<?php echo $award->image?>" /></li> <?php } ?> </ul>
Jon
- 2
-
No problem mate, glad to help
I'll have a look when I've finished a new module for my va.
Kind regards,
Jon
-
London Executive Aviation Virtual (LEA Virtual for short) was setup to mirror the operations of our realworld counterpart. Initially Philip Adams (CEO) spotted a niche in the VATSIM VA market for A successful virtual business charter airline. After several weeks of pondering who he would like to bring onboard his team to make his dream come true. This man, our webmaster and Vice-CEO Jonathan Derrick was the one who Philip thought had the most potential to work with him.
To this day, the virtual airline has gone through some rapid changes including the introduction of Version 3 of the website which includes features such as: AirMail, Live Support and a fully customised weather centre to name but A few...
To Join Us Simply Visit: www.leavirtual.com
To Contact The CEO:
To Contact Myself:
Kind Regards,
Jonathan Derrick
-
Hi All,
Just thought this would come in handy basically the user enters the ICAO then the metar will display in an iframe,
Preview:
When no ICAO entered:
When an ICAO code has been entered (EGKK)
<form action="weather" method="post"> Get METAR For: <input type="text" name="icao" /> <input type="submit" /> </form> Latest METAR: <iframe src="http://www.vatsim.net/data/metar.php?id=<?php echo $_POST["icao"]; ?>" class="metar" width="200" height="75" frameborder="0" scrolling="no">></iframe>
Kind Regards,
Jon
-
Ok I want to display an Image for each pilot showing their Hub. And I also want To show an image for the Staff e-mail login:
However I'm getting the following error:
Parse error: syntax error, unexpected '<' in /home/leavirtu/public_html/lib/skins/Site/profile_main.tpl on line 180Line 180 is where
<a href="http://www.leavirtual.com:2095"><img src="http://www.leavirtual.com/lib/skins/Site/images/profile/e-mail_staff.gif" width="200" height="100" border="0" /></a>
is.
<?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { <a href="http://www.leavirtual.com:2095"><img src="http://www.leavirtual.com/lib/skins/Site/images/profile/e-mail_staff.gif" width="200" height="100" border="0" /></a> } ?> <?php if($userinfo->hub == 'EGLC') { <img src="http://www.leavirtual.com/lib/skins/Site/images/profile/eglc.gif" width="200" height="100" /> } ?>
Am I doing it wrong? Ahd a look at using the php mehtod image showing but doesn't make sense,
Help Apprciated,
Jon
-
Thanks Mate,
Jon
-
Hi All,
Ok so the plan is that if want to add a section in the pilot cntre that shows according to a pilots hub so, for example, If Joe Bloggs Was in EGKK, it would show hub information.
I am aware that it might be possible using a "if" statement but at the moment my knowledge of php isn't helping. I thought about using something like the code which shows different parts of the nav-bar but that would involve groups.
Help Appreciated,
Jon Derrick
www.leavirtual.com
-
Hi Mark,
Ok Thanks For That,
Kind Regards
Jon Derrick
-
Hi Mark,
Did you get the code for auto-vroute invites working?
If yes can I have it please
Regards
Jon
-
Yeah this is one addition i'd love to have in phpVMS
Jon
-
I'd prefer it with just a page with each aircraft's tables rather than each link.
Jon
-
Have you tried extending the table width?
Jon
- 1
-
If you manually make groups for your hubs and add those pilots. when you email using the e-mail all pilots tick the group that is concernded.
Jon
-
Hello,
It's nice to see your joining up to VATSIM.
The chance of getting banned for doing something wrong is VERY slim.
I'm a controller in the UK for Gatwick. I'll logon around 19:00 UTC if you want and then just pm me saying hi.
See you then,
Jon
-
I think it's
PilotData::findPilots(array('p.hub'=>YOUR HUB HERE))
-
I Don't know if it would work but maybe an if statement:
<?php /* Quick example of how to see if they're logged in or not Only show this login form if they're logged in */ if(Auth::LoggedIn() == false) { ?> <a href="http://www.domain.com/index.php/login"> Please Login To View This Page! <?php {$this->show('login_form.tpl'); } ?> </a>
Was just a thought but probably won't work lol
-
I Don't Think It's Poor Support here. It's just people have work and live in different times zones etc.
Not wanting to sound harsh but the fact is people have to work out whats wrong so post as much info as possible, just because they have viewed it doesn't mean they can help.
Tried them both on one server but there was a security issue, a conflict causing a member on one site that had an ID ending in XXX0001 to be able to log into the person profile on the other site who's ID ended in XXX001. Without the use of login (Email address and PW) I rplaced the sub-site several times and the databases and passwords and the conflict still existed. I couldn't get any response here on the forums no matter where I posted it. JUst viewing.Were you using the same database and same tables? If yes, thats probably why.
From Your Other Topic:
For some reason I have lost the ability to edit my news page and addon pages. When you click on Edit News or Editing pages all that is there is the code script? Np tools?Any Chance to see the code?
Regards
Jon
-
-
Have you tried editing through the MYSQL DAtabase?
#
Jon
-
Have you tried pressing the "look Up Button Again?
-
Can you send a screenshot of what your editing?
Jon
-
Hi Allan,
For A Genral Rule Of Thumb Just Search The Forum First:
There You Go, I only recommend doing the 1st option,
Jon
- 1
Charter Flight Booking System
in Support Forum
Posted
Hi All,
As My Va Runs Charter Flights Without Any Scendules I was wondering if there was a away of making the pilot be able to "Charter A Flight" Which leads them to the simular page like in the add schedule page. When they press "Book" The flight is added to their bids. I've been looking at:
http://forum.phpvms.net/topic/1966-phpvmsbooking-release/page__hl__booking
But wouldn't know where to start by editing a copy of the admin center file for pilots.
Any Help Appreciated,
Merry Christmas,
Jon