Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Open)
 v3.3 BUG+FIX: Delete icon / moderation icon
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Nathan
Help Moderator

USA
7664 Posts

Posted - 17 March 2002 :  16:32:50  Show Profile  Visit Nathan's Homepage
Normally you cant have an unmoderated reply to an unmoderated topic, but a little playing with T_STATUS in the database reviels this very small layout bug.



I am thinking that the reply is the correct order. If so, then this is the appropriate fix in topic.asp about line 600

Old Code:
		' DEM --> Start of Code added for Full Moderation
if (AdminAllowed = 1 and Topic_Status > 1) then
TopicString = "TOPIC_ID=" & Topic_ID & "&FORUM_ID=" & Forum_ID & "&CAT_ID=" & Cat_ID
Response.Write "&nbsp;<a href=""JavaScript:openWindow('pop_moderate.asp?" & TopicString & "')""><img src=""icon_folder_moderate.gif"" alt=""Approve/Hold/Reject Topic"" height=15 width=15 border=0></a>" & vbNewline
End if
' End of Code added for Full Moderation
if (AdminAllowed = 1) or (lcase(strNoCookies) = "1") then %>
&nbsp;<a href="JavaScript:openWindow('pop_delete.asp?<%= ArchiveLink %>mode=Topic&TOPIC_ID=<% =Topic_ID %>&FORUM_ID=<% =Forum_ID %>&CAT_ID=<% =Cat_ID %>&Topic_Title=<% =ChkString(Topic_Subject,"JSurlpath") %>')"><img border="0" src="icon_delete_reply.gif" alt="Delete Topic" height=15 width=15 hspace=6></a>
<% end if
Re-ordered Code (Also converted from HTML to vb):
        if (AdminAllowed = 1) or (lcase(strNoCookies) = "1") then
Response.write "&nbsp;<a href=""JavaScript:openWindow('pop_delete.asp?" & ArchiveLink & "mode=Topic&TOPIC_ID=" & Topic_ID & "&FORUM_ID=" & Forum_ID & "&CAT_ID=" & Cat_ID & "&Topic_Title=" & ChkString(Topic_Subject,"JSurlpath") & "')"">" & _
"<img border="0" src="icon_delete_reply.gif" alt="Delete Topic" height=15 width=15 hspace=6></a>" & vbNewLine
end if
if (AdminAllowed = 1 and Topic_Status > 1) then
Response.Write "&nbsp;<a href=""JavaScript:openWindow('pop_moderate.asp?TOPIC_ID=" & Topic_ID & "&FORUM_ID=" & Forum_ID & "&CAT_ID=" & Cat_ID & "')"">" & _
"<img src=""icon_folder_moderate.gif"" alt=""Approve/Hold/Reject Topic"" height=15 width=15 border=0></a>" & vbNewline
End if


  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's


Edited by - Davio on 18 March 2002 05:24:38

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 March 2002 :  04:59:20  Show Profile
fixed in v3.4
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07