This topic has 7 replies, 3 voices, and was last updated 7 years by Laura.

  • Author
  • #128587
     yourateporn
    Participant

    Hello,

     

    How can i change the message into buddypress? I want the newest first.

     

    Thnx

    #128672
     Laura
    Moderator

    Hello, can you specify a bit more?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #128692
     yourateporn
    Participant

    Oke, when i sent a member a message the messe will order in the inbox by Old on top. But i want the new message on top.

    Thnx

    #128724
     Laura
    Moderator

    Hello, copy kleo/buddypress/members/single/messages/single.php
    to your child theme so that the dir structure looks like this:
    kleo-child/buddypress/members/single/messages/single.php

    Then in single.php, change

    COPY CODE
    
    if ( bp_thread_has_messages() ) :
    

    to

    COPY CODE
    
    <?php  
    	$args = array(
    	   'order'     => 'DESC'
    	);
    if ( bp_thread_has_messages( $args ) ) : ?>
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #128916
     yourateporn
    Participant

    Ow,i dont use a child theme. What now? 🙂

    #129013
     Laura
    Moderator

    Hello, you need to use it if you want to do changes to the theme, or you will lose them when you update the theme

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #147537
     jafar
    Participant
    This reply has been set as private.
    #147727
     Laura
    Moderator

    Hello, like facebook messages? I don’t know if there is any that could change it like that, because you would need a chat plugin, and then integrate it at messages, then edit the template and css…
    So i suggest to use a chat plugin instead because the first option would require to hire a developer.
    Some chat plugins that work with buddypress https://wordpress.org/plugins/search.php?q=buddypress+chat
    You can find more at codecanyon
    Or you can use Arrowchat or Cometchat

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

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

Log in with your credentials

Forgot your details?