bbp_author_ip(bbp_get_topic_id()); ?> </div> <?php do_action('bbp_theme_after_topic_author_admin_details'); ?> <?php } ?> </div> <!-- <div class="author"><span><?php bbp_topic_author_link('type=name'); ?> </span></div> --> <div class="meta-counts fr"> <span class="hits"><?php _e('Hits:', 'bbpresskr'); ?> <strong><?php bbpkr_topic_views(); ?> </strong></span> <span class="favs"><?php _e('Favorites:', 'bbpresskr'); ?> <strong><?php echo bbPressKR\Topic::favorites_counts();
<div id="post-<?php bbp_topic_id(); ?> " <?php bbp_topic_class(); ?> > <div class="bbp-topic-author"> <?php do_action('bbp_theme_before_topic_author_details'); ?> <?php bbp_topic_author_link(array('sep' => '<br />', 'show_role' => true)); ?> <?php if (bbp_is_user_keymaster()) { ?> <?php do_action('bbp_theme_before_topic_author_admin_details'); ?> <div class="bbp-topic-ip"><?php bbp_author_ip(bbp_get_topic_id()); ?> </div>
<?php bbp_topic_author_link(array('sep' => '', 'show_role' => false, 'type' => 'avatar', 'size' => 65)); ?> <?php do_action('bbp_theme_after_topic_author_details'); ?> </div><!-- .bbp-topic-author --> <div class="bbp-topic-content"> <div class="mom-bbp-reply-author mom-main-font"> <span class="mom-main-color"><?php bbp_topic_author_link(array('sep' => '', 'show_role' => false, 'type' => 'name')); ?> </span> <?php _e('on:', 'framework'); ?> <?php bbp_reply_post_date(); ?> <a href="<?php bbp_topic_permalink(); ?> " class="bbp-topic-permalink alignright">#<?php bbp_topic_id(); ?> </a> </div>
?> </a> <?php if (bbp_get_topic_post_count() > 1) { ?> <a class="last-reply-link" href="<?php bbp_topic_last_reply_url(); ?> " title="Jump to the last reply">→</a> <?php } ?> </h3> <p class="forum-description"> Started by <?php bbp_topic_author_link(array('type' => 'name')); ?> <?php if (!bbp_is_single_forum()) { ?> in <a class="topic-location" href="<?php bbp_forum_permalink(bbp_get_topic_forum_id()); ?> " title="Browse this forum"><?php bbp_forum_title(bbp_get_topic_forum_id()); ?> </a> <?php } ?>
?> <?php do_action('bbp_theme_before_topic_meta'); ?> <div class="bbp-topic-interface"> <ul class="bbp-topic-interface-c"> <?php do_action('bbp_theme_before_topic_started_by'); ?> <li class="bbp-topic-started-by"> <?php bbp_topic_author_link(array('size' => '14')); ?> </li> <?php do_action('bbp_theme_after_topic_started_by'); ?> <?php do_action('bbp_theme_before_topic_freshness_link'); ?> <li class="bbp-topic-freshness"> <?php bbp_topic_freshness_link();
</td> </tr> <tr id="post-<?php bbp_topic_id(); ?> " <?php post_class('bbp-forum-topic'); ?> > <td class="bbp-topic-author"> <?php bbp_topic_author_link(); ?> <?php if (is_super_admin()) { ?> <div class="bbp-topic-ip"><?php bbp_author_ip(bbp_get_topic_id()); ?> </div> <?php } ?>
<div id="post-<?php bbp_topic_id(); ?> " <?php bbp_topic_class(); ?> > <div class="bbp-topic-author"> <?php do_action('bbp_theme_before_topic_author_details'); ?> <?php bbp_topic_author_link(array('size' => 60, 'sep' => '<br />', 'show_role' => true, 'type' => 'avatar')); ?> <?php if (is_super_admin()) { ?> <?php do_action('bbp_theme_before_topic_author_admin_details'); ?> <div class="bbp-topic-ip"><?php bbp_author_ip(bbp_get_topic_id()); ?> </div>
</td> </tr> <tr id="post-<?php bbp_topic_id(); ?> " <?php post_class('bbp-forum-topic'); ?> > <td class="bbp-topic-author"> <?php bbp_topic_author_link(array('sep' => '<br />')); ?> <?php if (is_super_admin()) { ?> <div class="bbp-topic-ip"><?php bbp_author_ip(bbp_get_topic_id()); ?> </div> <?php } ?>
?> <?php } ?> <?php do_action('bbp_theme_after_topic_author_details'); ?> </div><!-- .bbp-topic-author --> <div class="bbp-meta"> <?php bbp_topic_author_link(array('type' => 'name', 'show_role' => false)); ?> <span class="bbp-topic-post-date"><?php bbp_topic_post_date(bbp_get_topic_id()); ?> </span> </div> <div class="bbp-topic-content"> <?php do_action('bbp_theme_before_topic_content'); ?>
/** * Search Loop - Single Topic * * @package bbPress * @subpackage Theme */ ?> <div class="search-result"> <div class="avatar"> <div class="bbp-topic-author"> <?php do_action('bbp_theme_before_topic_author_details'); $args = ['sep' => '', 'show_role' => true, 'type' => 'avatar']; bbp_topic_author_link($args); ?> </div><!-- .bbp-topic-author --> </div> <div class="result"> <div class="bbp-meta"> <div id="country" style="float:left;margin-right:.5em;"> <?php $user = get_userdata(bbp_get_reply_author_id()); $country = xprofile_get_field_data(42, $user->ID); dh_get_flag_by_location($country); ?> </div> <div class="smallusername"> <?php
/** * Single Topic Lead Content Part * * @package bbPress * @subpackage Theme */ ?> <div class="topic-lead"> <div class="author"> <?php bbp_topic_author_link(array('sep' => '', 'show_role' => false)); ?> <?php do_action('bbp_theme_after_topic_author_details'); ?> <div id="country" style="float:inherit;margin-right:.5em;"> <?php $user = get_userdata(bbp_get_reply_author_id()); $country = xprofile_get_field_data(42, $user->ID); dh_get_flag_by_location($country); ?> </div> <?php $user = get_userdata(bbp_get_reply_author_id()); if (!empty($user->user_nicename)) { $user_nicename = $user->user_nicename;