By n00bster on Thursday, 09 January 2014
Posted in General Issues
Replies 13
Likes 0
Views 808
Votes 0
hi,

1 issue - facebook
after a member of my site posted in ED a new discussion the automated posting option in facebook did not shorted out the editor shortcode, and this shortcode was placed too in the text of the discussion on facebook: [i]
here you can see the image befor i have delete this fail posting on facebook.
http://www.screencast.com/t/zY7zu1hEn

2. issue - ED smileys in jomsocial stream
in the jomsocial stream the smiley icons are rendered as HTML IMG output, is this possible to set that all icons get rendered in normal TXT output
my problem now is that the img html tag get cut of in the middle of the code, it looks bad.
http://www.screencast.com/t/9DtnRX4KL
Hello n00bster,

Yes, we will add this fixes in next release.
·
Monday, 13 January 2014 00:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello n00bster,

Sorry for late reply to this,
Thanks for reporting on this, could you mind provide us with your Joomla backend, facebook, and FTP access so we can help you check on this issues? Please advise.
·
Thursday, 09 January 2014 22:14
·
0 Likes
·
0 Votes
·
0 Comments
·
please be careful, this is the live site.
i added joomla & ftp login data.
for facebook access, sorry but i can not give you this login infos.
·
Thursday, 09 January 2014 23:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello n00bster,

Sorry for late reply to this,
I have applied some fixes in your site, could you can publish a discussion post then check Jomsocial stream is it generate correct or not and your autoposting?
Let's us know that autoposting result, because we can't check at here.
·
Friday, 10 January 2014 16:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you explain what fixes do have done, that i can better understand what is going on.
·
Friday, 10 January 2014 18:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello n00bster,

Actually that was a bug, what i did for you is go to this file JoomlaFolder/components/com_easydiscuss/helpers/jomsocial.php
LINE 216

$content = strip_tags($content);

Replace with

$content = html_entity_decode(strip_tags($content));


Also, open this file JoomlaFolder/components/com_easydiscuss/classes/facebook/helper.php
LINE 103

$config = DiscussHelper::getConfig();
$content = $post->content;

Replace with

$config = DiscussHelper::getConfig();
$content = $post->content;
$content = EasyDiscussParser::bbcode( $content );


What this code do is html_entity_decode(strip_tags($content)); it will get rid of the html code then regenerate again with the code, when it pass the data to the JomSocial, so it will display properly.
This function EasyDiscussParser::bbcode( $content ); can make the html code [i] to be <i>, you can look at below got one code strip_tags( $content ); of the helper.php file, it will rid of the html code, so it won't display the html code from the content.
Hope this help.
May i know that fixes is it solve your 2 issues?
·
Friday, 10 January 2014 20:40
·
0 Likes
·
0 Votes
·
0 Comments
·
hi, thank you very much for the explanation.

but the activity messages from ED are still sending html code.
html linebreaks are not shorted out, you can see this in the latest activity message from ED on my site.
·
Saturday, 11 January 2014 04:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello n00bster,

I am really sorry for the delay of this reply as it is a weekend for us here.
You're welcome, may i know which latest activity message you mentioned at above? You can follow your first post provide some information like screenshot or URL, so we can help you solve it as soon as possible.
·
Saturday, 11 January 2014 15:19
·
0 Likes
·
0 Votes
·
0 Comments
·
here you can see the latest ED message, where the HTML "linebreak" are not strip out.
it is the second message in the activity stream in the live site.
http://www.screencast.com/t/ikon5dy6Ig0K
·
Sunday, 12 January 2014 17:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello n00bster,

Sorry for late reply to this,
That's strange, may i know how to login in your frontend, because when i click Login button then it redirect to this 403 error page http://screencast.com/t/7GKXWoRBmg
Please advise.
·
Sunday, 12 January 2014 21:46
·
0 Likes
·
0 Votes
·
0 Comments
·
i tested the login on the frontend with the logindetails from the user what i have set up for you, all went good.
test again please!
·
Monday, 13 January 2014 00:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello n00bster,

Thanks for your login detail
I'm sorry that was my mistake, because i forget to replace the code into JoomlaFolder/components/com_easydiscuss/helpers/jomsocial.php
so it work fine now, please have a check http://screencast.com/t/wULYhqgW6c0
·
Monday, 13 January 2014 00:30
·
0 Likes
·
0 Votes
·
0 Comments
·
ok, is this problem only on my site or would this code fix in the next release too?
·
Monday, 13 January 2014 00:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post