You'll have to use two routines in "topic.asp", one for original posts and one for replies.
For topics, look for the following line (appx 770):
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Member_Posts & " Posts</small></font></p></td>" & vbNewLine & _
Change it to say:
strSql = "SELECT COUNT(T_AUTHOR) AS CNT FROM " & strTablePrefix & "TOPICS WHERE T_AUTHOR="&TMEMBER_ID
set rsCount = Server.CreateObject("ADODB.Recordset")
rsCount.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText
intTotalPosts=rsCount("CNT")
rsCount.close
set rsCount=Nothing
strSql = "SELECT COUNT(R_AUTHOR) AS CNT FROM " & strTablePrefix & "REPLY WHERE R_AUTHOR="&TMEMBER_ID
set rsCount = Server.CreateObject("ADODB.Recordset")
rsCount.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText
intTotalReplies=rsCount("CNT")
rsCount.close
set rsCount=Nothing
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & IntTotalPosts & " Posts<br>" & IntTotalReplies & " Replies</small></font></p></td>" & vbNewLine & _
For replies, look for the following line (appx 565):
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberPosts & " Posts</small></font></p></td>" & vbNewLine & _
Change it to say:
strSql = "SELECT COUNT(T_AUTHOR) AS CNT FROM " & strTablePrefix & "TOPICS WHERE T_AUTHOR="&Reply_MemberID
set rsCount = Server.CreateObject("ADODB.Recordset")
rsCount.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText
intTotalPosts=rsCount("CNT")
rsCount.close
set rsCount=Nothing
strSql = "SELECT COUNT(R_AUTHOR) AS CNT FROM " & strTablePrefix & "REPLY WHERE R_AUTHOR="&Reply_MemberID
set rsCount = Server.CreateObject("ADODB.Recordset")
rsCount.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText
intTotalReplies=rsCount("CNT")
rsCount.close
set rsCount=Nothing
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & IntTotalPosts & " Posts<br>" & IntTotalReplies & " Replies</small></font></p></td>" & vbNewLine & _
Note: If you're using the active members' mod, the closing /td will not be present on the Response Write lines.