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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Exchange Page drop down selection with numberurls
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaGraham
Senior Member

USA
1297 Posts

Posted - 22 July 2012 :  01:28:27  Show Profile  Reply with Quote
I am trying to get the "Exchange Page drop down selection with numberurls Mod" to work but I am not having any luck.

I am not getting any errors; it's just not doing anything at all for me.

Any suggestions?

Here's my forum.asp in txt format:



forum.asp in txt forum



"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley

Edited by - MaGraham on 24 July 2012 17:41:32

MaGraham
Senior Member

USA
1297 Posts

Posted - 24 July 2012 :  17:40:54  Show Profile


I really wanted this to work for one reason. I have a member who is an 81-year-old lady and the most GODLY saint you could ever hope to know. . .she's a widow. . .and she's legally blind. She has a reading program on her computer called JAWS she refers to as her little man that reads to her. If she doesn't highlight things on a website, her little man reads EVERYTHING. Very annoying, to say the list. She says she has a little peep whole she can see out of and with the help of a magnifier and increasing the zoom level, she can see enough to select different areas on a website so her little man can read it for her.

She can not, however, see to click on the drop-down little arrow to select a different page number and even if she could, I doubt her little man could read those numbers. True, there are worse things in life and she really is extremely thankful that she was familiar with a computer before she developed macular degeneration to the degree of being all but blind. . .or ever being able to get online and do what she does would most likely be hopeless.

And no, she doesn't complain about the drop-down numbers; it was just something she posted one day that brought it to my attention.

So yes, we can live without this. . .but it sure would give me great joy to be able to have the page numbers so her little man could read them for her. She participates on an extremely long thread and this would simply make that much easier for her. At her age, and being a widow with all of her health problems, that's not much else she can do each day. And what she does is to get online and encourage everyone!

So, if anyone has any suggestions as to what might make this mod work, I'm willing to try it! :)




"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 24 July 2012 :  20:05:53  Show Profile
Installation is very simple, nothing to go wrong there. You didn't keep and rename the old routine, but that shouldn't matter.
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 24 July 2012 :  22:16:51  Show Profile

Well, what could be making it not work, Carefree?


This is a screen shot of the drop-down menu for the numbers which shouldn't be there but rather the page numbers now, correct?







"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley

Edited by - MaGraham on 24 July 2012 22:17:52
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 24 July 2012 :  23:34:56  Show Profile
Well, that's fairly obvious. The instructions are for "forum.asp" and you're looking at "topic.asp"....
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 25 July 2012 :  00:10:20  Show Profile

It displays the same on forum.asp, Carefree.






"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 25 July 2012 :  00:18:02  Show Profile
Not from here.....

For "topic.asp", try this:


sub DropDownPaging(fnum)
	if maxpages > 1 then
		if mypage = "" then
			pge = 1
		else
			pge = mypage
		end if
		Response.Write	"                <td """ & vbNewline
		If fnum = 1 Then Response.Write	"width=""20%""" Else Response.Write	"width=""15%"""
		Response.Write	" bgColor=""" & strHeadCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
		if fnum = 1 then
			Response.Write("                <b>Page:</b> [")
		else
			Response.Write("                <b>Total Pages (" & maxpages &"):</b>[")
		end if
		PagesToShow = 10
		If cLng(pge) > 1 then
			MinPageToShow = cLng(pge) - 1
		Else
			MinPageToShow = 1
		End If
		If cLng(pge) + PagesToShow > maxpages then
			MaxPageToShow = maxpages
		Else
			MaxPageToShow = cLng(pge) + PagesToShow
		End If
		If MaxPageToShow < maxpages then
			ShowMaxPage = True
		Else
			ShowMaxPage = False
		End If
		If MinPageToShow > 1 then
			ShowMinPage = True
		Else
			ShowMinPage = False
		End If
		If ShowMinPage then
			Response.Write "<a href=""topic.asp?whichpage=1&topic_ID=" & topic_ID &"&sortfield=" & strtopicsortfld & "&sortorder=" & strtopicsortord
			Response.Write """> <<First</a>"
		End If
		for counter = MinPageToShow to MaxPageToShow
			if counter <> cLng(pge) then   
				Response.Write " <a href=""topic.asp?whichpage=" & counter & "&topic_ID=" & topic_ID &"&sortfield=" & strtopicsortfld & "&sortorder=" & strtopicsortord
				If ArchiveView = "true" then
					Response.Write "&ARCHIVE=" & ArchiveView
				End If	
				Response.Write """>" & counter & "</a>"
			else
				Response.Write " <b>" & counter & "</b>"
			end if
		next
		If ShowMaxPage then
			Response.Write " <a href=""topic.asp?whichpage=" & maxpages & "&topic_ID=" & topic_ID &"&sortfield=" & strtopicsortfld & "&sortorder=" & strtopicsortord
			Response.Write """> >> Last </a>"
		End If
		Response.Write " ]"
		Response.Write("</font></td>" & vbNewLine)
	end if
end sub
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 25 July 2012 :  00:19:11  Show Profile


But if this mod doesn't change all of the drop-down number menus to page numbers then I don't need this mod, Carefree.

SORRY!!



"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 25 July 2012 :  00:29:17  Show Profile


OH WOW! That worked! :)

But are the numbers supposed to be displayed in this area? I highlighted the numbers before I did the screen shot so it could be seen easier.






Sorry about the previous post. It appears you and I posted about the same time.


"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 25 July 2012 :  00:43:13  Show Profile
Yeah, it's supposed to show on top right and bottom left, slightly different formatting.
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 25 July 2012 :  00:46:00  Show Profile


Okay. Thank you SO MUCH, Carefree!! :)


I Soooo greatly appreciate you!!




"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07