dknife
Well-known member
I have a function I wrote on my forum which displays dynamic content from the main site by simply using a bbcode tag and an ID to pull the data. This concept works great however what I really need is the ability to post the same content as either static or dynamic. The data it retrieves and displays changes over time quite a lot so the post becomes less relevant over time as that data changes.
Instead of designing a snapshot system of the data in question (which is quite complex with many tables), I'm trying to figure out a way to obtain that data via the bbcode (which I've done already) and replace the reference in the post so it is no longer generated but rather is added into the post content itself.
Is this conceivable? I'd have to hook into the message post function itself I guess and listen for that bbcode tag then apply a function to replace that part of the message with additional content?
Instead of designing a snapshot system of the data in question (which is quite complex with many tables), I'm trying to figure out a way to obtain that data via the bbcode (which I've done already) and replace the reference in the post so it is no longer generated but rather is added into the post content itself.
Is this conceivable? I'd have to hook into the message post function itself I guess and listen for that bbcode tag then apply a function to replace that part of the message with additional content?