XF 2.2 get rid of member

Opus X

Active member
How do I get rid of the member line in the profile and online user page?
I am a member of a XenForo site that this does not show up on, but on my site it does.
I know that they use a different style and I was told by the person I purchased the site from that mine is the basic one with color changes.


Screen Shot 2024-02-02 at 4.50.27 PM.webp

Screen Shot 2024-02-02 at 5.48.43 PM.webp
 
Weird. that is not what the uploaded images look like.

Screen Shot 2024-02-02 at 4.50.27 PM.webp

Screen Shot 2024-02-02 at 5.48.43 PM.webp

This is what they look like. The first images were attached and I did the drag and drop for these.
 

Attachments

  • Screen Shot 2024-02-02 at 5.48.43 PM.webp
    Screen Shot 2024-02-02 at 5.48.43 PM.webp
    9.5 KB · Views: 3
To solve the issue, you can simply put the following CSS code to your extra.less template:

CSS:
[data-template='member_notable'] .contentRow-lesser .userTitle,
.memberTooltip .userTitle {
  display: none !important;
}

Let me know if there are any problems.
 
Thank you.
That took care of the popup window on posts, but did not affect any of the member listing or the users profile pages themselves.
I removed the data-template part and it worked on part of the members listing but not the profile page.

After doing some source code peaking (with the hint you gave) I think this works.
CSS:
[data-template='member_list'] .contentRow-lesser .userTitle,
.memberTooltip .userTitle {
  display: none !important;
}
[data-template='member_view'] .userTitle {
 display: none !important;   
}
[data-template='member_notable'] .userTitle {
 display: none !important;   
}
 
Thank you.
That took care of the popup window on posts, but did not affect any of the member listing or the users profile pages themselves.
I removed the data-template part and it worked on part of the members listing but not the profile page.

After doing some source code peaking (with the hint you gave) I think this works.
CSS:
[data-template='member_list'] .contentRow-lesser .userTitle,
.memberTooltip .userTitle {
  display: none !important;
}
[data-template='member_view'] .userTitle {
 display: none !important;  
}
[data-template='member_notable'] .userTitle {
 display: none !important;  
}
The code works when I test it, so I'm not sure why it doesn't work for you.

I'm glad you solved the problem though.
 
The code works when I test it, so I'm not sure why it doesn't work for you.

I'm glad you solved the problem though.
I think because they call different templates for display?
The code you gave worked fine for the most messages if I remember.
But they did not work for registered members or the actual profile display page itself which appear to be different templates. And I think your code is template specific?
But your example pointed me where to look at for some further hints using the page source and search.
 
Top Bottom