I'm not interested in writing this, but it sounds fairly straightforward. Grab the lastactivity for each user in the thread ($post) and grab the variable set in vboptions that defines the Active Members Time Cut-Off (activememberdays). Then, for each post that is spit out, compare the lastactivity time to the time now and if that time is less than the time defined in vboptions->activememberdays, then they are active. If not, they are inactive.
|