This topic has 15 replies, 2 voices, and was last updated 10 years by chau-huu.

  • Author
  • #63637
     chau-huu
    Participant

    Hi
    Excuse me for my poor english
    We lost the css form when we go to a user profile and want to see the received mail or the send mail.
    You can see the design in the message.png and when we click on send mail we can see the result in the send_message.png or in message_redaction.png
    Could you help us !
    It s a great theme

    #63666
     sharmstr
    Moderator

    respond privately with a link and credentials for an account that has messages.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #63680
     chau-huu
    Participant

    Hi
    I mot sur to understand what you want but here my code of purchase

    9f55b01a-4e01-4573-92de-1e25f540fdea

    #63686
     sharmstr
    Moderator

    I mean a link to log in. I cant help you without seeing the code that generated. I can only see that if I log in with an account.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #63762
     chau-huu
    Participant

    Sorry i ve not understood, here the link https://lecomposteur.ccfd-terresolidaire.org
    login: tchad
    password tchad789
    Thanks

    #63764
     sharmstr
    Moderator

    Because your site is throwing jquery errors. Probably a plugin conflict.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #63775
     chau-huu
    Participant

    I try to desactive all the plugins but same thing, in the apache log there is
    PHP Fatal error: Call to undefined function bp_the_message_star_action_link() in /var/www/wordpress/wp-content/themes/kleo/buddypress/members/single/messages/messages-loop.php on line 103, referer: https://lecomposteur.ccfd-terresolidaire.org/members/tchad/

    #63776
     sharmstr
    Moderator

    Have you updated buddypress to 2.3.2?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #63777
     chau-huu
    Participant

    No i m on Version 2.2.3.1

    #63779
     sharmstr
    Moderator

    That’s the problem. is there a reason why you havent updated?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #63782
     chau-huu
    Participant

    Because on http://themeforest.net/item/kleo-next-level-wordpress-theme/6776630
    the compatibility with buddypress is 2.2

    #63784
     sharmstr
    Moderator

    Ah. Good point. The star functionality was introduced in BP 2.3. Before you update, would you mind testing some backward compatibility code I just added to the next Kleo minor release?

    go to /kleo/buddypress/members/messages/messages-loop.php and change this block of code (starting around line 100) from this

    COPY CODE
    
    <?php if (bp_is_active('messages', 'star')) : ?>
           <div class="thread-star">
           <?php bp_the_message_star_action_link(array('thread_id' => bp_get_message_thread_id())); ?>
           </div>
    <?php endif; ?>
    
    

    to this

    COPY CODE
    
    <?php if ( version_compare( BP_VERSION, '2.3', '>=' ) ) :  ?>
          <?php if (bp_is_active('messages', 'star')) : ?>
                  <div class="thread-star">
                        <?php bp_the_message_star_action_link(array('thread_id' => bp_get_message_thread_id())); ?>
                  </div>
           <?php endif; ?>
    <?php endif; ?>
    

    Let me know if that fixes it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #63787
     chau-huu
    Participant

    Yes ! thanks that resolve the trouble

    #63788
     sharmstr
    Moderator

    Hmmm. I’m looking at the account you gave me and its still broken. Did you remove the code after testing it?

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

    Now I see it. Cool.

    Okay, you can upgrade BP if you want. I’ll let 7th Queen know to update the theme forest info. Thank you for your help in testing.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #63791
     chau-huu
    Participant

    no i test iit on a preprod server, can you test again

    thanks

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

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?