This topic has 2 replies, 2 voices, and was last updated 6 years by Radu.

  • Author
  • #193423
     ThrewTheNevR
    Participant

    Good day,

    I was wondering if there was a way to remove the subject box when composing a new message.

    Also in the pic below I was wondering if there was a way to actually click on the new message thread to view it instead of having to click on the subject to veiw the message..

    I tried to copy the path to members-loop.php to wp-content/themes/kleo-child/buddypress/members/single/messages/messages-loop.php

    As instructed by this post I found https://buddypress.org/support/topic/customize-inbox-template/

    Then I tried to modify lines 118-119 in members-loop.php by adding bp_message_thread_view_link()

    And bp_message_thread_excerpt() but it don’t seem to work.

    <p><a href=”<?php bp_message_thread_view_link( bp_get_message_thread_id(), bp_displayed_user_id(), bp_message_thread_from(),bp_message_thread_view_link(), bp_message_thread_excerpt() ); ?>”

    Attachments:
    You must be logged in to view attached files.
    #193443
     ThrewTheNevR
    Participant

    I actually need to be more clear what I’m trying to do.
    Instead of click subject on the private message page to view the message I’m trying to have it where they can click anywhere on that box to view it.

    #193465
     Radu
    Moderator

    Hi,

    I haved trouble too rewriting this file because i’ve had a typo in the file path so make sure to have the identically files and folder names from after the sweetdate-child/

    code with excerpt linkable : https://pastebin.com/raw/tgemS6fp

    So the path it’s : wp-content/themes/sweetdate-child/buddypress/members/single/messages/messages-loop.php

    If not works, check , re-check and check again the paths to be identically.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?