1
agf8623
Need to change two settings in Newbb forums
  • 2004/8/4 17:31

  • agf8623

  • Just popping in

  • Posts: 59

  • Since: 2004/5/15


Hi, I almost have my XOOPS forums completely set up, but I don't know how to do two things:

1. Make 'Flat' mode the default, not 'Thread' mode.
2. Change the 'Sorted By' date from 'From last 100 days' to 'From the Beginning.

Anyone know how to do this?

Many thanks!!

2
Bender
Re: Need to change two settings in Newbb forums
  • 2004/8/4 19:33

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


1. If you installed and your Default setting was Nested, then Users registered after that will be Default Nested. If you change the Default to Flat, those previous Users will reamin at Nested in their profile and the New Users will be at Flat by Default. (by Lance_)

taken from here:

https://xoops.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=17191&forum=17

2. no idea


3
agf8623
Re: Need to change two settings in Newbb forums
  • 2004/8/4 20:14

  • agf8623

  • Just popping in

  • Posts: 59

  • Since: 2004/5/15


It worked! Thanks!! Now on to the next problem...

4
Raurfang
Re: Need to change two settings in Newbb forums
  • 2004/8/4 20:41

  • Raurfang

  • Just popping in

  • Posts: 7

  • Since: 2003/10/15


Quote:
2. Change the 'Sorted By' date from 'From last 100 days' to 'From the Beginning.


You must edit 'viewforum.php' (located in newbb module dir):
find a line that looks similar to this:
$sortsince = !empty($_GET['sortsince']) ? intval($_GET['sortsince']) : 100;


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


Notice, however, that 'From the beginning' actually means 'from the last 1000 days' - you can change every '1000' in viewforum.php to something bigger, like '5000'

5
mpowell
Re: Need to change two settings in Newbb forums
  • 2005/4/5 21:09

  • mpowell

  • Friend of XOOPS

  • Posts: 119

  • Since: 2004/2/10


Is this recommendation still valid. I seem to be missing something.

Login

Who's Online

193 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 193


more...

Donat-O-Meter

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

Latest GitHub Commits