two hopefully simple issues (force login & topic author)
Hey all -
Just started playing with bbpress last night & I am both totally hooked and somewhat frustrated, which seems to be my standard reaction to new software. I’m fluent in HTML, conversational in CSS and have worked with WordPress code before so I’m not completely in the dark, but there’s enough of a learning curve here that I have a few things I’d love some help with, if someone had a moment. Here’s the first two:
1. I would like my forum to be completely private – i.e., people would have to register or login on some sort of splash page before they reached the forum. In searching around these boards I found this plugin, but I just get a big ol’ 404 Not Found when I try to download it (and it looks like it’s a ways behind bbpress v1.0.2 anyway). Is this what I should be using instead? And if so, where exactly would it go, and on what page(s)?
2. I’m trying to add a “topic started by” field to the list of threads; I can get it to show up in the header row but I can’t get the fields in the actual table to show up. See what I mean? That’s no good. It’s probably some stupid PHP thing missing a thing (man, PHP is unforgiving) but I just can’t find it. Here’s the code I’m using:
<?php if ( $topics || $stickies ) : ?>
<th><?php _e('topic'); ?> — <?php new_topic(); ?></th>
<th><?php _e('started by'); ?></th>
<th><?php _e('posts'); ?></th>
<th><?php _e('last poster'); ?></th>
<th><?php _e('last post'); ?></th>
<?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
<td class="num"><?php topic_author(); ?></td>
<td class="num"><?php topic_posts(); ?></td>
<td class="num"><?php topic_last_poster(); ?></td>
<td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
<?php endforeach; endif; ?>
Lord knows I have more questions, but let’s start with those. Any help would be very much appreciated…thanks!!
- You must be logged in to reply to this topic.