Forum Replies Created
-
In reply to: Custom User Profile Fields?
Thanks, this post did it for me: https://bbpress.org/forums/topic/profile-user-specified-fields#post-2670
In reply to: Hiding Sub-ForumsI’d try cutting out this block of code in forum.php:
<?php if ( bb_forums( $forum_id ) ) : ?>
<h2><?php _e('Subforums'); ?></h2>
<table id="forumlist">
<tr>
<th><?php _e('Main Theme'); ?></th>
<th><?php _e('Topics'); ?></th>
<th><?php _e('Posts'); ?></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><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; ?>In reply to: Hiding Sub-ForumsThere are some other forum posts about this same thing. Maybe you’d have some luck checking out those?
In reply to: Hiding Sub-Forums<?php if ( bb_forums() ) : ?>
<h2><?php _e('Forums'); ?></h2>
<table id="forumlist">
<tr>
<th><?php _e('Main Theme'); ?></th>
<th><?php _e('Topics'); ?></th>
<th><?php _e('Posts'); ?></th>
</tr>
<?php while ( bb_forum() ) : ?>
<?php if (bb_get_forum_is_category()) : ?>
<tr<?php bb_forum_class('bb-category'); ?>>
<td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
</tr>
<?php continue; endif; ?>
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</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() ?>In reply to: Fatal error: Call to undefined functionFIXED IT! After I replaced all the php files in the root, it started working again. Thank you very much for the help John!
In reply to: Fatal error: Call to undefined functionYes, I did integrate them with a plugin, but that wouldn’t do anything, would it?
In reply to: Fatal error: Call to undefined functionNone of that did any good. I suppose that would mean somewhere in the root of bbPress, I did something to one of the files. I’ll just replace them and see how it goes…
In reply to: Fatal error: Call to undefined functionI just did that, and the theme works just as it did before, I’m still getting the error message.
In reply to: Fatal error: Call to undefined functionI don’t believe so, my theme is where it’s supposed to be, public_html/forum/bb-templates/default