Jump to content

Minor Glitch


VinceN

Recommended Posts

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

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

  • Administrators

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 icon_e_biggrin.gif I'll add another variable for the number padding. Right now it's set to three.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...