Search Results for 'bbpress'
-
Search Results
-
I have made a front-page where i show off all latest topics matching the forum ID’s..
It looks like this.
Forum id = General questions -> latest topics of the general questions
Forum id = Support questions -> latest topics of the support questions
I did this by hiding or deleting the forum id’s from all others and repeat the latest topics section.
Like this.
‘
<table id=”latest” role=”main”>
<tr>
<th><?php _e(‘Topic’); ?> — <?php bb_new_topic_link(); ?></th>
<th><?php _e(‘Posts’); ?></th>
<!– <th><?php _e(‘Voices’); ?></th> –>
<th><?php _e(‘Last Poster’); ?></th>
</tr>
<?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big><?php topic_page_links(); ?></td>
<td class=”num”><?php topic_posts(); ?></td>
<!– <td class=”num”><?php bb_topic_voices(); ?></td> –>
<td class=”num”><?php topic_last_poster(); ?></td>
</tr>
<?php endforeach; endif; ?>
<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
<?php if( $topic->forum_id != 4 ) { ?>
<?php if( $topic->forum_id != 5 ) { ?>
<?php if( $topic->forum_id != 6 ) { ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> “><?php topic_title(); ?><?php topic_page_links(); ?></td>
<td class=”counter”><?php topic_posts(); ?></td>
<!– <td class=”num”><?php bb_topic_voices(); ?></td> –>
<td class=”last-post-avatar”><?php echo bb_get_avatar( $topic->topic_last_poster , ’36’); ?></td>
</tr>
<?php } ?>
<?php } ?>
<?php } ?>
<?php endforeach; endif; ?>
</table>
<table id=”latest” role=”main”>
<tr>
<th><?php _e(‘Topic’); ?> — <?php bb_new_topic_link(); ?></th>
<th><?php _e(‘Posts’); ?></th>
<!– <th><?php _e(‘Voices’); ?></th> –>
<th><?php _e(‘Last Poster’); ?></th>
</tr>
<?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big><?php topic_page_links(); ?></td>
<td class=”num”><?php topic_posts(); ?></td>
<!– <td class=”num”><?php bb_topic_voices(); ?></td> –>
<td class=”num”><?php topic_last_poster(); ?></td>
</tr>
<?php endforeach; endif; ?>
<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
<?php if( $topic->forum_id != 3 ) { ?>
<?php if( $topic->forum_id != 4 ) { ?>
<?php if( $topic->forum_id != 6 ) { ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> “><?php topic_title(); ?><?php topic_page_links(); ?></td>
<td class=”counter”><?php topic_posts(); ?></td>
<!– <td class=”num”><?php bb_topic_voices(); ?></td> –>
<td class=”last-post-avatar”><?php echo bb_get_avatar( $topic->topic_last_poster , ’36’); ?></td>
</tr>
<?php } ?>
<?php } ?>
<?php } ?>
<?php endforeach; endif; ?>
</table>’
But know i have a problem with using this plugin.
http://bbpress.org/plugins/topic/front-page-topics/
I only want to show the latest 5 topics of each forum ID (excluding the once i’m hiding)
Know with this plugin it also counts the topics i’m hiding..
Isn’t there some code that says: show only the latest 5 topics from forum ID 3
Thanks,
This feels like a dumb question, so sorry in advance if I’m missing something obvious here.
Is there a built-in way in bbPress to display all subcategory POSTS on one view?
For example, if you had a VEHICLES category, and the three subforums are CARS, TRUCKS and SUVS, is there a way to display all CARS, TRUCKS, and SUVS posts on one forum view?
If in the above example, you visit the VEHICLES forum page, it will list the 3 subforums separately, but will not list any posts. I’d like to see all posts on one page, not just the top-level forum listing.
Thanks!
Topic: Wp and bbpress
Everything I am reading seems to be to have bbpress work with wp users
however this is my situation..
We have a wp install with 1 user and hundreds of post
a recently converted bbpress from vb with about 800 users with thousands of forum post…
we need to have wp use the bbpress user database so users logged in at the bbpress can leave comments on the wp blog w/o having to enter their name/email as we want them to be already logged in using the bbpress login
we are using wp 3.0.2
and bbpress 1.0.2
this has been very frustrating and any help would be greatly appreciated
