mybb/mybb — pull request #1421 by Sama34 (2014-09-14 08:51:13+00:00)
Title: Fix #1420 Ban page visible even if no allowed to edit ban.

Fix #1420 Ban page visible even if no allowed to edit ban.

- Also adds a ban message bit similar to the away bit.
- Removes one `
` tag from the away bit template.
- Hides "Ban this user in Mod CP" from profile if no allowed to edit.
- Hides "Lift Ban" from the "Add Ban" page.

Downside? One extra query in profiles. That is why I added the new feature. Plugins may also benefit from it.

#1243