Jump to content

BaRBeR

Members
  • Posts

    309
  • Joined

  • Last visited

Everything posted by BaRBeR

  1. They aren't skins they are just images you have drawn up...
  2. Brilliant, would certainly recommend! +1
  3. To edit your profile you need to goto core/templates/profile_main.tpl I always recommend duplicating the original and then editing it here is an example of mine for some inspiration -
  4. Does look like a very good hosting site maybe ill be hosting with you in the future. One thing i do like is your logo! Best of luck!
  5. Hi all, I get an error when downloading the fspax config file: WarningWarning: Cannot modify header information - headers already sent by (output started at /home/ukxpress/public_html/www.emiratesva.co.uk/core/modules/Profile/Profile.php:2) in /home/ukxpress/public_html/www.emiratesva.co.uk/core/classes/Util.class.php on line 58 Warning: Cannot modify header information - headers already sent by (output started at /home/ukxpress/public_html/www.emiratesva.co.uk/core/modules/Profile/Profile.php:2) in /home/ukxpress/public_html/www.emiratesva.co.uk/core/classes/Util.class.php on line 59 Warning: Cannot modify header information - headers already sent by (output started at /home/ukxpress/public_html/www.emiratesva.co.uk/core/modules/Profile/Profile.php:2) in /home/ukxpress/public_html/www.emiratesva.co.uk/core/classes/Util.class.php on line 60 menu_name=Emirates Virtual Airways; base_url=http://www.emiratesva.co.uk; path_stats=index.php/acars; path_export=action.php/acars/fspax; username=UAE0001; password=none; ______________________________________________ I understand this is something to do with white space but I'm not sure how to fix it.
  6. This is my login.php anyone see anything - <?php /** * phpVMS - Virtual Airline Administration Software * Copyright (c) 2008 Nabeel Shahzad * For more information, visit www.phpvms.net * Forums: http://www.phpvms.net/forum * Documentation: http://www.phpvms.net/docs * * phpVMS is licenced under the following license: * Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) * View license.txt in the root, or visit http://creativecommons.org/licenses/by-nc-sa/3.0/ * * @author Nabeel Shahzad * @copyright Copyright (c) 2008, Nabeel Shahzad * @link http://www.phpvms.net */ class Login extends CodonModule { public function __construct() { parent::__construct(); } public function index() { $this->login(); } public function login($redir='') { if(Auth::LoggedIn() == true) { $this->render('login_already.tpl'); return; } $this->set('redir', $redir); if(isset($this->post->action) && $this->post->action == 'login') { $this->ProcessLogin(); } else { $this->render('login_form.tpl'); } } public function logout() { Auth::LogOut(); $this->set('redir', SITE_URL); $this->render('login_complete.tpl'); } public function forgotpassword() { if($this->post->action == 'resetpass') { $this->ResetPassword(); return; } $this->render('login_forgotpassword.tpl'); } public function ResetPassword() { $email = $this->post->email; if(!$email) { return false; } else { $pilotdata = PilotData::GetPilotByEmail($email); if(!$pilotdata) { $this->render('login_notfound.tpl'); return; } $newpw = substr(md5(date('mdYhs')), 0, 6); RegistrationData::ChangePassword($pilotdata->pilotid, $newpw); $this->set('firstname', $pilotdata->firstname); $this->set('lastname', $pilotdata->lastname); $this->set('newpw', $newpw); $message = Template::GetTemplate('email_lostpassword.tpl', true); Util::SendEmail($pilotdata->email, 'Password Reset', $message); $this->render('login_passwordreset.tpl'); } } public function ProcessLogin() { $email = $this->post->email; $password = $this->post->password; if($email == '' || $password == '') { $this->set('message', 'You must fill out both your username and password'); $this->render('login_form.tpl'); return false; } if(!Auth::ProcessLogin($email, $password)) { $this->set('message', Auth::$error_message); $this->render('login_form.tpl'); return false; } else { if(Auth::$userinfo->confirmed == PILOT_PENDING) { $this->render('login_unconfirmed.tpl'); Auth::LogOut(); // show error } elseif(Auth::$userinfo->confirmed == PILOT_REJECTED) { $this->render('login_rejected.tpl'); Auth::LogOut(); } else { $pilotid = Auth::$userinfo->pilotid; $session_id = Auth::$session_id; # If they choose to be "remembered", then assign a cookie if($this->post->remember == 'on') { $cookie = "{$session_id}|{$pilotid}|{$_SERVER['REMOTE_ADDR']}"; $res = setrawcookie(VMS_AUTH_COOKIE, $cookie, time() + Config::Get('SESSION_LOGIN_TIME'), '/'); } PilotData::UpdateLogin($pilotid); #$this->set('redir', SITE_URL . '/' . $this->post->redir); #$this->render('login_complete.tpl'); CodonEvent::Dispatch('login_success', 'Login'); $this->post->redir = str_replace('index.php/', '', $this->post->redir); header('Location: '.url('/'.$this->post->redir)); } return; } } }
  7. Apparently, there is something wrong with VA Centrals API's atm i think they're trying to fix it
  8. Hi, I wondered if you guys could come up with some ideas for my va's pilot centre or maybe post your own. Any ideas would be appreciated! Thanks.
  9. It'll be good when you create it and then they get in contact with you saying to take it down because they have nit given permission. Get it in written form if you have got it before you start creating it.
  10. post the code from the top of your home plz
  11. Will do that today thanks for feedback
  12. I meant to put 6 haha pressed wrong key on keyboard. I don't have 6 routes I have nearly 400 and I've done them by my self which is quite a lengthy process as you know.
  13. Maybe a training centre of some sort where pilots can book training for certain things.
  14. VA Central are performing updates this could be why. Please check the VA Central site.
  15. Hi all. I'd like to welcome you all to join the all new emirates va here http://www.emiratesva.co.uk/ i know some of you will comment saying negative things but I do appreciate constructive criticism so feel free to give us some but please don't post hate comments! Thanks and sign on up!
  16. Yeah I'm having a look at v3 today, looks good but as Sava said don't use if you are planning to make it live stick with the stable version.
  17. BaRBeR

    News Scroller

    Looks just like they have used a <marquee> but i wondered if there was a way so like latest news goes on the scrolling banner. Here is there code - <td colspan="3" background="images/_layout_03.png" width="960" height="33" style="padding-left:50px; padding-right:50px; color="#ffffff"" style="z-index: 99999;"> <table><tr><td width="110px" style="padding-left:5px;">Latest News :</td><td width="850px" > <marquee style="float:right;" scrolldelay="-60"> 08/12/12 | August Update | August is finally here! We are in the last few day of summer now and giving it a final push on our flying! As many of you have seen, August is Water Quality month, the AAvirtual staff request that you conserve water so that we can be a sponsor of the Water Quality month, every drop counts! For the Virtual Airline news, we have added Hub Wars! Hub Wars is a certain set of points that are given to each hub depending on how many active pilots there are. Each flight counts as 1pt, however it is than divided by the number of active pilots in the hub to give each hub an equal chance to win the monthly hub wars! Read more about Hub Wars here - http://aavirtual.net/?content=hub_wars. AAvirtual is currently planning on partnering with Air Train Virtual Airlines and Carib Sky Virtual Airlines to expand our community, with that we also ask that pilots use Teamspeak while flying as it is one of many great resources. This month we also had a few drop outs in our staff, with Anthony G, resigning as a Flight Ops Manager and Caleb R and Daniel C, resigning as our Events Coordinators. As a result the Public Relations department will be taking over the Events Department until further notice. Many have noticed the new Dispatchers on ACARs, as a result of the successful feedback we have been getting back we are asking for new Dispatchers, interested dispatchers should have the minimum rank of CAT I and must email support@aavirtual.net to apply. As a lot of our members have been saying, lets make August a month that will count! - AAvirtual Staff Team </marquee> </td></tr></table> as you can see they have just wrote the top news with a <marquee>
  18. BaRBeR

    News Scroller

    Does anyone know the code for creating a scrolling banner which has the news from phpvms on like on http://www.aavirtual.net/
  19. Hello, I would be interested but not while there is no screenshots of your previous work. For all we know you could be a teenager scamming us for a bit of pocket money to be honest but by all means I'm not saying you are. I hope you can show us some examples of your work and i hope it turns out to be good and i hope it works out for you. Thanks, Jordan!
  20. Use SimPilots Popup news http://forum.phpvms.net/topic/1062-popupnewsmodule/ this shows latest 5 news posts just follow the instructions if you need any help pm me.
  21. whats the background supposed to be?
  22. Hi i get multiple errors such as - Warning: Cannot modify header information - headers already sent by (output started at /home/ukxpress/public_html/desired-destinations.com/newva/phpvms-2/core/modules/Profile/Profile.php:2) in /home/ukxpress/public_html/desired-destinations.com/newva/phpvms-2/core/modules/Forum/Forum.php on line 240 anyone know solution?
×
×
  • Create New...