WordPress.org

Ready to get started?Download WordPress

Forums

myCRED
[resolved] Buddypress Balance History (11 posts)

  1. PaulMRivera
    Member
    Posted 9 months ago #

    Is it possible to show the history in the navigation tab set instead of in the header? or even the history on a separate page?

    Thanks.

    btw, AMAZING PLUGIN. you saved me.

    http://wordpress.org/plugins/mycred/

  2. PaulMRivera
    Member
    Posted 9 months ago #

    nm. i found the glorious short code page. my bad

  3. PaulMRivera
    Member
    Posted 9 months ago #

    Actually, i used the short code for the history, but is there a way to not have it go into the header?

  4. Gabriel
    Member
    Plugin Author

    Posted 9 months ago #

    You can remove any BuddyPress profile page by using the bp_core_remove_nav_item function. This function only takes one parameter and that is the page slug. By default, myCRED sets this to "mycred-history" but since you change this, you would need to set it so it matches your settings on the myCRED > Settings page.

    Example using the default menu slug:

    add_action( 'bp_setup_nav', 'remove_mycred_profile_menu', 12 );
    function remove_mycred_profile_menu() {
    	bp_core_remove_nav_item( 'mycred-history' );
    }
  5. PaulMRivera
    Member
    Posted 9 months ago #

    That just remove it from the navigation. I'm wondering how to move it from showing up in the header. Like to be able to use the short code to display the table in a page.

  6. Gabriel
    Member
    Plugin Author

    Posted 9 months ago #

    Not sure I understand. myCRED does not include any history in the header. It includes a history page in your users profiles. The above code will remove this menu. There is no other history detail added.

  7. PaulMRivera
    Member
    Posted 9 months ago #

    For some reason the history is a table that's sticky to the header. It scrolls with the page. Do you have an email I can send a screenshot to?

  8. Gabriel
    Member
    Plugin Author

    Posted 9 months ago #

    This happens when your theme is applying custom styling to TABLE elements. Visit your page and check what CSS styling is applied to the table element and adjust your styling to fix this.

    Some themes will do this and cause the table to be inserted into the top corner of your screen.

  9. PaulMRivera
    Member
    Posted 9 months ago #

    trying to find this TABLE element in my CSS. I'll keep you posted.

  10. PaulMRivera
    Member
    Posted 9 months ago #

    I found the issue. Thanks for your help.

    there was this in my theme

    .fixed {
        position: fixed;
    }
  11. Gabriel
    Member
    Plugin Author

    Posted 9 months ago #

    Thank you for the update

Reply

You must log in to post.

About this Plugin

About this Topic