WHMCS ChrisD Posted September 3, 2017 Share Posted September 3, 2017 Hi everyone, I'm wondering if there is an easy way to remove the "Message" below from some users in the Staff Directory? For certain people on the list I'm not wanting to show the message list. Thanks for any advise Chris Link to comment Share on other sites More sharing options...
Fosters Posted September 3, 2017 Share Posted September 3, 2017 You could create a custom staff directory template or edit the layout_block template https://invisioncommunity.com/4guides/themes-and-customizations/advanced-theming/using-the-template-editor-r125/ and remove {{if !member.members_disable_pm AND !$user->member()->members_disable_pm AND \IPS\Member::loggedIn()->member_id AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}} <br> <a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$user->member()->member_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-forceReload data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}"><i class='fa fa-envelope'></i> {lang="message_send"}</a> {{endif}} Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted September 3, 2017 Author Share Posted September 3, 2017 Thanks Fosters! I'll give that a whirl Link to comment Share on other sites More sharing options...
newbie LAC Posted September 6, 2017 Share Posted September 6, 2017 Hello, Simple css div[class*="cStaffDirectory"] [href*="/compose/?to=49"], div[class*="cStaffDirectory"] [href*="/compose/?to=62"] { display: none; } Before After Change 49 and 62 on users IDs Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.