Hide posts from specific member Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    Hide posts from specific member

    TamDonCo
    TamDonCo
    Forumember


    Posts : 427
    Reputation : 2
    Language : English

    Solved Hide posts from specific member

    Post by TamDonCo Sun 10 Jul - 4:15

    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.


    Last edited by TamDonCo on Mon 18 Jul - 15:37; edited 1 time in total
    Araik
    Araik
    New Member


    Male Posts : 7
    Reputation : 1
    Language : Spanish
    Location : Argentina

    Solved Re: Hide posts from specific member

    Post by Araik Fri 15 Jul - 3:24

    Try using this javascript:

    Code:
    $(function(){
      /////////////////
      var username = 'username'; //Edit
      /////////////////
      $('.postprofile dt').each(function(){
        if($(this).text() == username) $(this).closest('.post').remove();
      });
    });

    I hope it helps you.
    Ace 1
    Ace 1
    Helper
    Helper


    Male Posts : 843
    Reputation : 64
    Language : English - French?
    Location : Druid Hill Park

    Solved Re: Hide posts from specific member

    Post by Ace 1 Mon 18 Jul - 9:05

    @TamDonCo the script Araik provided should work thumright
    TamDonCo
    TamDonCo
    Forumember


    Posts : 427
    Reputation : 2
    Language : English

    Solved Re: Hide posts from specific member

    Post by TamDonCo Mon 18 Jul - 15:37

    Thank You very much Very good
    Ace 1
    Ace 1
    Helper
    Helper


    Male Posts : 843
    Reputation : 64
    Language : English - French?
    Location : Druid Hill Park

    Solved Re: Hide posts from specific member

    Post by Ace 1 Mon 18 Jul - 15:45

    @TamDonco you should remove my script because his does the same thing but even with Guests.
    TamDonCo
    TamDonCo
    Forumember


    Posts : 427
    Reputation : 2
    Language : English

    Solved Re: Hide posts from specific member

    Post by TamDonCo Mon 18 Jul - 16:25

    OK Ace 1

    Thank you too
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19315
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Hide posts from specific member

    Post by Ape Mon 18 Jul - 18:02

    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules



    Hide posts from specific member Left1212Hide posts from specific member Center11Hide posts from specific member Right112
    Hide posts from specific member Ape_b110
    Hide posts from specific member Ape1010