Hello all,
First of all forgive me if this question is stupid. I am a new user of phpbb. Haven't programmed php before but have done quite a lot of programming in other languages (golang/python/c/c++) etc.
1. I have made a numeric custom profile field that I want to increment once a month for all users. It seems that the right way to do this is to write an extension and use cron features to run it once a month. Is that right?
2. Obviously, I'd much prefer it if I could access the profile via a REST API - yes, I know phpbb doesn't have a REST API (yet) - though this would of course be absolutely awesome. Instead, it seems to me that instead of having the extension do this special purpose thing of incrementing a field, I could just make the extension be a REST proxy that proxies some of the paths in the phpbb3 api -> phpbb\profilefields\manager to validate and set some of the profile fields. That way, most of the business logic can be external to phpbb.
It is possible that there is yet another Third Way that I am unaware of. Can people enlighten me?
thanks
ea