• Welcome to Simple Machines Community Forum. Please login or sign up.
January 19, 2022, 09:59:03 PM

News:

SMF 2.0.19 has been released! Please update. Read more.


Displaying only one Category

Started by RicochetPeter, January 14, 2005, 06:26:12 AM

Previous topic - Next topic

eyo

anyone know how to do this in 2.0?

live627

Code (Find in ./Sources/Subs-BoardIndex.php) Select
WHERE {query_see_board}'

Code (Replace the above with) Select
WHERE {query_see_board}' . ($boardIndexOptions['include_categories'] && isset($_REQUEST['catogid']) ? "
AND c.ID_CAT = {$_REQUEST['catogid']}" : '')

Advertisement: