News:

Wondering if this will always be free?  See why free is better.

Main Menu

What is $modSettings['maxMsgID'] used for?

Started by RRasco, November 08, 2007, 05:31:48 PM

Previous topic - Next topic

RRasco

What is this setting used for?  I have searched and any question pertaining this has always gone unanswered.  More importantly, where is it set?
Vehicle Management System for SMF - SMFGarage.com

codenaught

It's not a setting. It stores the highest message ID of your forum, mainly so it doesn't have to be calculated on the fly each time it is used.
Dev Consultant
Former SMF Doc Coordinator

RRasco

Thanks.  MKPortal uses this to restrict the topics that can be displayed as news.  Which IMO is dumb as all get out, but whatever, I can fix it.  Thanks again ak.

WHERE m.ID_MSG = t.ID_FIRST_MSG
    AND m.ID_MSG >= " . max(0, $modSettings['maxMsgID'] - 200 * $limit) . "
Vehicle Management System for SMF - SMFGarage.com

Advertisement: