LuigiMdg wrote: ↑
Wed Jan 24, 2018 10:23 am
kinerity wrote: ↑
Wed Jan 24, 2018 1:45 am
The template variable for each poster in a topic is
. Not sure how you plan on reading that in your script.
Yes.. But I don't know how to get this value.. I've try with $postrow['POST_AUTHOR_FULL']
, with $postrow->POST_AUTHOR_FULL
.. But not work..!
Viewtopic_body contains post in a topic, so it's not improbable that there will be many different authors (members). As implied by kinerity you'll have to write some kind of itteration running through each postrow, checking the value you need (either user_id or username (or ... _clean) and when you get a hit, then execute some more code. Also keep in mind that when viewing a topic, you are actually only viewing 1 page (of possibly more depending on the setting of the number of posts per page.
For more precise help, you'll have to explain a little better on what you want to do exactly.
Is it adding an external statistic about a user_id into each postrow in viewtopic_body.html?