Aahan Krish (@aahan)

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • In reply to: Avatar size

    @aahan

    Participant

    The size of user avatar displayed in posts/replies is defined in /wp-content/plugins/bbpress/bbp-includes/bbp-reply-template.php.

    This is the piece of code:

    function bbp_get_reply_author_link( $args = '' ) {
    $defaults = array (
    'post_id' => 0,
    'link_title' => '',
    'type' => 'both',
    'size' => 80,
    'sep' => ' '
    );

    Change ’80’ (is equivalent to 80px) to a number of your choice.

    While it’s not suggested that you modify core bbPress files, I know no other way (I don’t know PHP).

    Hope that helps!

    @aahan

    Participant

    In case it helps, I have identified the code that determines the text. It’s in wp-contentpluginsbbpressbbp-includesbbp-common-template.php but it needs to be modified by adding a function in functions.php, and I don’t know how to do that.

    Anyway, this is the code:

    /** Home Text ********************************************************/

    // No custom home text
    if ( empty( $args['home_text'] ) ) {

    // Set home text to page title
    if ( $front_id = get_option( 'page_on_front' ) ) {
    $pre_front_text = get_the_title( $front_id );

    // Default to 'Home'
    } else {
    $pre_front_text = __( 'Home', 'bbpress' );
    }
    }

    @aahan

    Participant

    @jaredatch: Oh, I didn’t know that!

    @dorsetjon: There’s your answer (I guess).

    @aahan

    Participant

    Yeah, I hoped to so too. Good luck!

    @aahan

    Participant

    Yeah. Jon, I am a newbie too, but since I know my way through wordpress, I am confident that I can accomplish something with bbpress.

    That’s exactly what I am talking about. Search for bbpress themes. You might end up finding something with features closer to what you mentioned or better.

    Any theme that looks better than the default bbpress theme will make you happy for the time being, until you know your way around bbpress.

    That’s a starting point. Enable the new theme, start changing the look with CSS, make it look your way. That’s what I was suggesting. Sorry if I didnt catch your point still.

    @aahan

    Participant

    @thetalltree : Take a look at the forum index of bbpress.org, and you’ll notice that there are at least 2 spam posts. SPAM! And what’s even more alarming is that they are still there!

    Take my advise, ask elsewhere. (Try asking on wordpress.stackexchange.com)

    My $0.02! :)

    @aahan

    Participant

    I am currently modding my own bbpress installation (and I all I know is CSS).

    My idea would be search Google for ‘free bbpress themes’, find the one with the functionality that you want – – in your case, something that looks like bbpress.org – – and then design it your way with custom css.

    You get my idea? Good luck! :)

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