Search Results for 'test'
-
Search Results
-
I began posting here:
http://bbpress.org/forums/topic/bbpress-plugin-updates/page/27?replies=793#post-87320
Still don’t know what’s going on, but I’m wondering if it’s related to running one copy of WP underneath another. My setup is:
webroot/ (production site is here with bbP active and working)
webroot/new/ (test site is here where bbP does not want to work)
‘new’ is just that – brand new 3.1.2 WP install with vanilla everything. But bbP simply will not work within it no matter what I try. If I have permalinks on default, any visit to domain.com/new/forums/ redirects me to domain.com/forums/ and if I set permalinks to /%postnam3%/ then I just get a 404 error with any request for /new/forums/.
Don’t know what else to try. In the other thread, Ryan also found the problem with permalinks, but not the other problem. This is why I’m wondering if it’s related to having 2 installs, one below the other.
Can anyone confirm/deny that this kind of setup doesn’t work?
Thanks!
Jonathan
Topic: Last Post Data
I am a beginner with a beginner question: On the front page in the “Latest Discussions” section, there are columns for Last Poster and Freshness. However, in the “Forums” section, there are no such columns.
I would like to add this information in the “Forums” section as well (and then eventually delete the “Latest Discussions” section). I have added the two column headers (actually combined into one column that has both pieces of info in it), but I have no idea how to get the correct data (which I want to search all the topics from within each forum and pull the latest poster and time details).
The code I currently have is below (for the site http://heathoops.net/forums). It’s formatted how I want it, but I have no idea what post data it is pulling (I want it to pull the latest post from any topic within each forum)… Can anyone help?
<?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>
<th><?php _e(‘Last Post’); ?></th>
</tr>
<?php while ( bb_forum() ) : ?>
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><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>
<td class=”num”>by “><?php topic_last_poster(); ?>
on <?php echo date(“D M j, Y g:i a”, strtotime($topic->topic_time)); ?></br></td></tr>
The topic in front page is ordered by the latest comment.
When a member post comment in old topic.It’s view in first topic.
It’s hard to know about real latest topic.
Can I re-order the topic from latest comment to topic started date?
Help me, please