Hi,
I have a page that pulls data from topics and displays them on a new page. This works, but smiley tags aren't filtered and replaced. Now I understood that you need to ad a filter, but I have no idea how to do this with my current output.
This is how I get the text (this is in a foreach)
<?php echo $blog_topic_posts[0]->post_text; ?>
So this output needs to be filtered.
Complete foreach code of the text output:
<?php $blog_topics = get_blog_topics(); ?>
<?php foreach($blog_topics as $topic) :
$blog_topic_posts = get_thread( $topic->topic_id); ?>
<h1>"><?php topic_title(); ?></h1>
<?php printf(__('%1$s ago by %3$s'), get_topic_time(), get_user_profile_link($topic->topic_poster), get_topic_author()) ?>
<?php echo $blog_topic_posts[0]->post_text; ?>
<div align="right"><?php printf(__('Comments (%2$s)'), get_topic_last_post_link(), get_topic_posts()) ?></div>
<?php endforeach; ?>
Thank you for your time