Look for the following lines (appx 490-497):
' DEM --> Added code for topic moderation
if Topic_Status = 2 then
UnApprovedFound = "Y"
Response.Write getCurrentIcon(strIconFolderUnmoderated,"Topic Not Moderated","hspace=""0""")
elseif Topic_Status = 3 then
HeldFound = "Y"
Response.Write getCurrentIcon(strIconFolderHold,"Topic on Hold","hspace=""0""")
' DEM --> end of code Added for topic moderation
Below those, insert these:
' ## Contributed Below
elseif intPart = 1 then
Response.Write getCurrentIcon(strIconFolderContributed,"Contributed","hspace=""0""")
' ## Contributed Above
Look for the following lines (appx 477-479):
if AdminAllowed = 1 and Topic_UReplies > 0 then
Topic_Replies = Topic_Replies + Topic_UReplies
end if
Below those, insert these:
' ## Contributed Below
intPart=0
strSqlP="SELECT R_AUTHOR, TOPIC_ID FROM " & strTablePrefix & "REPLY WHERE TOPIC_ID=" & TOPIC_ID & " AND R_AUTHOR=" & MemberID
Set rsPart=my_Conn.Execute(strSqlP)
If not rsPart.EOF Then
intPart=1
rsPart.Close
End If
Set rsPart=Nothing
strSqlP="SELECT T_AUTHOR, TOPIC_ID FROM " & strTablePrefix & "TOPICS WHERE TOPIC_ID=" & TOPIC_ID & " AND T_AUTHOR=" & MemberID
Set rsPart=my_Conn.Execute(strSqlP)
If not rsPart.EOF Then
intPart=1
rsPart.Close
End If
Set rsPart=Nothing
' ## Contributed Above
Look for the following line (appx 64):
Const strIconFolderClosedTopic = "icon_folder_closed_topic.gif|15|15"
Below that, insert these:
' ## Contributed Below
Const strIconFolderContributed = "icon_folder_Contributed.gif|15|15"
' ## Contributed Above
' ## Contributed Below
Response.Write" " & getCurrentIcon(strIconFolderContributed,"Contributed","align=""absmiddle""") & " Topics you have contributed to.<br />" & vbNewLine
' ## Contributed Above
Response.Write " " & getCurrentIcon(strIconFolderLocked,"Locked Topic","align=""absmiddle""") & " Locked topic.<br />" & vbNewLine Response.Write getCurrentIcon(strIconFolderUnmoderated,"Topic Not Moderated","hspace=""0""") & "</a>" & vbNewline
elseif Topic_Status = 3 then
HeldFound = "Y"
Response.Write getCurrentIcon(strIconFolderHold,"Topic on Hold","hspace=""0""") & "</a>" & vbNewline ' DEM --> Added code for topic moderation
if Topic_Status = 2 then
UnApprovedFound = "Y"
Response.Write getCurrentIcon(strIconFolderUnmoderated,"Topic Not Moderated","hspace=""0""")
elseif Topic_Status = 3 then
HeldFound = "Y"
Response.Write getCurrentIcon(strIconFolderHold,"Topic on Hold","hspace=""0""")
' DEM --> end of code Added for topic moderation' ## Contributed Below
elseif intPart = 1 then
Response.Write getCurrentIcon(strIconFolderContributed,"Contributed","hspace=""0""")
' ## Contributed Above if canView then
if ModerateAllowed = "Y" and Topic_UReplies > 0 then
Topic_Replies = Topic_Replies + Topic_UReplies
end if ' ## Contributed Below
intPart=0
strSqlP="SELECT R_AUTHOR, TOPIC_ID FROM " & strTablePrefix & "REPLY WHERE TOPIC_ID=" & TOPIC_ID & " AND R_AUTHOR=" & MemberID
Set rsPart=my_Conn.Execute(strSqlP)
If not rsPart.EOF Then
intPart=1
rsPart.Close
End If
Set rsPart=Nothing
strSqlP="SELECT T_AUTHOR, TOPIC_ID FROM " & strTablePrefix & "TOPICS WHERE TOPIC_ID=" & TOPIC_ID & " AND T_AUTHOR=" & MemberID
Set rsPart=my_Conn.Execute(strSqlP)
If not rsPart.EOF Then
intPart=1
rsPart.Close
End If
Set rsPart=Nothing
' ## Contributed AboveResponse.Write " " & getCurrentIcon(strIconFolderLocked,"Locked Topic","align=""absmiddle""") & " Locked topic.<br />" & vbNewLine ' ## Contributed Below
Response.Write" " & getCurrentIcon(strIconFolderContributed,"Contributed","align=""absmiddle""") & " Topics you have contributed to.<br />" & vbNewLine
' ## Contributed AboveOriginally posted by WebboIsn't that already in your profile
My OCD is now taking over - what about a 'New posts since last logon that you've contributed to' folder purple one with a yellow star![]()
It's late, I'm off to bed![]()