By Brent Williams on Saturday, 03 June 2017
Posted in Technical Issues
Likes 0
Views 551
Votes 0
In the previous version (I think) there was a link to subscribe to the author within the author bio area below a blog. It doesn't appear to be there now. It may be that something is not working on my install. For example, I see this code:


<?php if (!$this->my->guest && EB::friends()->hasIntegrations($post->author)) { ?>
<span>
<?php echo EB::friends()->html($post->author);?>
</span>
<?php } ?>


That code is spitting out an empty span on the front end, but nothing in the span. So that could be the subscribe link and it is just not working for me.

UPDATE: Nevermind, I just realized that this has something to integration with things like Jomsocial.

If that isn't the case, I tried to add this code:


<?php if (!$isBloggerSubscribed) { ?>
<span>
<a href="javascript:void(0);" data-blog-subscribe data-type="blogger" data-id="<?php echo $author->id;?>"><?php echo JText::_('COM_EASYBLOG_SUBSCRIPTION_SUBSCRIBE_TO_BLOGGER');?></a>
</span>
<?php } else { ?>
<span>
<a href="javascript:void(0);" data-blog-unsubscribe data-type="blogger" data-id="<?php echo $author->id;?>" data-email="<?php echo $this->my->email; ?>"><?php echo JText::_('COM_EASYBLOG_SUBSCRIPTION_UNSUBSCRIBE_TO_BLOGGER');?></a>
</span>
<?php } ?>


That seemed to work on the front end, but didn't actually add the entry into the subscriptions area.

NOTE: The link I provided is for our dev server. Let me know if that is a problem.
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Can you check my attached screenshot below and see is it you referring this area?

If yes, I already checked the previous version, we actually no render the subscription on that area, but we got render subscription on this entry post link on the blog, you can see this screenshot : http://take.ms/edPXI
·
Saturday, 03 June 2017 09:20
·
0 Likes
·
0 Votes
·
0 Comments
·
The attached screenshot is exactly right. As for the option in the linked screenshot, that is just subscribing to updates to that particular blog, not for updates for future blogs by that author, correct?

I'll edit my original post to include a link in the additional info area to show it is working on my site right now in version 3.9.
·
Saturday, 03 June 2017 09:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Try download my attached file and replace into this following file and see how it goes?

JoomlaFolder/components/com_easyblog/themes/wireframe/blogs/entry/author.php

I will log this into our tacker and see if we can implement back this in next version.
·
Saturday, 03 June 2017 11:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you! Just an FYI, the version I am on still used "author" instead of "creator", so once I changed that out, it worked perfectly for me. (I should have added my version number, so my fault)
·
Sunday, 04 June 2017 01:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Sunday, 04 June 2017 12:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post