I see a few WordPress forum sites with an auto affiliate links generator for keywords when a post is created. This is powerful, but I haven't found it if it violates Amazon TOS. In either case, does PHPBB have a similar extension like this? I searched and found viewtopic.php?f=456&t=2321636
but I don't know if this is the same.
The behavior: Whenever a post is created, somehow the plugin knows which keywords and phrases to highlight and link to an Amazon affiliate store. The URL leaving the website is the same domain before landing at the affiliate store. I think this was the plugin the site I found was using https://wordpress.org/plugins/amazon-auto-links/