BuddyDev

Search

[Resolved] Activity Shortcode Issue: comment etc icons won't show

  • Participant
    Level: Enlightened
    Posts: 39
    AJ on #20080

    Here’s the situation regarding use of this shortcode: [activity-stream user_id=13]

    When using shortcode it shows like this: https://cl.ly/14e029024f62
    BUT it is supposed to look like this: https://cl.ly/244298ba097d
    By adding some CSS to the customizer I manage to make it look like this: https://cl.ly/a342f8f97e3b

    It seems to be down to this:

    NOW: <div class=" -meta action">
    SHOULD BE: <div class="activity-meta action">

    If I use inspector and change the div class line, it works and displays right.
    For now I added some CSS to display the words “comment, favourite and delete”.

    
    div.-meta.action {
    border: 1px solid transparent;
    background: #fafafa;
    padding: 2px;
    position: relative;
    text-align: left;
    }
    
    .bp-screen-reader-text {
    border: 1px solid transparent;
    background: #fafafa;
    padding: 2px;
    position: relative;
    }
    

    If anyone can tell me what shortcode to use to simply make it clean https://cl.ly/d00516252f8d as if you are NOT logged in, thats fine too. On this page I don’t need comments 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #20088

    Hi,
    Welcome to BuddyDev.

    I am sorry for the inconvenience but the problem lies in your current teme or template pack.

    We do not include any template file. Instead we use

    <?php bp_get_template_part( 'activity/entry' ); ?>
    

    which loads yourtheme/buddypress/activity/entry.php or wp-content/plugins/buddypress/bp-templates/{active-template-pack}/buddypress/activity/entry.php

    Please check the responsible activity entry file. That should give some clue.

    Also, if possible, Please post the code on pastebin and link me, I can check it for you.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 39
    AJ on #20159

    Hi Brajesh,

    Sorry to get back to you so late. Have been working around the clock to update my website.
    The fastest way for me was first to use display: none;

    Later I simply changed the buddypress template back to Legacy.

    Just got my hands on the FB like member activity and profile visibitly. It’s great that you created these premium plugins!

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #20162

    Hi AJ,
    Thank you for the reply.
    I sincerely appreciate your kind words and using our plugins. Thank you for purchasing them.

    Does switching to Legacy resolve the issue with activity?

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 39
    AJ on #20174

    Switching back to Legacy immediately solved the issue. Although I liked the other template better, now I have to focus on functionalities.

    Thanks again, AJ

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #20180

    Hi AJ,
    Thank you for sharing the details. We sure hope to be compatible with Nouveau in future.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved