Jump to content

Jeff

Members
  • Posts

    1307
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jeff

  1. If you let me know how you want it to look, I can create some templates for you. PM me with your suggestions and I will get back to you.
  2. Because you keep posting about opening Virtual Airlines with copyright items in it. By the way, I'm sure this one will be deleted as well.
  3. Alright... I will give you two links, and you can choose which one better suits your needs. 1. Real Schedule Lite (by Simpilot) 2. Random Itineray Builder (by lorathon)
  4. http://forum.phpvms.net/topic/3291-recent-5-flights/
  5. What does it actually do then? Does it leave limited options that the pilot can do or what?
  6. Nope, I haven't installed any Beta Releases. I am still on the original Version 2.1.934
  7. I have set a member as inactive, but the pilot is still able to log in. Used drop-down (Active/Inactive) in Admin Center Checked phpMyAdmin to see, and yes, it is showing as 1 Is there something I missed?
  8. Jeff

    Try Again

    Do you have it setup to auto accept your pireps?
  9. Actually you did a great job on it. It works perfectly now. Thanks a lot on the help. Other interested parties wondering how to do it, follow Jeffrey's examples then in the profile_main.tpl place this in the lineup: <li><?php $custom_info = CUSTOMData::getPilotInfoWithTotalDistance($userinfo->pilotid); echo '<strong>Total Flown Miles: </strong>'.$custom_info->totalmiles; ?></li> The same exact code above will also work in the pilot_public_profile.tpl without any modifications.
  10. I'm trying to place the code to have it show in the profile_main.tpl with the rest of the pilot information about the member. I am trying to figure out which call to use for it. This isn't working: <li><strong>Miles Flown: </strong><?php echo $userinfo->totalmiles; ?></li> I'm sure the code you just gave, goes in the PilotData.php, but trying to figure the pull code.
  11. Can you see if I did this correctly? I don't usually mess with the Data.class files. Original code (Line 18) $username = $eventinfo[2]['firstname'].' '.$eventinfo[2]['lastname'].' '.$pid; Edited code (Line 18) $username = $pid.' '.$eventinfo[2]['firstname'].' '.$eventinfo[2]['lastname']; Result $id = PilotData::getPilotByEmail($eventinfo[2]['email']); $pid = PilotData::getPilotCode($eventinfo[2]['code'], $id->pilotid); $username = $pid.' '.$eventinfo[2]['firstname'].' '.$eventinfo[2]['lastname']; $password = sha1(strtolower($username . $eventinfo[2]['password1'])); $salt = substr(md5(mt_rand()), 0, 4); $time = time(); $email = $eventinfo[2]['email'];
  12. Is there something I can change for when a new member registers that it will register with the Pilot ID then the Username instead of how it is currently setup? Instead of John Smith ABC1234 have it as ABC1234 John Smith
  13. I got it working. Thanks Mark and SimPilot Now if I can figure out why it doesn't send out an Activation E-Mail ( I have it disabled for now, and have Auto Activation enabled)
  14. Can I PM you my information and see if you can get it to work? I really do not want to mess my database up.
  15. Let me give it shot. Will return with the result.
  16. I am not familiar in messing with databases, so a little (or a lot) of help might be needed. I am on fivedev's server if that helps.
  17. Can I change them over without losing my registered members, or will I just have to redo it?
  18. you need to add the SQL file to your database using phpMyAdmin or similar.
  19. Alright guys, quit picking on smiley. I'm tired of hearing this griping.
  20. Jeff

    Adding Pages

    When adding pages, there are two (2) boxes just above the "Save Changes" button. you need to remove both checks from them. If they are not Enabled, they won't show in the menu. They can still be viewed using a link you provide to your members that link to those pages you create. Explanation... Public?: They appear in your menu on your site to members, as well as non members. Enabled?: They will appear to your members, but not to the public.
  21. I just changed over from phpBB to SMF 2.0 and cannot get this to function. The folder (forum) is located in the same place as all of my other files (public_html/forum) It is also tied to smf_ in my database.
  22. Try clearing the cache. Sometimes this might be a problem on some servers.
  23. Try this at the very top of your .tpl file <?php if(Auth::LoggedIn() == false) { echo 'You must be logged in to view this page!'; return; } ?>
×
×
  • Create New...