In my original forum.asp file there is a piece of code I am uncertain of how to alter
'## Forum_SQL - Get all topics from DB
strSql ="SELECT " & strActivePrefix & "TOPICS.T_STATUS, "
strSql = strSql & strActivePrefix & "TOPICS.CAT_ID, "
strSql = strSql & strActivePrefix & "TOPICS.FORUM_ID, "
strSql = strSql & strActivePrefix & "TOPICS.TOPIC_ID, "
strSql = strSql & strActivePrefix & "TOPICS.T_VIEW_COUNT, " & strActivePrefix & "TOPICS.T_ISPOLL, "
strSql = strSql & strActivePrefix & "TOPICS.T_SUBJECT, "
strSql = strSql & strActivePrefix & "TOPICS.T_AUTHOR, "
strSql = strSql & strActivePrefix & "TOPICS.T_REPLIES, "
strSql = strSql & strActivePrefix & "TOPICS.T_LAST_POST, "
strSql = strSql & strActivePrefix & "TOPICS.T_LAST_POST_AUTHOR, "
strSql = strSql & strActivePrefix & "TOPICS.T_MSGICON, "
strSql = strSql & strMemberTablePrefix & "MEMBERS.M_NAME, "
strSql = strSql & "MEMBERS_1.M_NAME AS LAST_POST_AUTHOR_NAME "
The red code is the line added from the Poll MOD. But in the Poll Mod file this piece of code is like this:
'## Forum_SQL - Get all topics from DB
strSql ="SELECT " & strActivePrefix & "TOPICS.T_STATUS, " & strActivePrefix & "TOPICS.CAT_ID, "
strSql = strSql & strActivePrefix & "TOPICS.FORUM_ID, " & strActivePrefix & "TOPICS.TOPIC_ID, "
' ############## Poll Mod - Modified next line ############
strSql = strSql & strActivePrefix & "TOPICS.T_VIEW_COUNT, " & strActivePrefix & "TOPICS.T_SUBJECT, " & strActivePrefix & "TOPICS.T_ISPOLL, "
strSql = strSql & strActivePrefix & "TOPICS.T_AUTHOR, "
strSql = strSql & strActivePrefix & "TOPICS.T_REPLIES, " & strActivePrefix & "TOPICS.T_LAST_POST, "
strSql = strSql & strActivePrefix & "TOPICS.T_LAST_POST_AUTHOR, "
strSql = strSql & strMemberTablePrefix & "MEMBERS.M_NAME, "
strSql = strSql & "MEMBERS_1.M_NAME AS LAST_POST_AUTHOR_NAME "
Is there any difference?