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
 Page Numbers for Topics Not Working Properly
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaGraham
Senior Member

USA
1297 Posts

Posted - 17 January 2013 :  21:12:31  Show Profile  Reply with Quote

Someone gave me a "Page Numbers for Topics" mod a while back. It works great where the numbers are on the top of the list of topics but the numbers at the bottom take you back to the default.asp when clicked on.

Here's a copy of my inc_func_common.asp below. Any help will be greatly appreciated!


inc_func_common.asp in txt format.

"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 17 January 2013 23:17:00

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 15 February 2013 :  16:27:55  Show Profile
Just saw this one. The issue is more probably in "topic.asp" than in "inc_func_common.asp", look for the "DropDownPaging" sub-routine.
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 17 February 2013 :  07:27:40  Show Profile

I could not detect the problem in my topic.asp, Carefree.

I'll share a link to my topic.asp if you feel up to looking at it. If not, perhaps someone else might have time.

topic.asp in txt format


Thank 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

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 01 March 2013 :  05:27:05  Show Profile
The obvious errors are due to capitalization. There are several links which include the string value ("topic_ID") which must be in all capital letters. There are others scattered in the file which must also be fixed, but these are the ones pertaining to your issue.


Line 1641:

            Response.Write "<a href=""topic.asp?whichpage=1&TOPIC_ID=" & topic_ID &"&sortfield=" & strtopicsortfld & "&sortorder=" & strtopicsortord

Line 1646:

                Response.Write " <a style=""color:white;"" href=""topic.asp?whichpage=" & counter & "&TOPIC_ID=" & topic_ID &"&sortfield=" & strtopicsortfld & "&sortorder=" & strtopicsortord

Line 1656:

            Response.Write " <a style=""color:white;"" href=""topic.asp?whichpage=" & maxpages & "&TOPIC_ID=" & topic_ID &"&sortfield=" & strtopicsortfld & "&sortorder=" & strtopicsortord

Edited by - Carefree on 01 March 2013 09:11:50
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 03 March 2013 :  21:30:16  Show Profile

Well, that seems like an easy fix!

Thank you so much, 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
  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.89 seconds. Powered By: Snitz Forums 2000 Version 3.4.07