VinceN Posted June 10, 2008 Report Share Posted June 10, 2008 Whenever you call <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> on any pages, it pulls the list of recent Pilots however immediately above it there is "test" displayed.So this is what it outputs for me.testBLU1004 Quinn RognessBLU1003 Tyler HartmannBLU1002 Leonard JungckBLU1001 Vince NovakThis can be seen on most pages at test.ceruleanairlines.com Quote Link to comment Share on other sites More sharing options...
eurobelgian Posted June 10, 2008 Report Share Posted June 10, 2008 I have the same problem too...Btw, you've implemented the phpvms system very nice into your website! How did you edited the pilot callsign counting? (started from 1000) Quote Link to comment Share on other sites More sharing options...
VinceN Posted June 10, 2008 Author Report Share Posted June 10, 2008 Btw, you've implemented the phpvms system very nice into your website!Thank you! It's still very much a work in progress.How did you edited the pilot callsign counting? (started from 1000)In "/core/local.config.php"Find the part that says$Config['PILOTID_OFFSET'] = 0;If it doesn't exist put that at the end of the file before the ?> then replace 0 with whatever you want your Pilot ID's to start at.So if your Pilot ID is 1 then with an offset of 1000 your PID becomes 1001. Quote Link to comment Share on other sites More sharing options...
eurobelgian Posted June 11, 2008 Report Share Posted June 11, 2008 Thanks, do you know how I can make the pilot id of the type "001" and not "0001"? Quote Link to comment Share on other sites More sharing options...
VinceN Posted June 12, 2008 Author Report Share Posted June 12, 2008 I would assume use an offset of 100,If that doesn't work, ask the maker Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 12, 2008 Administrators Report Share Posted June 12, 2008 If you goto modules/Pilots/Pilots.php, the RecentFrontPage() function, just delete the echo "test" line.I had that there because it wasn't showing up on my test install. Good to see it works on yours I'll add another variable for the number padding. Right now it's set to three. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.