BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 41
    Mic on in reply to: [Resolved] Moderation Tools – Report Button – Icon #21861

    Oops, I thought we were done with this one but it looks like something is up.

    I turned back on the Social Share plugin and the “report” flag disappears. I viewed the source code and I can see the anchor tag, but it looks like it is sitting outside of the proper <div>

    The Social Share plugin seems to add it’s own <DIV> that is hidden until you click the link. Not sure how that causes the report button to be pushed out of the proper <DIV> though.

    Is it possible to change the order of the buttons within the activity-meta <DIV>? Perhaps if the Social Share happened last it would work?

  • Participant
    Level: Enlightened
    Posts: 41
    Mic on in reply to: [Resolved] Moderation Tools – Report Button – Icon #21857

    Awesome!

  • Participant
    Level: Enlightened
    Posts: 41
    Mic on in reply to: [Resolved] Moderation Tools – Report Button – Icon #21854

    Hey Brajesh,

    I like your option #2 solution. It worked really well.

    The other developer for the Edit Activity plugin suggested this bit of CSS code to hide the “Edit” text:

    #buddypress #activity-stream .buddyboss_edit_activity { 
         font-size: 0 !important;
    }

    While it does work, It seems a little “hackish” to me. Is there anything wrong with doing it this way?

    -Mic

  • Participant
    Level: Enlightened
    Posts: 41
    Mic on in reply to: [Resolved] Moderation Tools – Report Button – Icon #21824

    Sure, I appreciate the help. I have disabled the plugin for now.

    -Mic

  • Participant
    Level: Enlightened
    Posts: 41
    Mic on in reply to: [Resolved] Moderation Tools – Report Button – Icon #21822

    The Social Share plugin had a filter that I was able to put in my functions.php to replace the “share” text that was on the button. I used the filter and set the text to an empty string, now it displays just the icon.

    I am stumped on how to achieve that with your Moderation Tools plugin and the other Edit Activity plugin.

    I adjusted my CSS and was able to get the icon to display. I’m also able to override the padding and background color that was making the grey box around the text. I have temporarily made the text red instead of white so you can see the problem more clearly.

    It can be seen at this URL: https://animegirls.me/activity/
    I have made a screenshot: https://imgur.com/a/hLDDhaz

  • Participant
    Level: Enlightened
    Posts: 41
    Mic on in reply to: [Resolved] Moderation Tools – Report Button – Icon #21819

    Yes, working on the same site I linked in the other thread.

    I was able to get the Social Share plugin styled by overriding the CSS with my own custom CSS. I was mostly wondering if there is a right or wrong way to do this.

    It seems like if you can latch onto the CSS that is the way to go. But for a lot of things I come across in other plugins it feels like I need to add <DIV> or change the layout more drastically. For those situations it seems like a template file is needed, but I don’t see template files for plugins that often.

    • This reply was modified 3 years, 8 months ago by Mic.
  • Participant
    Level: Enlightened
    Posts: 41
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 41

    Hey Brajesh,

    I understand about the support situation with your office move and everything. I am looking forward to getting this wrapped up hopefully within the week.

    Here is a screenshot of what the settings look like for this test tab I have created to replace “Groups”…
    https://imgur.com/PXda8iF

    -Mic

  • Participant
    Level: Enlightened
    Posts: 41

    Sounds great! I can deal with it for now.

  • Participant
    Level: Enlightened
    Posts: 41

    I’m trying to remove the subnav for the plugin buddypress-docs (https://wordpress.org/plugins/buddypress-docs/), but something weird is happening.

    When I modify the user tab it works pretty much as expected except for one thing, the link on the adminbar profile menu does not change. I set the “Tab Link” to a static URL, but the link on the menu does not change.

    Another thing that is happening is when I try to adjust the Group Tab, if I check the box next to “Are we modifying predefined tab?” then the subnav section disappears! There is no button to create a new subnav, just an HTML link to the help documentation.

    I think it might be because the profile tab section and the group tab section both have the same slug (docs) I think?