Forum Replies Created
-
OK, I bought a plugin. I need help
in reply to: Integrating UserPro with your theme comments!Hello!
I’m still working on the test plugin
otlichngo want everything set up and only after buy the full version.I replaced the files on the server for integration with bbpress. But profiles forum is still not so beautiful …
http://list77.ru/forums/topic/kafe-bar-ili-restoran-na-kantemirovskoj#post-5808Hello!
I’m still working on the test plugin
otlichngo want everything set up and only after buy the full version.I replaced the files on the server for integration with bbpress. But profiles forum is still not so beautiful …
And I want to attach to the comments, I tried did not work. Here is my piece of code. Do not tell me where that change?
Thanks in advance!if (!function_exists(‘wpestate_comment’)) :
function wpestate_comment($comment, $args, $depth) {
$GLOBALS[‘comment’] = $comment;
switch ($comment->comment_type) :
case ‘pingback’ :
case ‘trackback’ :
?>
<li class=”post pingback”>
<p><?php _e(‘Pingback:’, ‘wpestate’); ?> <?php comment_author_link(); ?><?php edit_comment_link(__(‘Edit’, ‘wpestate’), ‘<span class=”edit-link”>’, ‘</span>’); ?></p>
<?php
break;
default :
?><li <?php comment_class(); ?> id=”li-comment-<?php comment_ID(); ?>”>
<div id=”comment-<?php comment_ID(); ?>” class=”comment”>
<div class=”comment-meta”>
<div class=”comment-author vcard”>
<?php
$avatar = get_avatar_url(get_avatar($comment, 60));
print ‘<div class=”blog_author_image singlepage” style=”background-image: url(‘ . $avatar . ‘);”></div>’;
print ‘<div class=”comment_name”>’ . get_comment_author_link();
edit_comment_link(__(‘Edit’, ‘wpestate’), ‘<span class=”edit-link”>’, ‘</span>’);
print ‘</div>’;
print ‘<div class=”comment_date”>’ . get_comment_date() . ‘</div>’;
?><?php ?>
</div><!– .comment-author .vcard –><?php if ($comment->comment_approved == ‘0’) : ?>
<em class=”comment-awaiting-moderation”><?php _e(‘Your comment is awaiting moderation.’, ‘wpestate’); ?>
<br />
<?php endif; ?></div>
<div class=”comment-content”><?php comment_text(); ?></div>
<div class=”reply”>
<?php comment_reply_link(array_merge($args, array(‘reply_text’ => __(‘Reply’, ‘wpestate’), ‘depth’ => $depth, ‘max_depth’ => $args[‘max_depth’]))); ?>
</div><!– .reply –>
</div><!– #comment-## –><?php
break;
endswitch;
}in reply to: Integrating UserPro with your theme comments!