Jump to content

mark1million

Moderators
  • Posts

    2283
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. Thanks Roger, i found the main problem is IE lol Renders OK in Chrome and Firefox, Checked all the divs and had one end tag without a beginning and some minor adjustments to the css and added some padding to the mainbox. Well seems to be ok now, what a job lol. some days you think i should leave well alone but the result is ok for me.
  2. Thanks Roger will give that a go.
  3. Hi guys can some one point me in the right direction, i have been working on this and i now have a mental block lol.. Im trying to change the News so its not so close to the edges see http://grantsva.com and also i have an alignment issue with the schedules if someone can point me to the right setting. Thanks.
  4. Mo thats fine and just to make sure i have edited and done a lookup and save, still the same. How strange, what about if i delete and add again or would that mess up the existing schedules?
  5. Just loaded in IE and it throws up the following, Message: Syntax error Line: 131 Char: 25 Code: 0 URI: http://grantsva.com/index.php/routemap/hubmap/egkk Message: 'onLoad' is undefined Line: 329 Char: 1 Code: 0 URI: http://grantsva.com/index.php/routemap/hubmap/egkk Line 131 is. var point = new GLatLng(,); Line 329 is. <script language="javascript" type="text/javascript" charset="utf-8">window.onload=onLoad;</script></script>
  6. Thanks Nabeel will give that a go now.
  7. Nabeel, i have watched your tutorial about the rout map hubs, it works fine apart from one hub, EGKK for some reason, any ideas? EGCC KJFK KLAX EGPH works fine but i have the most routes coming out of KK but that was limited with the code to 20 i believe. http://grantsva.com/index.php/routemap/hubmap/egkk
  8. I think the main problem is a reliable flight tracker, now if you could write one of them you would make a fortune lol
  9. Nice site, clear and flowing. well done a fantastic example of what phpvms can do
  10. There is a lot of data to be caught from fskeeper would be good, as with fspax that is payware as well.
  11. This phpvms software makes it very easy for anyone to create a VA, this is good for the most part but can put the power to easily in to the inexperienced hands and cause problems which is what im seeing here lately with posts here.
  12. What are you trying to achieve? i have some imagery on my site, it all depends what your after.
  13. Why would you post this here? there is no relevance to phpvms apart from the system used. Come on guys this is for somewhere else.
  14. Is that the same for all your routes or just that one?
  15. Maybe im misunderstanding here but if you want to create an event just add the route as you would normally a schedule then all pirep and bids would be available to all pilots.
  16. Hi Nabeel instead of redirecting people to the not allowed page for pages you must be logged in to view would it be possible to redirect straight to the login page?
  17. This sounds really BIG.. A real great idea, i like the acars map idea showing all member VA's listing departures and arrivals, this is going to be great!
  18. I am thinking of having Hub managers competing with revenue, would it be possible to use a drop down menu to select revenue profit / loss from an individual hub?
  19. No no..... if you use phpbb then the members tables are phpbb_users and smf they are smf_users , i think, no phpvms tables are renamed
  20. Right guys, i thought id post my code, now i got to tell you i have no experience in coding, so i make no excuses now. This is what im using to interface with phpVMS, i have a few settings in the forum as well for this to work, you must have admin approval set in the forum this is a good idea as it stops nasty people registering on your forum and spamming. I have also created another user group "pilots" which is why you see group id 9, the normal registered user group in 2. Like i said im no coder but this works for me. Must also mention that both databases are in one, if yours are separate then just connect before. SMF users just rename the php_users to your members table and change other settings as required. <?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']; //mysql_query("INSERT INTO phpbb_users (username, user_password, group_id, user_timezone, user_dst, user_lang, user_type, user_actkey, user_dateformat, user_style, user_regdate) VALUES ($userr, $pass, '2','1.0', '0','en','0','','d M Y H:i', '1', time())"); $get_uinfo = mysql_query("SELECT * FROM phpvms_pilots WHERE firstname='".$fname."' AND lastname='".$lname."' AND email='".$email."'"); echo "Result Select: ".mysql_error()."<br>"; $uinfo = mysql_fetch_array( $get_uinfo ); //echo "Uinfo: ".$uinfo['pilotid']; $str = $uinfo['pilotid']; $pilot_id = str_pad ($str,4,"0",STR_PAD_LEFT); $pilot_id = $fname.$lname.$code.$pilot_id; $pilot_id_klein = strtolower($pilot_id); //echo "Pass: ".$pass."<br>"; $passMD5 = md5($pass); //echo "Pass MD5: ".$passMD5."<br>"; echo "PilotID: ".$str."<br>"; $tm = time(); mysql_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."')"); //mysql_query("INSERT INTO phpbb_users (username, user_password) VALUES ('".$pilot_id."', '".md5($userinfo['password'])."')"); //echo "Result: ".mysql_error()."<br>"; //print_r($userinfo); } } } ?>
  21. Nabeel, what i would like to see is the ability to make a pilot inactive, i have added another line to the pilots fields with a gif image just to test, i have a green one and a flashing red one for inactivity ( http://grantsva.com/index.php/pilots ) how hard would this be?
  22. http://phpvms.net/forum/index.php?topic=272.0 All the code is there my friend
×
×
  • Create New...