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.:
123<div class="block"><div class="title">Private Messages</div><a href="http://yoursite.com/admincp/mail/private/">View Private Messages</a> </div>
- Submit when done.
The view below was before I added some styling to the block code.
View of the block after it’s done: