max messages count
max messages count
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
hi there,
i currently have the max number of messages set to 200.
when that limit is reached does the count go to 201, 202. etc, or start again from 1, 2...
also, the newest topic will still be displayed at the top right?
any help appreciated.
Thanks!
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
hi there,
i currently have the max number of messages set to 200.
when that limit is reached does the count go to 201, 202. etc, or start again from 1, 2...
also, the newest topic will still be displayed at the top right?
any help appreciated.
Thanks!
After that old posts will be deleted (yes, including replies)
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Page Breaks
Hi
Is it possible to have page breaks
i.e
| 1 2 3 4 of 4 | Next Page >>
On the Mboard?
Many thanks for any help!

Is it possible to have page breaks
i.e
| 1 2 3 4 of 4 | Next Page >>
On the Mboard?
Many thanks for any help!

Best Regards
Len
Len
No, MBoard doesn't support that.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Many thanks!
HiKlemen Stirn wrote:No, MBoard doesn't support that.
Ok many thanks for your reply
it's much appreciated!!!

Best Regards
Len
Len
hi again
i was wondering if there's a max count limit on mboard.
i.e. after a certain number of counts, i'll need to reset the count or something, or will it just keep on going up to 10000000, etc
is there a way of recycling the numbers. for exmaple if i get the max msg to 200, is there a way of making the count cycle between 1 and 200, so that what would be msg 201 becomes 1.
thanks
i was wondering if there's a max count limit on mboard.
i.e. after a certain number of counts, i'll need to reset the count or something, or will it just keep on going up to 10000000, etc
is there a way of recycling the numbers. for exmaple if i get the max msg to 200, is there a way of making the count cycle between 1 and 200, so that what would be msg 201 becomes 1.
thanks
No limit regarding how high the ID is.
You can try changing to something like , but I haven't tested it. The above change needs to be made twice inside mboard.php.
You can try changing
Code: Select all
$count++;
Code: Select all
if ($count >= 200) {
$count = 1;
} else {
$count++;
}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Haven't tesed it, but yes it should. And everything else remains the same.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Yes, that should do it.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Told you I haven't tested anything
Try removing this code:
Then in line 340, just below
try adding this:
Again haven't tested this...

Try removing this code:
Code: Select all
/* Delete old posts */
$count -= $settings['maxposts'];
$newfile="msg/".$count.".".$settings['extension'];
if (file_exists($newfile))
{
deleteOld($count,$newfile);
}
Code: Select all
function createNewFile($name,$mail,$subject,$comments,$count,$date,$other="",$up="0") {
global $settings;
Code: Select all
$newfile="msg/".$count.".".$settings['extension'];
if (file_exists($newfile))
{
deleteOld($count,$newfile);
}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools