By Sunny on Tuesday, 18 July 2017
Posted in Technical Issues
Likes 0
Views 457
Votes 0
Hi,

I'm trying to render a comment box in another part of my site.

I' stuck at

<?php
require_once(JPATH_ROOT . '/administrator/components/com_easysocial/includes/easysocial.php');

$lib = ES::comments( $uid , $element , $verb , $group , $options );


can you please guide what is the parameter to render the comment box.
Thanks for understanding Sunny
·
Thursday, 20 July 2017 10:08
·
0 Likes
·
0 Votes
·
0 Comments
·
I would strongly suggest that you refer to the content plugin which is located in /plugins/content/easysocial/easysocial.php . There is a method called "renderComments" that would probably be able to help you out.
·
Tuesday, 18 July 2017 22:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark for pointing out,

While implementing i found that there seems to be an issue with the bbcode parser of the stream for urls

url]https://www.bbcode.org/[/url
this renders correctly with link opening in a new page

url=https://www.bbcode.org/]This be bbcode.org![/url
this is an issue, the link is not rendered correctly. the link url generated is http://localhost/joomla/This%20be%20bbcode.org! instead of https://www.bbcode.org/

(i've remove the opening & Closing brackets so that the bbcode text above doesnt get parsed as link in this post)


you can check by posting the above two bbcode strings in status update form, these are probably regex for bbcode->html parsing issue.

could you please provide a fix?

regards
·
Wednesday, 19 July 2017 14:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sunny,

I've replicate this issue locally seems like I can reproduce the issue. I've logged this issue in our issue tracker and our developers will take an action for this.

Thanks for your understanding.
·
Wednesday, 19 July 2017 17:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Muhammad,

Can you please provide a temp hack, so that i can override & complete my task and move on to next.

regards
Sunny
·
Wednesday, 19 July 2017 18:14
·
0 Likes
·
0 Votes
·
0 Comments
·
This is still being worked on by our developers. Since this isn't a critical issue, I would suggest that you wait for the next release which will be available soon.
·
Wednesday, 19 July 2017 21:01
·
0 Likes
·
0 Votes
·
0 Comments
·

Its critical for me!
·
Wednesday, 19 July 2017 21:25
·
0 Likes
·
0 Votes
·
0 Comments
·
What I meant by critical is that the issue does not break your site or causes any fatal errors. If everything is critical for you and we need to fix everything immediately, we wouldn't have time to patch up the software

I hope you understand where we are coming from. Thanks for being understanding.
·
Wednesday, 19 July 2017 22:27
·
0 Likes
·
0 Votes
·
0 Comments
·
I understand, my comment was jest.

I'm happy that I could be of help in making you achieve perfection.

Looking forward for the next release.
·
Thursday, 20 July 2017 02:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi mark,
In the meanwhile can you pls direct me to the file which does bbcode parsing in stream.
I'll try taking a shot at it.
Rgds
·
Saturday, 22 July 2017 00:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sunny,

We have already pushed out 2.0.20 which solves this issue If you cannot update to this version, you need to look at the file below,

/administrator/components/com_easysocial/includes/bbcode/adapters/decoda/library/filters/UrlFilter.php
·
Saturday, 22 July 2017 00:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark, You are a superhero!!
·
Saturday, 22 July 2017 13:45
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Saturday, 22 July 2017 13:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post