Moderators mark1million Posted March 2, 2015 Moderators Report Share Posted March 2, 2015 Here is what im trying to achieve, any help would be appreciated as its been a while since i have dived deep in to the code pf vms. When a pilot is deleted and their is data in the system ie from a screen shot or past event it displays the pilot as 0000, now is there a way to globally set that to echo something else out via the config file? Cheers. Quote Link to comment Share on other sites More sharing options...
freshJet Posted March 2, 2015 Report Share Posted March 2, 2015 Not through the config file, but you could edit the code for the $userinfo class. So, if the ID is 0000 echo 'Retired'. Problem there is that might cause some issues where it is expected as a number, i.e passed into functions. Quote Link to comment Share on other sites More sharing options...
StartVM Posted March 3, 2015 Report Share Posted March 3, 2015 Not through the config file, but you could edit the code for the $userinfo class. So, if the ID is 0000 echo 'Retired'. Problem there is that might cause some issues where it is expected as a number, i.e passed into functions. Thats a good point if casted by php as an integer there will be issues Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted March 5, 2015 Author Moderators Report Share Posted March 5, 2015 Im think its probably easier to set per module instead of globally. Quote Link to comment Share on other sites More sharing options...
freshJet Posted March 5, 2015 Report Share Posted March 5, 2015 Im think its probably easier to set per module instead of globally. That's how I would do it. 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.