Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
Hello,

I have an UBB 6.7.2. All is fine on all forums exept 1 forum wich display only 8 topics pages.

When i create a new message, oldest message is hide. Configuration is "Show all topics" for all members.

What is the problem ?

Thanks.

Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
Please post the URL to your board and to the problematic areas. Moving this off to Post Installation Troubleshooting, as this is not likely to be a bug.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Anonymous
Unregistered
Anonymous
Unregistered
Hello,

The problem is in this forum. Thanks.

Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
It looks like almost the entire first page is composed of sticky topics. Stickies are counted against the post count for the purpose of cutting things off. Unstick a few of those to show more topics on the first page.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Apr 2004
Posts: 141
O
member
member
O Offline
Joined: Apr 2004
Posts: 141
Charles,

http://forums.motorlegend.com/cgi-local/ubbcgi//ultimatebb.cgi/forum/9/1000/400.html?

I think the problem is actually in the pagination script. There should be a 9th page, but it isn't shown

Anonymous
Unregistered
Anonymous
Unregistered
Charles without sticky, all is fine, thanks.
So Ian is right, is it a bug ?

Joined: Apr 2004
Posts: 141
O
member
member
O Offline
Joined: Apr 2004
Posts: 141
CC, I think I found the problem

Code
	foreach(@stickies) { delete $forum_topics{$_}; }

	# delete topics older than DaysPrune
	$count = 0;
	while (($key, $value) = each(%forum_topics)) {
		if(($value >= $DPJulian) or ($this_forum[15] eq "abc")) {
			$count++;
		} else {
			delete($forum_topics{$key});
		}
	}
The counting of topics doesn't include any stuck topic. Therefore, if there's 500 threads, and 250 are stuck (I know it's a lot, but to prove a point), then the count is only 250. This means only 13 pages, even though there are enough topics for 25

Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
Aha! Yes, that is a bug. Moving this back down to bugs. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Interim solution: Unstick everything but a handful or so.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
How to add embed video function for Youtube ?
by ShiftKnowledge - 11/11/2025 12:44 AM
Forum time/date setting
by Conrad - 11/10/2025 2:03 PM
Icon Images Look Blurry
by ShiftKnowledge - 11/09/2025 7:01 PM
Who's Online observation
by Morgan - 11/09/2025 4:38 AM
How do I locate the database error?
by Conrad - 11/08/2025 9:03 AM
Who's Online Now
3 members (Gizmo, ShiftKnowledge, Conrad), 20,329 guests, and 517 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
test
test
by Gizmo, August 20
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20250209)