Moderators mark1million Posted March 2, 2015 Moderators Report 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
freshJet Posted March 2, 2015 Report 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
StartVM Posted March 3, 2015 Report 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
Moderators mark1million Posted March 5, 2015 Author Moderators Report Posted March 5, 2015 Im think its probably easier to set per module instead of globally. Quote
freshJet Posted March 5, 2015 Report Posted March 5, 2015 Im think its probably easier to set per module instead of globally. That's how I would do it. Quote
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.