Page 1 of 1

Maximum number of posts displayed on the first page

Posted: Sun Jul 23, 2006 12:44 pm
by dirko
Script URL: www.pagina.hu/ "prikbord"
Version of script: 1.22
Version of PHP: 4+
Hosting company: owned ARH-fBSD
Have you searched THIS FORUM for your problem: yes

If so, what terms did you try: max msgeges/page

Write your message below:

// Maximum number of posts displayed on the first page
$settings['maxposts']=15;

Any change in this amount doesnt work: all msge remain visible on one long page...

Would there be any solution/change in script possible. ??
dirko

Posted: Mon Jul 24, 2006 9:59 am
by Klemen
This should be set before using MBoard, if you LOWER it in the middle of use it should take a while to clean old entries reach that number.

You can however delete them manually from threads.txt, find the post number of the post you want to delete everything from, open threads.txt and delete everthing after (including) line
<!--z POST NUMBER-->

For example if you want to delete post number 49 and everything below that post delete everything after line
<!--z 49-->

You should keep a number of posts bigger than 15 though.