-
reasecret: Please verify your purchase to get support please. 🙂
Hi, I sent you the comments.php file but I still have no reply from you. Just want to make sure you received it.
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;
}First to integrate your avatar, change this
PHP1print ‘<div class=”blog_author_image singlepage” style=”background-image: url(‘ . $avatar . ‘);”></div>’;to:
PHP1echo get_avatar($comment,60);and to get the UserPro profile link change
PHP1get_comment_author_link()To:
PHP12global $userpro;echo '<a href="'.$userpro->permalink( $comment->user_id ).'">'.userpro_profile_data('display_name', $comment->user_id).'</a>';This is the logic for integrating it to theme comments.
avatar happened, but with profile link to the problem. An error – white screen
OK! Thank you very much! It works. I think another question I have is of you.
As in this code, I replace the link .$dash_profile. on the profile link this plugin?
Thanks in advancePHP1234567891011121314151617181920212223$dash_link = get_dashboard_link();$logged_display='<h3 class="widget-title-sidebar" >'.__('Привет ','wpestate'). ' '. $user_login .' </h3><ul class="wd_user_menu"><li> <a href="'.$dash_profile.'"> '.__('Мой профиль','wpestate').'</a> </li><li> <a href="'.$dash_link.'">'.__('Мои темы(Форум)','wpestate').'</a> </li><li> <a href="'.$dash_favorite.'">'.__('Моё избранное','wpestate').'</a> </li><li> <a href="'.wp_logout_url().'" title="Logout">'.__('Выйти','wpestate').'</a> </li></ul>';if ( is_user_logged_in() ) {print $logged_display;}else{print $display;}print $after_widget;}}Sorry I can’t normally insert code
Hi,
I have difficulty with my theme, can you help me !
I have found for the function (global $ userpro;) but I do not find for the rest.
Can I send you the code?
Best Regards !
I also am needing some help deciphering my theme’s comments files… is this something someone would be willing to do? If so, I can e-mail the files or give you FTP. Thank you! BTW: Theme is 3clicks from TF.
Please all, send me your themes and I will attempt the integration in my test site and send you the updated files.
Ahmed, I just sent you an email I am running into problems and was seeing if you could take a look. I sent the comments.php file
You must be logged in to reply to this topic.