Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#247060 - 11/27/11 07:36 PM No post displayed in threaded mode
arentzen Offline
journeyman
Registered: 10/01/06
Posts: 75
Loc: Sunny island, Denmark
Hej

I got a request from one of my users today. No post is displayed when switching from flat to threaded mode when you're not logged in and are not at the first page in topic display and there is more than 10 posts in the thread.

It seems to be the same issue here at ubbcentral when using default settings: 25 topics per page and 10 posts per page. Take a look at these threads and switch from flat to threaded mode as a anonymos user.

Is it a bug or do i miss something in the Control panel?
http://www.ubbcentral.com/forums/ubbthreads.php/posts/3287

http://www.ubbcentral.com/forums/ubbthreads.php/posts/169695
_________________________

www.trosfrihed.dk

Custom Ubb 7.5.2
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#247085 - 11/30/11 10:38 AM Re: No post displayed in threaded mode [Re: arentzen]
arentzen Offline
journeyman
Registered: 10/01/06
Posts: 75
Loc: Sunny island, Denmark
Here's a screendump from ubbcentral to show what I mean.



It seems to be a small bug in /scripts/showflat.inc.php

Find 1/3 down the page this codesnippet in /scripts/showflat.inc.php
Php Code:
if (!$page) { $page = 1; }
		
	if ($gonew && !$nt) {
		$nt = $page;
	}
  


Edit code to:
Php Code:
if (!$page || $mode == "showthreaded") { $page = 1; }
	//if (!$page) { $page = 1; }
	
	if ($gonew && !$nt) {
		$nt = $page;
	}
  


All topics might be displayed in threaded mode (if enabled in CP)
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image