The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Hi,
Is it possible to reverse the posting order whereby newest post shows first, to save scrolling to bottom of page?<
Is it possible to reverse the posting order whereby newest post shows first, to save scrolling to bottom of page?<
آخرین ویرایش توسط
نوشته شده در
Check snitzbitz.com and see this post http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=42533<
نوشته شده در
I tried your suggestion, but it isn't exactly what I wanted.
I want to sort the Topic.asp pages DESC
should be line 331:
strSql4 = " ORDER BY R.R_DATE ASC"
change to
should be line 331:
strSql4 = " ORDER BY R.R_DATE DESC"
but the initial post is first then the last - which is a bit confusing.<
should be line 331:
strSql4 = " ORDER BY R.R_DATE ASC"
change to
should be line 331:
strSql4 = " ORDER BY R.R_DATE DESC"
but the initial post is first then the last - which is a bit confusing.<
نوشته شده در
Swn-Y-Mor
Did you find a solution to this problem? I made the exact same change to the code before searching for it on the forum. I am getting the same format. The newest post first and then the first post and so on. Please let me know if you fond some answer to this problem. Thanks
Did you find a solution to this problem? I made the exact same change to the code before searching for it on the forum. I am getting the same format. The newest post first and then the first post and so on. Please let me know if you fond some answer to this problem. Thanks
Originally posted by Swn-Y-Mor<
I tried your suggestion, but it isn't exactly what I wanted. I want to sort the Topic.asp pages DESC
should be line 331:
strSql4 = " ORDER BY R.R_DATE ASC"
change to
should be line 331:
strSql4 = " ORDER BY R.R_DATE DESC"
but the initial post is first then the last - which is a bit confusing.
نوشته شده در
You will get the opening post first because of this code :
You need to move it, but I'm not sure where, I would guess ...
- delete the code (above)
- find this code :
- Change it to this :
That MIGHT work, but I didn't test it.<
Code:
if mypage = 1 then
Call GetFirst()
end if
You need to move it, but I'm not sure where, I would guess ...
- delete the code (above)
- find this code :
Code:
if intI = 2 then
intI = 0
end if
next
end if
- Change it to this :
Code:
if intI = 2 then
intI = 0
end if
next
if mypage = maxpages then
Call GetFirst()
end if
end if
That MIGHT work, but I didn't test it.<
نوشته شده در
That does not work because if you have more than one page, it will put the first post on the bottom of the first page only. I'm not sure how to get around that. Any ideas?<
آخرین ویرایش توسط
نوشته شده در
Would a moderator please move this to one of the Mod forums? I think it fits there.<
آخرین ویرایش توسط
نوشته شده در
This hasn't been tested thoroughly, but I replaced the code with this and it seems to work:
As the poster above said, first remove this code:
Then find this code:
Then replace with this code:
Please post your comments. Although this is working for now, I think there is a lot of room here for mistakes.<
As the poster above said, first remove this code:
Code:
if mypage = 1 then
Call GetFirst()
end if
Code:
if intI = 2 then
intI = 0
end if
next
end if
Code:
if intI = 2 then
intI = 0
end if
next
if mypage = maxpages then
Call GetFirst()
end if
end if
if maxpages = "" then
Call GetFirst()
end if
آخرین ویرایش توسط
نوشته شده در
topic moved here from general help, swn-y-mor emailed to let him know :)<
آخرین ویرایش توسط
نوشته شده در
Originally posted by pdrgEmail is sent automatically when the post is moved, so no need for you to send another email
topic moved here from general help, swn-y-mor emailed to let him know :)
Email Member
Message Member
Post Moderation
بارگزاری فایل
If you're having problems uploading, try choosing a smaller image.
پیشنمایش مطلب
Send Topic
Loading...