LesJar Posted July 3, 2021 Report Share Posted July 3, 2021 I have code that will post to a MYBB forum for pilot events that are initially the following -: [A]. New Pilot [B]. Pilot promotions If anybody can tell me where I need to insert my code as follows -: When a new pilot joins at the point they become a registered pilot is where I want to put my code , which module/php does PHPVMS make a pilot "LIVE". Likewise as in a pilot promotion at what point does a pilot get promoted to a new rank. , same here where do I put my code in which module /php file We are running v5.5 7.2 version Thanks If I get help on this I will post my code that makes the announcement on MYBB on this forum to help others Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 3, 2021 Administrators Report Share Posted July 3, 2021 There is no phpVMS version 5.5 7.2 - is that version number from MYBB forum software? Quote Link to comment Share on other sites More sharing options...
LesJar Posted July 4, 2021 Author Report Share Posted July 4, 2021 It is version phpVMS 5.5.2.72 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 4, 2021 Administrators Report Share Posted July 4, 2021 I believe you would have to write a separate module from scratch or maybe use the REST API. I don't use MYBB, so can't advise if it can be made to work. Quote Link to comment Share on other sites More sharing options...
LesJar Posted July 4, 2021 Author Report Share Posted July 4, 2021 I already have written the code I need for the posting to the MYBB forum , My questions were , in which PHP module or script is there a point at which a pilot becomes a 'live' pilot and also at which point i.e. a pilot gets promoted so that I can post the messages. It needs to be at an exact moment when PHPVMS does these things so as not to post the message twice or to miss the event completely Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted July 4, 2021 Administrators Report Share Posted July 4, 2021 While you have written the code for the MYBB side, I believe you will need to write a custom module for phpVMS which will parse the needed data and interface with your MYBB code. There is not presently a module or script to do what you are wanting to do. Quote Link to comment Share on other sites More sharing options...
LesJar Posted July 5, 2021 Author Report Share Posted July 5, 2021 You might be correct there since it is never wise to make too many changes to 'core' modules at least if my code was in a seperate module then if the main module I attach the link to my module changes there is the minimum for the work. So on that basis I will try and build the MYBB posing module and see how I get on , fortunately I have a test server of my own so that the live virtual airline does not have a problem with my testing 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.