BuddyDev

Search

BuddyPress User Badges shortcodes

Tagged: 

  • Participant
    Level: Initiated
    Posts: 5
    Nazlıgül Çınaroğlu on #31967

    Shortcode for this plugin doesnt work. Do you know why?
    [bp-user-badges slug=’author’]

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #31968

    Hi,
    Thank you fro using the plugin.
    When listing for member type/roles, you will need to specify the context.

    If you are trying to fetch it for author role, it should be

    
    
    [bp-user-badges slug='author' context='role' ]
    

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    Nazlıgül Çınaroğlu on #31972

    Thank you for your quick reply. It worked. However, the template doesn’t fit the theme I’m using: BuddyBoss. As far as I know, they have an integration.
    https://www.buddyboss.com/integrations/buddypress-user-badges/

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #31987

    Hi,
    Thank you for confirming.

    Yes, the plugin is compatible with BuddyBoss platform. It seems we added the shortcode recently without testing with the platform. Please allow me 24 hours to push an update to make the shortcode compatible with BuddyBoss platform.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    Nazlıgül Çınaroğlu on #32001

    Any news?

  • Participant
    Level: Initiated
    Posts: 5
    Nazlıgül Çınaroğlu on #32002

    Shortcode again doesn’t work…

    Update: the reason again it’s because your documentation is misleading. at one point, you say use : slug=’author’ at another poing, slug=”author”. The correct one is with “.

    Still not compatible with buddyboss. This is review I get from my members page: https://ibb.co/RQB9Hvy
    Your shortcode makes it like this: https://ibb.co/9pXzW6C

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #32006

    Hi,

    1. Please upgrade to 1.1.8 and it has proper support for BuddyBoss theme

    2. slug=”author” is incorrect. It seems WordPress has encoded the quotes. We do not use this encoded quotes. You should use either plain quote(single or double) or no quote at all.

    Please link me to the page where you found that encoded entity. I had removed it from our plugin documentation page a few weeks ago.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #32007

    I See,
    It seems you are referring to this line

    slug:- It is required. It is the slug of the badge. For Role/Member types based badge, It is the role name e.g “administrator” or the member type name.

    Please see the example below that. We haven’t used any encoded quotes in any of the example and if this sentence has caused issue, I am updating it.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved