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: Locked Forum, Cats + Member Options
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Nathan
Help Moderator

USA
7664 Posts

Posted - 18 March 2002 :  02:41:16  Show Profile  Visit Nathan's Homepage
There are some member options icons in locked forums and locked cats that shouldn't be there. . . they just lead to error messages.



Error #1 is in the ForumMemberOptions subrouteen. Fix is in red.

sub ForumMemberOptions()
if Cat_Status <> 0 AND Forum_Status <> 0 then 'Dont show if Cat or Forum is locked
%>
<a href="post.asp?method=Topic&FORUM_ID=<% =Forum_ID%>&CAT_ID=<% =Cat_ID%>&Forum_Title=<% =ChkString(Forum_Subject,"JSurlpath") %>"><img src="icon_folder_new_topic.gif" alt="New Topic" height=15 width=15 border=0></a>
<%
else
Response.write "&nbsp;"
end if

' DEM --> Start of Code added to handle subscription processing.
if (strSubscription < 4 and strSubscription > 0) and (Cat_Subscription > 0) and Forum_Subscription > 0 then
CheckSubscription "FORUMNOTEXT", MemberID, Cat_ID, Forum_ID, 0, "", ""
end if
end sub


Errors #2 and #3 are in the TopicMemberOptions subrouteen. Fix is in red

sub TopicMemberOptions() 
if Cat_Status <> 0 and Forum_Status <> 0 then 'Dont show if Cat or Forum is locked
if ((Topic_Status > 0 and rs("T_AUTHOR") = MemberID) or (AdminAllowed = 1)) and ArchiveView = "" then
%>
<a href="post.asp?<%= ArchiveLink %>method=EditTopic&TOPIC_ID=<% =Topic_ID %>&FORUM_ID=<% =Forum_ID %>&CAT_ID=<% =Cat_ID %>&auth=<% =ChkString(rs("T_AUTHOR"),"urlpath") %>&Forum_Title=<% =ChkString(Forum_Subject,"urlpath") %>&Topic_Title=<% =ChkString(rs("T_SUBJECT"),"urlpath") %>"><img src="icon_pencil.gif" alt="Edit Message" border="0" hspace="0"></a>
<%
end if
if Topic_Status <= 1 and ArchiveView = "" then
%>
<a href="post.asp?<%= ArchiveLink %>method=Reply&TOPIC_ID=<% =Topic_ID %>&FORUM_ID=<% =Forum_ID %>&CAT_ID=<% =Cat_ID %>&Topic_Title=<% =ChkString(rs("T_SUBJECT"),"urlpath") %>&Forum_Title=<% =ChkString(Forum_Subject,"urlpath") %>"><img src="icon_reply_topic.gif" alt="Reply to Topic" height=15 width=15 border=0></a>
<% end if
else
Response.write "&nbsp;"
end if

' DEM --> Start of Code added to handle subscription processing.
if (strSubscription < 4 and strSubscription > 0) and (Cat_Subscription > 0) and Forum_Subscription > 0 then
CheckSubscription "TOPICNOTEXT", MemberID, Cat_ID, Forum_ID, Topic_ID, "", ""
end if
' DEM --> End of code added to handle subscription processing.

end sub


The reason for the non-breaking spaces is to prevent 'black cells' in netscape and IE-Mac

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

Snitz Exchange | Do's and Dont's


Edited by - Davio on 18 March 2002 05:31:46

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 March 2002 :  04:51:37  Show Profile
fixed in v3.4

also addressed this problem in default.asp & active.asp
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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07