AdminCP View Private Messages phpFox V4

In phpFox version 4, the old feature to view private messages is removed from the AdminCP and makes it a bit harder to manage the site if you get complaints about stalking, pm spamming, etc. Here is how to add the feature back and no core edits are needed for this.

Go to AdminCP >> Blocks and click Add Block

Title: View private messages (or have it what you want)

Type: HTML Code

Controller: AdminCP.index

Placement: Block 1

Code (change the “yoursite.com” to the url to your site) You can hover over the code below to expand it and copy to clipboard.: