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
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Post Counts zeroed out
by Baldeagle - 11/03/2024 3:05 PM
Who's Online Now
0 members (), 1,875 guests, and 47 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.1
(Snapshot build 20240918)