MyBB Community Forums
[F] Displaying search results as posts for moderators [R] [C-StefanT] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.6 (https://community.mybb.com/forum-116.html)
+------ Thread: [F] Displaying search results as posts for moderators [R] [C-StefanT] (/thread-48668.html)



[F] Displaying search results as posts for moderators [R] [C-StefanT] - koziolek - 2009-04-22

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.


RE: Displaying search results as posts for moderators - capsicum - 2009-04-22

Thanks for the solution. Smile


RE: Displaying search results as posts for moderators - Ryan Gordon - 2009-04-22

Patch seems fine to me. A MyBB developer can apply the patch and commit it.


[F] Displaying search results as posts for moderators [R] - Tomm M - 2009-05-13

Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group