Skip to:
Content
Pages
Categories
Search
Top
Bottom

On BuddyPress 1.2.6, the member page has two add friend buttons…


  • Raymond
    Participant

    @twinfinity

    The member page of BuddyPress 1.2.6 has two add/ cancel friend buttons.
    The code of members-loop.php looks like this:
    `…<?php
    /***
    * If you want to show specific profile fields here you can,
    * but it’ll add an extra query for each member in the loop
    * (only one regadless of the number of fields you show):
    *
    * bp_member_profile_data( ‘field=the field name’ );
    */
    ?>

    …`

    To correct this I removed ` ` from the div class=action.
    Everything works as it is suppose to, but I am wondering if I removed the right one or does it matter ? Both button did the same thing…

    Thanks

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

  • Nahum
    Participant

    @nahummadrid

    I think you removed the wrong one. Look at the original file in the bp default theme to compare.


    Raymond
    Participant

    @twinfinity

    BuddyPress 1.2.5.2 had both
    `

    `
    as well, but didn’t show two add/cancel friend buttons stack on top of each other for each member on the list.
    Why would the new version ( 1.2.6 ) do this ? Any ideas ?

    No you removed the wrong one!

    The reason 1.2.5.2 didn’t show the issue was that it didn’t change until 1.2.6. The button is rendered via the do_action now but both still will work thus the duplicates.

    There were a few threads on this in the last couple of days so please check the forum posts first in case issues have been covered.


    Raymond
    Participant

    @twinfinity

    @hnla Okay, thank you. I called myself searching for anything regarding the two buttons and coming up with nothing by way of the search. This is why I posted. I am support for two web hosting forums, I understand very well to search first… Sorry for my search’s failure. Perhaps I made the wrong query…


    Raymond
    Participant

    @twinfinity

    @hnla
    Btw… here is a search example:

    Support Topics Matching “two buttons on member list”

    Sorry, no support topics matched your search.
    Members Matching “two buttons on member list”

    Sorry, no members matched your search.
    Groups Matching “two buttons on member list”

    Sorry, no groups matched your search.

    And here is another search:

    Support Topics Matching “two add friends buttons on member list”

    Sorry, no support topics matched your search.
    Members Matching “two add friends buttons on member list”

    Sorry, no members matched your search.
    Groups Matching “two add friends buttons on member list”

    Sorry, no groups matched your search.

    And even another search:

    Support Topics Matching “two add friend buttons on member page”

    Topic 1 to 1 (of 1)
    On BuddyPress 1.2.6, the member page has two add friend buttons…
    Latest by Twinfinity · 5 minutes ago
    Members Matching “two add friend buttons on member page”

    Sorry, no members matched your search.
    Groups Matching “two add friend buttons on member page”

    Sorry, no groups matched your search.

    Might you direct me to a thread concerning this ? The search comes up empty… Thanks


    r-a-y
    Keymaster

    @r-a-y

    @twinfinity I am support for two web hosting forums, I understand very well to search first

    Thanks for trying, and apologies on behalf of the site search for not returning you any useful results – site search does need a bit of tuning :)

    I tend to search on more general broad terms due to this, I used ‘duplicate’ and it returned, as first reply, the post Ray linked to.


    mayankj
    Participant

    @mayankj

    some buddy give code for add add friend on forum page

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘On BuddyPress 1.2.6, the member page has two add friend buttons…’ is closed to new replies.
Skip to toolbar