By Vincent Robert on Sunday, 10 April 2016
Posted in General
Likes 0
Views 389
Votes 0
Hello!

I have 2 requests:

1. I'd like to remove the "Already registered Login Here" line that exists in the comments section of a blog post (pic attached)
2. I would also like to remove the "subscribe to this blog post" tic box in comments. (Pic attached)

Finally, is there still no way to hide/expand the comments and comment field when a blog post loads? This is a very important feature I feel

Thank you
Hey urzh,

I am really sorry for the delay of this reply as it is a weekend for us here. Please find my response to your inquiries below:


1. I'd like to remove the "Already registered Login Here" line that exists in the comments section of a blog post (pic attached)

You can edit the theme file in /components/com_easyblog/themes/wireframe/comments/form.php and remove the codes below:


<?php if ($this->my->guest) { ?>
<div class="pull-right">
<?php echo JText::_('COM_EASYBLOG_COMMENTS_ALREADY_REGISTERED');?>
<a href="<?php echo $loginURL;?>"><?php echo JText::_('COM_EASYBLOG_COMMENTS_ALREADY_REGISTERED_LOGIN_HERE');?></a>
</div>
<?php } ?>



2. I would also like to remove the "subscribe to this blog post" tic box in comments. (Pic attached)

You can edit the same file and remove the codes below:


<?php if (!$subscribed && $this->config->get('main_subscription') && $blog->subscription) { ?>
<div class="eb-checkbox">
<input type="checkbox" name="subscribe-to-blog" id="subscribe-to-blog" value="1"<?php echo $this->config->get('comment_autosubscribe') ? ' checked="checked"' : '';?> data-comment-subscribe />
<label for="subscribe-to-blog">
<?php echo JText::_('COM_EASYBLOG_SUBSCRIBE_BLOG');?>

<?php if (!$this->my->guest) { ?>
(<?php echo $this->my->email;?>)
<?php } else { ?>
(<?php echo JText::_('COM_EASYBLOG_ENTRY_AUTO_SUBSCRIBE_NOTE');?>)
<?php } ?>
</label>
</div>
<?php } ?>
·
Sunday, 10 April 2016 16:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Wow! that's great and worked! Did you see my other note about comments? Thanks for the info.

Finally, is there still no way to hide/expand the comments and comment field when a blog post loads? This is a very important feature I feel
·
Monday, 11 April 2016 01:09
·
0 Likes
·
0 Votes
·
0 Comments
·
I am sorry but there is no way to achieve this currently.
·
Monday, 11 April 2016 01:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post