BuddyDev

Search

Replies

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Replace text on tabs with icons #28423

    Hi Brajesh, yes I understand, thanks

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Replace text on tabs with icons #28421

    Hi Brajesh, thanks, its not clear if my theme supports this or not, but as the developer wrote, if it works with twenty series WP theme, it should work with my the also.

    I have to investigate this further and find a solution with the theme developer.

    Can I ask you to please clarify which #your-custom-id, you are referring to in this code, and where I find this?

    div#item-nav ul #your-custom-id a:before {
        content: "\f24d"; /*replace the code with icon code from front awesome*/
    }

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: Recent Profile Visitors page issue #28420

    Hi Brajesh, thanks for your reply.

    My point is, that the Send Private Message button with that hook is following the convention of only showing on profile pages, where it makes sense to send a message.

    Not on users own profile page, the settings page, the members directory page, or any other BP page than the recent visitor page.

    Not a big issue, I can probably hide it with css on recent visitors page.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Replace text on tabs with icons #28416

    Hi again, I got this answer from my theme support, does this help?:

    “GP doesn’t do anything special for BuddyPress. There are also no icons built-in other than the ones needed in the theme (menu toggle, drop down arrow etc).

    If BuddyPress’s support can provide a solution that works with a twenty series WP theme, the same method should apply to GP as well.”

  • Participant
    Level: Yogi
    Posts: 1117

    Hi Brajesh, thanks for your help, I will do that. Strange enough there are only two items in the list, but three dots?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Replace text on tabs with icons #28412

    Hi Brajesh, I will check that out, thanks

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: Recent Profile Visitors page issue #28411

    Hi Brajesh here are 2 screenshots of what is going on. My point is, that the bp_send_private_message_button is acting correctly, except on visitors page, by only showing on profile pages. I hope this makes sense.

    Using the hook: bp_after_member_body:

    https://domain/members/jeff/
    https://imgur.com/HnxO0Um

    Send message button also displayed on https://domain/members/jette/visitors/
    https://imgur.com/5HnLv2k

    Here of course the button is inactive, but is displayed.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Remove the subject line requirement in messages? #28384

    Hi Brajesh, the code is working now, again, thank you very much for the extraordinary help and support you are offering.

    Best
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Remove the subject line requirement in messages? #28383

    Adding the original code, didn’t help.

    I figured it out, what this code snippet does is to link both the avatar and the user name, in the message thread, to the conversation instead of the profile

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: [Resolved] Remove the subject line requirement in messages? #28382

    Hi Brajesh, yes, I’m using bp-legacy template. This happens after visiting and writing a new profile so the page must be reloaded.

    I found this edit in my messages-loop.php in my child theme, kan this cause this. Honestly, I can’t remember why this code was added, and what it does?

    
    
    <?php
    $mssender = strip_tags(bp_get_message_thread_from(), '<br>');
    ?>
    <span class="from"><?php _e( 'From:', 'buddypress' ); ?></span> <?php bp_message_thread_from(); ?>
    
    <a href="<?php bp_message_thread_view_link( bp_get_message_thread_id(), bp_displayed_user_id() ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( "View Message", 'buddypress' ); ?>" aria-label="<?php esc_attr_e( "View Message", 'buddypress' ); ?>"><?php echo $mssender; ?><span class="activity"><?php bp_message_thread_last_post_date(); ?></span></a>

    Original code:

    <span class="from"><?php _e( 'From:', 'buddypress' ); ?></span> <?php bp_message_thread_from(); ?>

    Regards
    Carsten