Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
In v6.2.1, I've enabled "Reverse Post Listing Order" within [Primary Display Settings].

PROBLEM: After replying to any topic, UBB redirects to the last page in the topic, rather than the first page (since it is the first page that contains the latest replies in a reverse-post-listing-order format). This worked fine, until 6.2.x.

Please fix this in a future release. In the meantime, would anyone happen to have a fix... or at least the code responsible for this so that I can fix? Thanks in advance.

UBB Board: www.elitegold.com/journal
(warning-- this is an "Adult" board)

[This message was edited by Charles Capps on September 05, 2002 at 02:39 PM.]

Anonymous
Unregistered
Anonymous
Unregistered
Fixed in the next release. It's a one line patch if you feel like doing a little code hacking. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Around line 540 of ubb_new_reply.cgi reads:

Code
if($vars_display{HTMLDisplayMax} > 0) {
Replace it with:

Code
if(($vars_display{HTMLDisplayMax} > 0) && ($vars_display{ReverseThreads} eq "FALSE")) {
--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
Thanks, Charles. Worked like a charm!
Awesome Support!
~Paul

Anonymous
Unregistered
Anonymous
Unregistered
Charles, it worked out fine when replying to a post. However, same problem persists when someone EDITS his/her post. Can we fix that too?

Anonymous
Unregistered
Anonymous
Unregistered
Quote
Originally posted by empee3:
Charles, it worked out fine when replying to a post. However, same problem persists when someone EDITS his/her post. Can we fix that too?
Yup... line 543 of ubb_edit_post.cgi... same fix applies <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
Thanks a lot Kitt.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 522 guests, and 99 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)