Active member

That makes sense, I think you're right. Since the first post is the topic of the thread it should mimic the functionality.

Adding to this functionality, I thought it would be good if an admin had the ability to move a thread up easily so that it appeared on this "Top Rated" threads list or some other list that could be created.

This would fetch the top 10 "most-liked" threads ($threads) and then filter out the results based on the viewing user's permissions (using the Search model).

There's one catch: the "limit" is applied when fetching the threads, so if a "private" thread is returned, the search model will remove it from the list and you'd end up displaying 9 threads. This is kind-of undesirable, but hey, not as much as displaying that private thread itself.