UltraBB Forums Home 
Home Search search Menu menu Not logged in - Login | Register

Welcome to the UltraBB public support forum! Did you know there is an inexpensive totally integrated gallery available for UltraBB? Read more here: Gallery Details

 Moderated by: Jim
New Topic Reply Printer Friendly
Recent Posts  Rate Topic 
AuthorPost
 Posted: Fri Jan 22nd, 2010 04:13 pm
  PM Quote Reply
1st Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
Is there any way of increasing the number of posts in Recent Posts? People post so quickly that the subjects soon vanish off the few pages that are in Recent Posts. I realise that it seems a bit silly as the posts would hardly be 'recent' in the sense of the word.

Back To Top PM Quote Reply  

 Posted: Fri Jan 22nd, 2010 04:25 pm
  PM Quote Reply
2nd Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Robert wrote: Is there any way of increasing the number of posts in Recent Posts? People post so quickly that the subjects soon vanish off the few pages that are in Recent Posts. I realise that it seems a bit silly as the posts would hardly be 'recent' in the sense of the word.
Hi Bob,

I don't follow that. :?

The recent posts limit is set in days. The default is 7 days, although I seem to remember you changed yours to 3 days. I have mine set on 14 days.

If you get a lot of posts within the time limit, it simply produces more pages of recent posts.

Are you asking to increase the time limit? Or have more posts on each page perhaps?

regards,

Martin.

Back To Top PM Quote Reply

 Posted: Fri Jan 22nd, 2010 05:42 pm
  PM Quote Reply
3rd Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
Hi there Martin,

I'd like the time limit to be 14 days, the same as yours. Unfortunately I have forgotten how to adjust it. I'm pretty sure it was in the Theme but I can't remember where and I don't want to go blundering around.

Is 14 days the limit Martin. I only ask out of curiosity.

Bob

Back To Top PM Quote Reply  

 Posted: Fri Jan 22nd, 2010 06:08 pm
  PM Quote Reply
4th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Robert wrote: I'd like the time limit to be 14 days, the same as yours. Unfortunately I have forgotten how to adjust it.
Hi Bob,

You need to edit the config.php file.

Find this line:

define("RECENT_POST_THRESHOLD", 1209600);


and set the number to whatever you want.

The time limit is in seconds -- 1209600 seconds = 14 days.

Be careful not to change anything else in config.php. It would be safest to download it, save a backup file, and then edit it and upload again.

regards,

Martin.

Back To Top PM Quote Reply

 Posted: Fri Jan 22nd, 2010 06:59 pm
  PM Quote Reply
5th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
Hello Martin,

Just the job thank you and I have changed it OK. No problem so far.

Thanks again.

Bob

Back To Top PM Quote Reply  

Current time is 09:46 am  
UltraBB Forums > UltraBB > Software Assistance > Recent Posts Top



Hosting

UltraBB 1.17 Copyright © 2007-2011 Data 1 Systems, INC.
Page processed in 0.1867 seconds (13% database + 87% PHP). 27 queries executed.