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.

Express Hosting
Re: Only 8 topics pages display in 1 forum #113871 11/29/2004 12:51 PM
Joined: Jul 2006
Posts: 2,144
David Dreezer Offline
Pooh-Bah
Offline
Pooh-Bah
Joined: Jul 2006
Posts: 2,144
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,144
David Dreezer Offline
Pooh-Bah
Offline
Pooh-Bah
Joined: Jul 2006
Posts: 2,144
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
oracleweb Offline
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
oracleweb Offline
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,144
David Dreezer Offline
Pooh-Bah
Offline
Pooh-Bah
Joined: Jul 2006
Posts: 2,144
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]

Additional Resources
UBB Developers
UBB Wiki
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Strange Merge Issue
by Baldeagle - 08/16/2019 3:37 PM
Formatting Links
by Ty Griffin - 08/13/2019 4:39 PM
Changing from iso-8859-1 to UTF-8?
by Daryl Fawcett - 08/13/2019 9:58 AM
Threaded Mode
by ToddUGA - 08/10/2019 9:18 PM
Who's Online Now
0 registered members (), 46 guests, and 209 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
M4TT
M4TT
Canada, SK
Posts: 87
Joined: March 2015
Show All Member Profiles 
Forum Statistics
Forums34
Topics35,320
Posts192,715
Members11,865
Most Online2,569
Jul 27th, 2019
Random Gallery Image
Latest Photos
The Sky
Land Rocks
Cozy Places
Trees
Powered by UBB.threads™ PHP Forum Software 7.7.3