I've already "solved" this with a custom BBCode which has replacement text defined as:
Code: Select all
What's nagging at me is "I'm using an external service to find an answer that phpBB itself already knows."
I don't expect there is already something ready-made like an already existing token symbol that could be referenced in the BBCode. But is there a way to invoke some PHP or JQuery from within a BBCode, or any other method that could retrieve the data sessions.php saved as "session->ip", or maybe access "$_SERVER['REMOTE_ADDR']" directly as part of the BBCode's output?
The answer may in fact be obvious; I'm just not familiar with phpBB or PHP to already know whether it's obvious or not.