Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Which IE version is that? Try using Firefox for now, I'll fix it for the next update
  2. Nabeel

    news_newsitem

    Is it being added through the editor in the admin panel?
  3. This works: $xml = simplexml_load_string($xmlX); foreach($xml->Players->Player as $player) { echo $player->Name .'<br />'; } You want to cycle through each "Player", since there are multiple sections of that, not just one player. Sorry took so long!
  4. Nabeel

    users online

    It's coming in the next update
  5. I think there's a function for that through the API http://docs.phpvms.net/api If not, I can add it easily
  6. Did you empty the local.config? I think there's something trippy going on with your server..
  7. This is the beta right? I can't remember if I released the admin roles yet... What you'll have to do, in core_navigation.tpl Replace: if(Auth::UserInGroup('Administrators')) With if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) Had been updated for next release, though. Thanks!
  8. Nabeel

    news_newsitem

    When is it supposed to show up?
  9. How many PIREPs do you get per-day? As of now, I have enough data/airlines in it to work with, but if I need more, I'll keep you in mind
  10. I think I got it, I will double check - thank you. It might be blank because you're mix-and-matching templates. You can't do that - variables are assigned to templates specifically. I would revert to the defaults and start from scratch for those two. You can't always directly copy from one to the other. For design issues like that, you just have to tinker with the CSS and HTML; no other way of fixing it
  11. This? http://www.bahamasairvirtual.com/index.php/schedules/brief/3 It looks fine on my browser (FF 3.5) Very nice site, btw
  12. Rev 736 - Signatures bug fix9 August 2009, 8:23 amRev 736 - nabeel (1 file(s) modified)Signatures bug fix~ /trunk/core/common/PilotData.class.phpSource: phpVMSDownload from http://downloads.phpvms.net
  13. That's a route mapper, not a map per-say. The Google Map implementation does alot. If you want to show it on your route page or something: <img src="http://gc.kls2.com/cgi-bin/gcmap?PATH=KJFK-KORD" /> You just have to change it to use the arrival and departure airport variables. Your issues with the Google Map can be fixed by fixing your CSS.
  14. Nabeel

    Skinning Help

    You can maybe check archive.org too Always keep multiple backups...
  15. Rev 735 - Transfer hours fix in signatures8 August 2009, 8:52 amRev 735 - nabeel (4 file(s) modified)Transfer hours fix in signatures~ /trunk/changelog.htm~ /trunk/core/bootstrap.inc.php~ /trunk/core/classes/Util.class.php~ /trunk/core/common/PilotData.class.phpSource: phpVMSDownload from http://downloads.phpvms.net
  16. Email me your username and password for ftp, database and your database admin panel
  17. Hmm, are you on the latest beta? I had fixed a bug in phpVMS for that export
  18. it's reported in the notes field, or the log field, can't remember which, but it's possible. i'll take a look, remind me tomorrow
  19. Originally from this topic: http://forum.phpvms.net/index.php?topic=272.0 <?php class ForumRegister extends CodonModule { public function __construct() { CodonEvent::addListener('ForumRegister'); } public function EventListener($eventinfo) { if($eventinfo[0] == 'registration_complete') { $userinfo = $eventinfo[2]; $fname = $userinfo['firstname']; $lname = $userinfo['lastname']; $pass = $userinfo['password1']; $email = $userinfo['email']; $code = $userinfo['code']; $uinfo = PilotData::GetPilotByEmail($userinfo['email']); $code = PilotData::GetPilotCode($uinfo->code, $uinfo->pilotid); $pilot_id = $fname.$lname.$code.$pilot_id; $pilot_id_klein = strtolower($pilot_id); $passMD5 = md5($pass); $tm = time(); DB::query("INSERT INTO phpbb_users (username, username_clean, user_password, user_email, group_id, user_timezone, user_dst, user_rank, user_lang, user_colour, user_type, user_actkey, user_dateformat, user_style, user_regdate) VALUES ('".$pilot_id."', '".$pilot_id_klein."', '".$passMD5."', '".$email."', '9','0.0', '0', '2','en','0099FF','1','5BN4938HB2','D M d, Y g:i a', '2', '".$tm."')"); } } } ?> So far, confirmed working by one person. But I would feel more comfortable if it were using the phpBB API for adding users.
  20. This topic has been moved to Addons and Utilities. [iurl]http://forum.phpvms.net/index.php?topic=272.0[/iurl]
  21. Unfortunately, airnav doesn't have an API to go through. But if it's not too many airports, you can just copy the information into the dialog box. You could also send those airports to geonames, though I'm not sure if they would add them. In the future, this functionality might switch to the phpVMS API server; I'm collecting airport data and can hopefully build a pretty comprehensive database
  22. Not the phpVMS database, but FSACARS. You have to delete FSACARS completely (including its folder). It trips up sometimes http://forum.phpvms.net/index.php?topic=795.0
  23. This should be a fixed up version, using the proper API calls <?php class ForumRegister extends CodonModule { public function __construct() { parent::construct(); CodonEvent::addListener('ForumRegister'); } public function EventListener($eventinfo) { if($eventinfo[0] == 'registration_complete') { $userinfo = $eventinfo[2]; $fname = $userinfo['firstname']; $lname = $userinfo['lastname']; $pass = $userinfo['password1']; $email = $userinfo['email']; $code = $userinfo['code']; $uinfo = PilotData::GetPilotByEmail($userinfo['email']); $code = PilotData::GetPilotCode($uinfo->code, $uinfo->pilotid); $pilot_id = $fname.$lname.$code.$pilot_id; $pilot_id_klein = strtolower($pilot_id); $passMD5 = md5($pass); $tm = time(); DB::query("INSERT INTO phpbb_users (username, username_clean, user_password, user_email, group_id, user_timezone, user_dst, user_rank, user_lang, user_colour, user_type, user_actkey, user_dateformat, user_style, user_regdate) VALUES ('".$pilot_id."', '".$pilot_id_klein."', '".$passMD5."', '".$email."', '9','0.0', '0', '2','en','0099FF','1','5BN4938HB2','D M d, Y g:i a', '2', '".$tm."')"); } } } ?>
  24. And I believe an updated version of that was posted
×
×
  • Create New...