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 (Closed)
 (v3.4.03) BUG+FIX: moderate.asp
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 05 November 2002 :  20:16:06  Show Profile
There are a few bugs in the moderate.asp file:

on lines #42 - #44 find the following:

Dim HasHigherSub
Dim HeldFound, UnApprovedFound, UnModeratedPosts, UnModeratedFPosts
HasHigherSub = false

delete lines #42 & #44 so it now looks like this:

Dim HeldFound, UnApprovedFound, UnModeratedPosts, UnModeratedFPosts


on line #49 find the following and delete it:

<!--#INCLUDE FILE="inc_subscription.asp" -->


on lines #206 - #207 find the following:

		"          " & getCurrentIcon(strIconBar,"","align=""absmiddle""") & getCurrentIcon(strIconFolderOpen,"","align=""absmiddle""") & " <a href=""search.asp"">Search Form</a><br />" & vbNewLine & _
		"          " & getCurrentIcon(strIconBlank,"","align=""absmiddle""") & getCurrentIcon(strIconBar,"","align=""absmiddle""") & getCurrentIcon(strIconFolderOpenTopic,"","align=""absmiddle""") & " Unmoderated Posts</font></td>" & vbNewline & _

replace both lines with this line:

		"          " & getCurrentIcon(strIconBar,"","align=""absmiddle""") & getCurrentIcon(strIconFolderOpenTopic,"","align=""absmiddle""") & " <a href=""moderate.asp"">Unmoderated Posts</a></font></td>" & vbNewLine & _


on lines #494 - #531 find the sub DropDownPaging(fnum) and replace the whole thing with this one:

sub DropDownPaging(fnum)
	if maxpages > 1 then
		if mypage = "" then
			pge = 1
		else
			pge = mypage
		end if
		Response.Write	"          <form name=""PageNum" & fnum & """ action=""moderate.asp"" method=""post"">" & vbNewLine
		Response.Write	"          <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
		if strArchiveState = "1" and ArchiveView = "true" then Response.Write("          <input name=""ARCHIVE"" type=""hidden"" value=""" & ArchiveView & """>" & vbNewLine)
		if fnum = 1 then
			Response.Write("          <b>Page: </b><select name=""whichpage"" size=""1"" onchange=""ChangePage(" & fnum & ");"">" & vbNewLine)
		else
			Response.Write("          <b>There are " & maxpages & " Pages of Unmoderated Posts: </b><select name=""whichpage"" size=""1"" onchange=""ChangePage(" & fnum & ");"">" & vbNewLine)
		end if
		for counter = 1 to maxpages
			if counter <> cLng(pge) then
				Response.Write "          	<option value=""" & counter &  """>" & counter & "</option>" & vbNewLine
			else
				Response.Write "          	<option selected value=""" & counter &  """>" & counter & "</option>" & vbNewLine
			end if
		next
		if fnum = 1 then
			Response.Write("          </select><b> of " & maxPages & "</b>" & vbNewLine)
		else
			Response.Write("          </select>" & vbNewLine)
		end if
		Response.Write("          </font></td>" & vbNewLine)
		Response.Write("          </form>" & vbNewLine)
	end if
end sub

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 February 2003 :  10:53:42  Show Profile
Fixed in 3.4.04.

Support Snitz Forums

Edited by - Davio on 07 March 2003 10:47:10
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 13 February 2003 :  12:11:21  Show Profile
quote:
Originally posted by Davio

Fixed in next release.


This wasn't fixed yet. Fixed in v4b04a03...

Stop the WAR!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 February 2003 :  12:46:04  Show Profile
You said you had fixed the links to the official bugs Richard had posted (topic.asp?TOPIC_ID=41507). So I saw this bug in the list you said you fixed and was closing them.

Edit: Ok sorry about that. This had the same exact title of another bug on the fixed bug list. Just noticed the id's were different.

Support Snitz Forums
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 13 February 2003 :  12:56:57  Show Profile
No problem

Stop the WAR!
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07