Previous Thread
Next Thread
Print Thread
Hop To
Only 8 topics pages display in 1 forum
#113870 11/29/2004 3:51 AM
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.

Re: Only 8 topics pages display in 1 forum
#113871 11/29/2004 12:51 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Offline
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]
Re: Only 8 topics pages display in 1 forum
#113872 11/30/2004 3:53 AM
Anonymous
Unregistered
Anonymous
Unregistered
Hello,

The problem is in this forum. Thanks.

Re: Only 8 topics pages display in 1 forum
#113873 11/30/2004 2:25 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Offline
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]
Re: Only 8 topics pages display in 1 forum
#113874 11/30/2004 3:39 PM
Joined: Apr 2004
Posts: 141
member
Offline
member
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

Re: Only 8 topics pages display in 1 forum
#113875 12/01/2004 9:59 AM
Anonymous
Unregistered
Anonymous
Unregistered
Charles without sticky, all is fine, thanks.
So Ian is right, is it a bug ?

Re: Only 8 topics pages display in 1 forum
#113876 12/01/2004 12:49 PM
Joined: Apr 2004
Posts: 141
member
Offline
member
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

Re: Only 8 topics pages display in 1 forum
#113877 12/01/2004 1:53 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Offline
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 Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Disaster!!! Files became empty.. Please advise.
by Morgan - 07/27/2020 2:38 PM
Unable to Update Censor List
by BOTCuser - 07/22/2020 9:15 AM
7.7.4 error on rebuilders
by Ruben - 07/21/2020 3:06 PM
[STOCK] UBB.threads Group Image Pack
by isaac - 07/19/2020 9:03 PM
Who's Online Now
1 members (1 invisible), 67 guests, and 63 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 7.7.5
(Snapshot build 20200807)