BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 5
    Josh on #55082

    Its hardcoded in html so how can I achieve that with CSS???

    My solution was: I copied the template to my child theme and just deleted the @ sign at the code.

  • Participant
    Level: Initiated
    Posts: 5
    Josh on #55046

    What about this solution?
    First, identify the members loop template and delete everything. Instead implement a redirect if someone calls this page.
    Second, delete all linking from the xprofile fields to the members directory.

    But you are right, maybe the easiest way is to use the basic members directory and inject Andrea’s search form into it. But this only works when classic plugin is active. Otherwise I cant chose my “sidebar”-template within the WP editor for that page.

  • Participant
    Level: Initiated
    Posts: 5
    Josh on #54475

    For the last 3 buttons I made it work with using the translating file to add the tag. But for the first button it is difficult cause this button also uses the same translation for presenting the title tooltip. So if someone hovers over the button he sees <span class=….</span> which is not good.

    I tried to solve this via jquery to prevent the buttom from showing the title but cant make it work. If buddypress wouldn’t use the same text for this button on the button and the title it would be much easier.

    So I have to stay with overwriting the core bp-friends-template file for now :-((

    In case you have a solution for the first button I would be happy to hear it!

  • Participant
    Level: Initiated
    Posts: 5
    Josh on #54457

    Thanks for your answer!!

    I need some more information about your first suggestion. Do you mean put the span tag in a translation file? As far as I know html tags will be stripped off when using them in Poedit?

    Did you mean that or something different?

  • Participant
    Level: Initiated
    Posts: 5
    Josh on #54002

    I found the 4 files where I can make my changes. It is bp-friends-template, bp-activity-template, bp-messages-template and class-bp-toolkit-block.

    Regarding the first 3 templates. Will they be overwritten on next buddypress update? And how can I protect them?
    Copying those files to the child theme does not work regarding to this post: https://buddypress.org/support/topic/copy-buddypress-files-into-child-theme/.