Forum: Feature Requests

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Feature Requests premium extension please open a new premium support ticket.

[Resolved]Hide full adress

Forums Feature Requests Hide full adress

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #49626
    Argosy
    Member

    Hi,

    I would like to be able to hide the exact address in the profil page of “BuddyPress” and in the research page.
    I just want to show the city and the country. No the number and the street to protect the private life of my members.

    Is it possible ? How can i do it ?

    Thank you,

    Argosy

    #49858

    HI Argosy,
    I apologize for missing out your post.

    It is possible using filters provided by the plugin. If you know your way around PHP and WordPress filters I can tell you which filters you could use.

    let me know.

    #49944

    This topic marked “Resolved” due to inactivity. If you wish to reply to this topic please change its status to “Not resolved”  before replying.

    #49956
    Argosy
    Member

    Hi again,

    We tried to use the filter provided by the plugin (the “City” filter) but it didn’t work. We know a little about PHP and can change the code. Can you tell us which filter use to hide the beginning of the adress ?
    Please find attached a screenshot of the research.
    Thank you very much,

    Argosy

    Attachments:
    You must be logged in to view attached files.
    #49984

    Hi Argosy,
    Try the script below. Add it to the functions.php file of the theme:

    Let me know if that helps.

    #50087

    This topic marked “Resolved” due to inactivity. If you wish to reply to this topic please change its status to “Not resolved”  before replying.

    #50100
    Argosy
    Member

    Hi,

    Everything works fine !
    Thank you very much,

    Argosy

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.