Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Full Content of Most Recent Post on Front-Page?

i want to display the most recent post, no matter what forum it happens to be from. is that possible?

i tried doing what you said but maybe i messed it up because i’m getting a mysql syntax error. here is what i have, forgive me if it looks glaringly stupid:

<?php
$forum_id = 1;
$forum_one_topics = $bbdb->get_row("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id ORDER BY topic_time DESC ") ?>
<?php
$forum_one_topic_posts = get_thread( $forum_one_topics->topic_id); ?>
Re: <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a>
<span class="gray">
<a href="<?php get_user_profile_link( $id = 0, $page = 1 ); ?>">
<?php echo $forum_one_topics->topic_last_poster_name; ?></a> said:</span> <span class="justify"><?php echo $forum_one_topic_posts[0]->post_text;
?></span>

sorry, i’m really trying to get it :/

Skip to toolbar