UBBCentral

Only 8 topics pages display in 1 forum

Posted By: Anonymous

Only 8 topics pages display in 1 forum - 11/29/2004 7:51 AM

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.
Posted By: David Dreezer

Re: Only 8 topics pages display in 1 forum - 11/29/2004 4:51 PM

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.
Posted By: Anonymous

Re: Only 8 topics pages display in 1 forum - 11/30/2004 7:53 AM

Hello,

The problem is in this forum. Thanks.
Posted By: David Dreezer

Re: Only 8 topics pages display in 1 forum - 11/30/2004 6:25 PM

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.
Posted By: oracleweb

Re: Only 8 topics pages display in 1 forum - 11/30/2004 7:39 PM

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
Posted By: Anonymous

Re: Only 8 topics pages display in 1 forum - 12/01/2004 1:59 PM

Charles without sticky, all is fine, thanks.
So Ian is right, is it a bug ?
Posted By: oracleweb

Re: Only 8 topics pages display in 1 forum - 12/01/2004 4:49 PM

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
Posted By: David Dreezer

Re: Only 8 topics pages display in 1 forum - 12/01/2004 5:53 PM

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.
© 2019 UBB.threads PHP Forum Software Community