Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Displaying search results as posts for moderators [R] [C-StefanT]
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.

Attached Files
.diff   mybb-1.4.5-search-mods-only_moderated_forums.diff (Size: 478 bytes / Downloads: 402)
- So... Maybe you shouldn't have hacked it.
- And why don't you try not breathing. Hurts, dunnit. (

Messages In This Thread
[F] Displaying search results as posts for moderators [R] [C-StefanT] - by koziolek - 2009-04-22, 07:15 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)