Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: nolageek’s forum

crap. After I posted this I tried to tweak a few things and I totally borked the side bar up. I *HAD* it working, but now it’s not. The Forum List doesn’t show.

This is the code that I THOUGHT I was using, but now if I use it, the forum list doesn’t show AND the profile link doesn’t show on the Front Page. WTFBBQ?

function show_bblogin() {

global $forum;

if ( $forum ) { /// if we're in the forum...

login_form();
if ( is_bb_profile() ) profile_menu();

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

<tr>
<th>NAME</th>
<th>TOPICS</th>
<th>#</th>
</tr>
<?php while ( bb_forum() ) : ?>
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><br /><small><?php forum_description(); ?></small><?php bb_forum_pad( '</div>' ); ?></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
</tr>
<?php endwhile; ?>
</table>
<?php endif; // bb_forums() ?>

<?php } else { /// if we're not in the forum

echo '<a href="/forum/" style="font-size:2em;">Visit the Forum!</a><br /></br>';

}

}

Skip to toolbar