2009-04-22, 07:15 AM
MyBB 1.4.5
When moderator searches for users posts he will not see any posts from forums he do not moderate. It's because SELECT statement in search.php in block "Check the thread records as well. If we don't have permissions, remove them from the listing." which removes posts from the list.
For normal users this query removes not-visible posts, but for moderator it removes (not-visible posts OR posts in not moderated forums).
I attach a patch.
When moderator searches for users posts he will not see any posts from forums he do not moderate. It's because SELECT statement in search.php in block "Check the thread records as well. If we don't have permissions, remove them from the listing." which removes posts from the list.
For normal users this query removes not-visible posts, but for moderator it removes (not-visible posts OR posts in not moderated forums).
I attach a patch.
www.kozik.net.pl
- So... Maybe you shouldn't have hacked it.
- And why don't you try not breathing. Hurts, dunnit. (userfriendly.org)
- So... Maybe you shouldn't have hacked it.
- And why don't you try not breathing. Hurts, dunnit. (userfriendly.org)