Hide posts from specific member
4 posters
Page 1 of 1
Hide posts from specific member
Hi Ace 1
the below code from you in another topic, it 's working fine to hide posts from specific member but guests still see it , is any way tho hide from guests too .. Thanks
$(function() {
$('a[href="/u1"]').parents("div.post").css("display", "none");
});
u1 is the URL of the user that you want to hide their posts.
the below code from you in another topic, it 's working fine to hide posts from specific member but guests still see it , is any way tho hide from guests too .. Thanks
$(function() {
$('a[href="/u1"]').parents("div.post").css("display", "none");
});
u1 is the URL of the user that you want to hide their posts.
Last edited by TamDonCo on July 18th 2016, 3:37 pm; edited 1 time in total
Re: Hide posts from specific member
Try using this javascript:
I hope it helps you.
- Code:
$(function(){
/////////////////
var username = 'username'; //Edit
/////////////////
$('.postprofile dt').each(function(){
if($(this).text() == username) $(this).closest('.post').remove();
});
});
I hope it helps you.
Re: Hide posts from specific member
@TamDonco you should remove my script because his does the same thing but even with Guests.
Re: Hide posts from specific member
Problem solved & topic archived.
|

» Hide topics from specific member
» Specific Member Option
» Hide sections till a member posts
» hide category + hide popup + pictures for posts
» Hide the sentence "Last edited by..." on specific or all messages
» Specific Member Option
» Hide sections till a member posts
» hide category + hide popup + pictures for posts
» Hide the sentence "Last edited by..." on specific or all messages
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum