1
vanchan
Newbb2: how to get posts show from the beginning?
  • 2004/10/12 16:43

  • vanchan

  • Just popping in

  • Posts: 33

  • Since: 2003/8/15


I am looking for a way how to either disable the sort function or to make sure all posts show up in threads. Right now, posts older than 100 days are not displayed unless the user selects "from the beginning" in the sort options. As a result, some threads show up empty at first sight, which makes it look like a bug.
For example:
http://www.apu-boundless.com/modules/newbb/viewforum.php?forum=9

How to get all posts showing? And in fact, how can I just get rid of the whole sort function?

2
smdcom
Re:Newbb2: how to get posts show from the beginning?

have u update the module?

go to admin menu -> system -> modules -> update forum

3
vanchan
Re:Newbb2: how to get posts show from the beginning?
  • 2004/10/12 22:24

  • vanchan

  • Just popping in

  • Posts: 33

  • Since: 2003/8/15


yes, i have. but even if i hadn't, would this make a difference? are you saying that this should not be happening in the first place?

4
ackbarr
Re:Newbb2: how to get posts show from the beginning?

there is no setting to configure this, but with a small hack to the code you can make this happen:

in /modules/newbb/viewforum.php:

change:
$sortsince = !empty($_GET['sortsince']) ? intval($_GET['sortsince']) : 100;

to
$sortsince = !empty($_GET['sortsince']) ? intval($_GET['sortsince']) : [b]1000[/b];

5
vanchan
Re:Newbb2: how to get posts show from the beginning?
  • 2004/10/13 13:16

  • vanchan

  • Just popping in

  • Posts: 33

  • Since: 2003/8/15


ackbarr, thanks a lot for that. exactly the piece of code i was looking for.

hopefully any future release of newbb will include some admin control over the sort function.

Cheers!

Login

Who's Online

151 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 151


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits