Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to hide a user IP


  • ZivotsRS
    Participant

    @zivotsrs

    Hi,
    I’m sorry, I do not speak English. Perhaps the you will understand.

    Site users are patients with multiple sclerosis. Anonymity is very important. Therefore, is not good that the are to see their IPs.
    ID can be hide? And if so – how?

    Thanks for any advice.
    Vendulka

    WP 4.1.10
    bbPress 2.5.8
    Web site is currently locked due to adjustments (http://www.takyzijemsvami.eu)

Viewing 6 replies - 1 through 6 (of 6 total)

  • tech55541
    Participant

    @tech55541

    Hello,
    Please use this CSS code.

    #bbpress-forums div.bbp-topic-author a.bbp-author-name, #bbpress-forums div.bbp-reply-author a.bbp-author-name {
    display: none;
    }

    Please let me know if this worked for you.


    ZivotsRS
    Participant

    @zivotsrs

    Hello,
    CSS code I have put, unfortunately visibility IP remained unchanged.

    Hi,
    If I remember well, IP addresses can only be seen by moderators and keymasters.

    Check this thread to see if it helps: https://bbpress.org/forums/topic/how-to-remove-ip-addresses-from-bbpress/

    Pascal.


    tech55541
    Participant

    @tech55541

    Hello,
    If it is the IP address you want to hide, instead use this CSS code.

    span.bbp-author-ip {
      display: none;
    }

    Please let us know if we can help you with anything else. 🙂

    Hi,
    The above CSS would hide it from viewing on screen, but if you want to go a step further, you could add this into your functions.php :
    add_filter( 'bbp_get_author_ip', '__return_empty_string' );
    Pascal.


    Robin W
    Moderator

    @robin-w

    Pascal’s method is better as the ip address is never sent to a PC. With the css code, it is entirely possible for anyone to get hold of the ip address, as it is sent to the PC, and viewable using developer tools.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar