dragoeco (@dragoeco)

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

  • dragoeco
    Participant

    @dragoeco

    Could be usesful for some…

    Creating Content


    dragoeco
    Participant

    @dragoeco

    You wasn’t far and your clue helped me to find the solution. Thanks again 😉
    https://buddypress.org/support/topic/cant-upload-avatar-image-under-451px/


    dragoeco
    Participant

    @dragoeco

    Oops… I can’t believe I posted this in the wrong forum. I thought this was Buddypress forum (bbpress and buddypress was both open in my browser :p ) Is there a way to delete this posts? I will post in buddypress forum. And, by the way, cropping works in WP -> Media and also with Ultimate-member plugin si I guess is something with Buddypress… I’ll check this. Thanks for your answer Robin (The plugin you made for me is still working great (bbpress search by category ID :))


    dragoeco
    Participant

    @dragoeco

    Hi, the apostrophe (simple quote) was displayed as &#039 ; in the email subject so I fixed this by adding this line:

    $topic_title = mb_convert_encoding($topic_title, 'UTF-8', 'HTML-ENTITIES');

    in myrsite\wp-content\plugins\bbpress\includes\common\functions.php, lines 1094 and 1252 (bbpress 2.5.12). Between these 2 lines:

    $topic_title   = strip_tags( bbp_get_topic_title( $topic_id ) );
    $topic_title   = mb_convert_encoding($topic_title, 'UTF-8', 'HTML-ENTITIES');
    $topic_content = strip_tags( bbp_get_topic_content( $topic_id ) );

    I’m a beginner with php so maybe there is a better way to achieve this, but worked great for me 🙂


    dragoeco
    Participant

    @dragoeco

    Hi Robin, and thanks a lot for your answer. I spent thours trying to achieve this but without success. The search just always returns results from all forums. I must confess I’m a beginner with PHP… But, is there any chance that this feature could be added in your “bbp additional shortcodes” plugin. Something like [bbp-search forums='10,12,15']. I just discovered your plugins on your website and you did an amazing work. Of course I’m ready to give some donation for that but I like to know if this is possible or not first 🙂 But maybe it’s not as simple… Thanks

Viewing 5 replies - 1 through 5 (of 5 total)