Re: Making `from` a link in Topic View
Solution found – bb_user_nicename_sanitize()
– needs peer review because of possible side-effects (UTF8 etc.)
<span><?php if ( 1 < get_topic_posts() ) : ?>
<?php printf(__('- <a href="%1$s">Latest reply</a> from '),attribute_escape( get_topic_last_post_link()) ) ?>
<a href="<?php bb_option('uri'); ?>profile.php?id=<?php echo (bb_user_nicename_sanitize(get_topic_last_poster(),50)); ?>"><?php echo get_topic_last_poster(); ?></a>
<?php endif; ?>
</span>
PS: A look into one’s database via phpadmin produces the right insights …