Top X Stats - Permissions for Latest Post
This modification is in the archives.
This is my very first hack. It allows you to set usergroups that will bypass the $excludedforums variable and show all the latest posts, regardless of the forum. This is very useful if you want staff to see new threads in the staff forum on the Top X, but not regular members.
You must have the Top X Stats hack installed first! Open index.php Find: PHP Code:
$excludedforums = "13"; // forums to be excluded from latest threads. Format "0,5,7"
PHP Code:
$privlagedgroups = "1"; //which groups should see everything?
PHP Code:
$excludedforums = "13"; // forums to be excluded from latest threads. Format "0,5,7"
PHP Code:
}
Enjoy! Download No files for download. |