XF 2.2 can i hide the conversation between member from New profile posts block

mr.firas

Member
hi all

i want to hide the conversation between member from "New profile posts block " in main forum

because all my member reject this idea to show their conversion in forum main page

this lead me to delete block from main

plz can anyone help me to do this as shown below in image

thanks

screenshot-3.png
 

BassMan

Well-known member
Check template whats_new_wrapper and remove this code:

HTML:
    <xf:if is="$xf.visitor.canViewProfilePosts()">
        <a class="{$baseClass} {{ $pageSelected == 'new_profile_post' ? {$selectedClass} : '' }}" href="{{ link('whats-new/profile-posts') }}" rel="nofollow">{{ phrase('new_profile_posts') }}</a>
    </xf:if>
 

mr.firas

Member
Oh, yes, add this to your extra.less template:

Less:
.tabs.tabs--standalone a[href*="/profile-posts/"] {
    display: none;
}

you are don't understand what i want sir
i dont want to remove Address or widget fully
i want to remove the conversation between member from it only
as shown below


screenshot-3.png
 
Top