BuddyDev

Search

Buddypress Featured Members creates conflict with BuddyPress Member Type

  • Participant
    Level: Enlightened
    Posts: 80
    Stephanie on #55272

    Hello,

    I have the plugin BuddyPress Featured Members Version 1.1.5 and WordPress 6.7.2 (developed by BuddyDev), with Buddypress Version 14.3.4, and BP Classic Version 1.4.0.

    I discovered that it causes a conflict with another plugin, Wbcom Designs – BuddyPress Member Type Version 1.3.1 created by WBCom Designs. I know this is a not a BuddyDev plugin, but I am trying to solve a problem and it seems the featured Members plugin is causing it and I would appreciate it if anyone can help me with this.

    The Member Type plugin allows different buddypress member types to be created, and in the buddypress directory, it shows the count for each type, eg 3 Type 1 members, 10 type two members, 12 All members.
    When the Featured Members plugin is activated, this count is wrong, and it shows another tab, the “Featured members” tab, and for me it shows 4, even though there are no featured members. Under the “All Members” tab, it also shows the total number of users registered on the site, including the number of users I try to hide. For example, see this screenshot: https://snipboard.io/1vjFUy.jpg The Featured Members tab is selected and says there are 4 people, even though the page below it correctly says there are none.

    I believe this is the one causing this issue because I deactivated all other plugins except the ones mentioned in my first paragraph, then I went down my list of installed plugins and reactivated them one at a time and when I got to the Featured Members plugin, the issue started appearing.

  • Keymaster
    (BuddyDev Team)
    Posts: 24895
    Brajesh Singh on #55276

    Hi Stephanie,
    Thank you for reporting the isssue.

    I am sorry, It is not caused by Featured Members.

    Here is the code we are using to add members directory tab

    https://github.com/buddydev/bp-featured-members/blob/master/core/class-featured-members-template-helper.php#L22

    and here is the implementation

    https://github.com/buddydev/bp-featured-members/blob/master/core/class-featured-members-template-helper.php#L79

    I am not sure why the count is not being synced on the site. Is there a possibility that 4 members were featured earlier but were set to non featured by some other means?

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 80
    Stephanie on #55280

    Hello Brajesh,

    Regarding the incorrect count of featured members, you are correct, there were indeed 4 members that were featured earlier but then I deactivated them, and also they expired using the expiration plugin.

    I thought the Featured Members plugin was causing a conflict because the member counts displayed correctly only when I deactivated the Featured Members plugin.

    I installed the Featured members as a plugin, I am not using code. How can I implement the lines of code you linked to, since I am using Featured Members as a plugin?

    Thank you
    Stephanie

You must be logged in to reply to this topic.

This topic is: not resolved