Skip to:
Content
Pages
Categories
Search
Top
Bottom

Additional Info on Lastest Discussions

  • I’m trying to come up with a way to show additional information on the lastest discussions on the front page. I want to show the topic author’s avatar, name, title, the date it was first posted, and the forum it is in. I found some author functions in the post.php, but I think I need to make them within a post loop calling only the firs post. I haven’t figured out how to do that or how the topics.php is doing it.

    Here is what I’ve tried so far:

    ‘<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?></p>

  • <?php post_author_avatar(); ?>
  • <?php post_author_link(); ?>
  • <?php post_author_title(); ?>
  • <?php printf( __(‘Posted %s ago’), bb_get_post_time() ); ?>
  • <p> <?php endforeach; ?>

    `

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.