Tecca (@tecca)

Forum Replies Created

Viewing 9 replies - 26 through 34 (of 34 total)
  • In reply to: Profile avatar

    @tecca

    Participant

    All right, I haven’t used bbPress without BuddyPress for a long while and forgot that avatars aren’t a native option. This plugin seems to work very well:

    https://wordpress.org/plugins/simple-local-avatars/

    In reply to: Profile avatar

    @tecca

    Participant

    Whoops, that is the BuddyPress profile. Sorry about that. I’ll see if I can figure this out for you, but hopefully someone can chime in before that.

    In reply to: Profile avatar

    @tecca

    Participant

    Try navigating to: http://yoursite.com/members/yourusername/profile/change-avatar

    Change the URL and username above and see if that works for you.

    @tecca

    Participant

    From what I can see, Enfold is just another WordPress theme that has edited some bbPress CSS and files. If that’s the case, then everything will be fine — you’d still be using your WordPress install with the bbPress plugin, so your tables wouldn’t go anywhere.

    @tecca

    Participant

    @redknite, put this in your loop-single-reply.php file:

    <?php $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo "@".$user_nicename;
    } ?>

    @tecca

    Participant

    I haven’t been able to figure this out either, so I set the “BP_AVATAR_THUMB_WIDTH” in my functions.php file to 120. I figure I won’t been needing small avatar thumbnails anyway, so I’ll just go with slightly larger ones as default.

    @tecca

    Participant

    I completely agree with you, @nerdenpose. While the two above solutions essentially work, I’d much rather remove it completely from my theme. bbPress seems to be about clean and elegant, so I try to keep it that way by removing features that aren’t needed rather than hiding them.

    Also, don’t forget to remove this line if you don’t want it shown in specific forums as well (to go along with the above post).

    From content-single-forum.php:
    <?php bbp_single_forum_description(); ?>

    Also the “visibility: hidden” solution in the first reply irks me a bit. It works, but instead use “display: none” if you’re looking to remove these bars using CSS.

    @tecca

    Participant

    Oh, how dumb of me. I just needed to remove &amp;#8212 ; from the line. =)

    EDIT: Apparently the code above keeps changing even between backticks.

    @tecca

    Participant

    From ctsttom:

    Can we see your front-page.php code as its possibly part of the html as mine uses a different template and it only has one dash.

    <?php bb_get_header(); ?>

    <?php if ( $forums ) : ?>

    <div id="contentleft">

    <div id="login">
    <?php login_form(); ?>
    </div>

    <h2><?php _e('Forums'); ?></h2>
    <table id="forumlist">

    <tr>
    <th><?php _e('Forum Categories'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>

    <?php foreach ( $forums as $forum ) : ?>
    <tr<?php alt_class('forum'); ?>>
    <td><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a> — <small><?php forum_description(' '); ?></small></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endforeach; ?>
    </table>

    <?php if ( $bb_current_user->ID ) : ?>

    <?php endif; else : // $forums ?>

    <div id="contentleft">

    <h3 class="bbcrumb"><a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a></h3>

    <?php post_form(); ?>

    <?php endif; ?></div>

    <div id="discussions">

    <?php if ( $topics || $super_stickies ) : ?>

    <h2><?php _e('Latest Discussions'); ?></h2>

    <table id="latest">
    <tr>
    <th><?php _e('Topic'); ?> — <?php new_topic(); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>

    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php _e('Sticky:'); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>
    </table>
    <?php endif; ?>

    <div id="search">
    <?php search_form( $q ); ?>
    </div>

    <br />
    <img src="http://teccahigh.com/wp-content/themes/revolution/images/divide.png"><br />
    <h2>Members Online</h2>
    <small>Online now:
    <?php do_action('members_online_now',''); ?></small><br />
    <small>Online today:
    <?php do_action('members_online_today',''); ?></small>

    </div>

    <?php include 'sidebar.php'; ?>

    <div style="clear:both;"></div>

    <?php bb_get_footer(); ?>

Viewing 9 replies - 26 through 34 (of 34 total)