Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Tatiana
    Participant

    @svetka812

    Thank you, Roger! You have being a lot of help.


    Tatiana
    Participant

    @svetka812

    Is 1.2.6 going to have editing buttons in forums or not, do you know?
    Is there a plugin available to download for 3.0.1 + 1.2.5.2 ?
    I got a “BuddyPress Forums Extras” installed, but it didn’t do the job.
    http://svetkidoma.net – sorry, it’s all in Russian.


    Tatiana
    Participant

    @svetka812

    I guess, my best choice here is to wait for the 1.2.6 and pray :)


    Tatiana
    Participant

    @svetka812

    It didn’t, It wouldn’t even post a new post. Gave me two lines of an error message – something about can not do with a header that was already something.


    Tatiana
    Participant

    @svetka812

    well… I added the code to the functions.php in bp default theme…(I use 1.2.5.2 ) …nothing happened. Where this function will be called? maybe it should replace something, not to be just added? is there a specific spot in the functions.php where to put it? I place it here, in between these two, that were mentioning the activity stream:

    /* Hijack the saving of page on front setting to save the activity stream setting */
    function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
    if ( !is_admin() || !is_site_admin() )
    return false;

    if ( ‘activity’ == $_POST )
    return ‘activity’;
    else
    return $oldvalue;
    }
    add_action( ‘pre_update_option_page_on_front’, ‘bp_dtheme_page_on_front_update’, 10, 2 );

    /* added function */

    function my_bp_blogs_record_activity_content( $bp_excerpt, $content ) {
    return $content;
    }
    add_filter( ‘bp_blogs_record_activity_content’, ‘my_bp_blogs_record_activity_content’, 1, 2 );

    /* Load the activity stream template if settings allow */
    function bp_dtheme_page_on_front_template( $template ) {
    global $wp_query;

    if ( empty( $wp_query->post->ID ) )
    return locate_template( array( ‘activity/index.php’ ), false );
    else
    return $template;
    }
    add_filter( ‘page_template’, ‘bp_dtheme_page_on_front_template’ );

    Sorry for being such a dummy, I am not a pro, just an end user..


    Tatiana
    Participant

    @svetka812

    Thank you guys! I will try it and let you know.

    Roger, I don’t mind the posts to be shown like it is set by choice on the main page of WP – to the latest posts thread – up to the “more” tag were the author put it (or that could be inserted there later by code), but as long as paragraphs and breaks stay in place!

    And I don’t mind picture in the activity stream to be re-sized to a thumbnail, (but not the other way – enlarged to a 100 in height(!)).
    The WP troubles me the same way, when showing category archives or search results – with no breaks, no paragraphs, no illustration (I can deal with no picture, but code in place of it is too much!)

    I’ll try it and get back to you soon.

    Thank you!


    Tatiana
    Participant

    @svetka812

    From my observation, if the post is small, it gets into the activity stream as whole, with no change in layout. But if it was longer then some limit, it gets converted into an excerpt.


    Tatiana
    Participant

    @svetka812

    Roger, thank you a lot for your help! I will transform my post into 2 as you suggested.
    I am using a default BP them, and I didn’t change th codes. I will look for them.

Viewing 8 replies - 1 through 8 (of 8 total)
Skip to toolbar