TheDarkboy (@thedarkboy)

Forum Replies Created

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

  • TheDarkboy
    Participant

    @thedarkboy

    who are page for apply your change code?


    TheDarkboy
    Participant

    @thedarkboy

    im find this good page for try this modify!

    me go to try…

    In reply to: Leave this views

    TheDarkboy
    Participant

    @thedarkboy

    ok for first box im find this:

    //this function removes the “this topic contains…” and “this forum contains…” text
    function no_description ($retstr) {
    $retstr=”” ;
    return $retstr ;
    }

    add_filter (‘bbp_get_single_topic_description’, ‘no_description’ ) ;
    add_filter (‘bbp_get_single_forum_description’, ‘no_description’ ) ;

    //This function changes the text wherever it is quoted
    function change_translate_text( $translated_text ) {
    if ( $translated_text == ‘Your account has the ability to post unrestricted HTML content.’ ) {
    $translated_text = ”;
    }
    if ( $translated_text == ‘Oh bother! No topics were found here!’ ) {
    $translated_text = ”;
    }
    return $translated_text;
    }
    add_filter( ‘gettext’, ‘change_translate_text’, 20 );

    im add in my theme – function and work…

    for 2 image? im want leave message for eac modify at post

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