This topic has 19 replies, 5 voices, and was last updated 8 years by Radu.

  • Author
  • #85899
     Oscar570
    Participant

    Hello,

     

    I’d like to understand why every word in the profile is a link (red color) ???????????

    unintelligible

    What can cause this?

     

    Thanks for your help

    Attachments:
    You must be logged in to view attached files.
    #86012
     Radu
    Moderator

    Hi,

    Most probably because they are links and the links color have color red.

    You you need another color there ? If yes use the CSS from below and replace green with your color code

    COPY CODE
    
    body.bp-user #buddypress .profile dl dd a { color: green !important; }
    

    Cheers

    RAdu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #86163
     Oscar570
    Participant
    This reply has been set as private.
    #86413
     Radu
    Moderator

    Hi,

    They are links because it offers you the possibility to search for certain value in all members directory, in this way works the profile search plugin.

    You cannot remove them, you can just set a certain color.

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #86418
     Oscar570
    Participant

    ok… :-((

    #87418
     thannah
    Participant

    This can be removed. I don’t have links in mine.

    COPY CODE
    function remove_xprofile_links() {
    remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
    }
    add_action( ‘bp_init’, ‘remove_xprofile_links’ );

    It should be added to bp-custom.php

    #87550
     Oscar570
    Participant

    Thanks a lot Thannah ! 🙂

    #87713
     Oscar570
    Participant

    @thannah

    Where must I add the bp-custom.php ? in (kleo-child) or (kleo) folder ?

    #87766
     thannah
    Participant

    wp-content/plugins/bp-custom.php

    #87819
     Oscar570
    Participant

    no change @thannah :-((

    please check the bp-custom.php file in attachment
    Regards

    Nathalie

    #87820
     Oscar570
    Participant
    This reply has been set as private.
    #87912
     thannah
    Participant

    It was a while back when I did this. You may need to google ‘remove buddypress links’ and see what else pops up for you but it can be done.

    #88993
     Cornel
    Moderator

    Hi,

    I would like to know if you solved your problem and if we can mark the topic as resolved?

    Thanks!
    Cornel

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #88994
     Oscar570
    Participant

    sorry but it’s not resolved for me

    #88995
     Cornel
    Moderator

    I’ll ask my colleague Radu to further investigate.

    Cheers!
    Cornel

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #91941
     Andrei
    Moderator

    Hi Oscar, you probably fail to add the code piece correctly, can you please provide ftp account to your site so I can give a look into it ?

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #91947
     Oscar570
    Participant
    This reply has been set as private.
    #91953
     Radu
    Moderator

    Hi @Oscar570,

    Can you check now ?

    Let me know if it works.

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #91971
     Oscar570
    Participant

    Yes I just checked and I think there is a serious problem now . Thank you to bring your attention to what you are doing! Thank you to rectify your code and make sure everything is working properly again.

    Attachments:
    You must be logged in to view attached files.
    #92104
     Radu
    Moderator

    Please check now,

    It should be ok

    The problem was because the functions was loaded twice once from bp-custom.php and another from kleo-child/functions.php, now the functions is loaded only form kleo-child/functions.php

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 20 posts - 1 through 20 (of 20 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?