Forums
-
- Forum
- Posts
-
- Installation
- 28,349
- Troubleshooting
- 62,091
- Themes
- 10,373
- Plugins
- 15,302
- Requests & Feedback
- 14,871
- Showcase
- 3,252
-
Hey guys! I can’t make $result->topic_poster_name work in my 0.9.0.4 instalation.
Is this the right function for this version?
// REPLIES
$query_replies="SELECT * FROM bb_posts WHERE topic_id=$topic_id AND post_id != $first_reply_id AND post_status=0 ORDER BY post_time DESC";
$results_replies=$wpdb->get_results($query_replies);
$replies_text = "";
foreach ($results_replies as $result) {
echo $result->post_text;
echo $result->topic_poster_name;
}
The post_text works perfectly, but the poster_name returns me nothing. Any idea?
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS