solved Latest Comments - HTML Markup Displayed

Dazed
Dazed
@dazed
8 years ago
1,022 posts
I am using jrComments on my side_home.tpl/side_comments.tpl file and wanted to see how to resolve this issue. When a user uses the quote option to reply, I am seeing the html markup for the quote in the comment. Ideally I should see some different color and the username on the block quote vs the html code.

Thanks!
updated by @dazed: 12/19/16 05:38:32AM
michael
@michael
8 years ago
7,719 posts
Not enough info to setup to see it happening. I'm reading "I have some custom templates. The templates have a quote option button. HTML markup is appearing when the button is used. How do I fix it?"

Need more info.
updated by @michael: 09/18/16 11:15:00PM
Dazed
Dazed
@dazed
8 years ago
1,022 posts
Hey Michael - These are default ProJam templates. It is really a bug.
michael
@michael
8 years ago
7,719 posts
got a URL? I'm not understanding how to see the issue. I'll look in projam maybe I can understand.
Dazed
Dazed
@dazed
8 years ago
1,022 posts
Attached is an example.

Repro Steps:

1. Go to a song comment
2. click quote and reply
Result - Latest Comments displays quote
douglas
@douglas
8 years ago
2,791 posts
Dazed:
I am using jrComments on my side_home.tpl/side_comments.tpl file and wanted to see how to resolve this issue. When a user uses the quote option to reply, I am seeing the html markup for the quote in the comment. Ideally I should see some different color and the username on the block quote vs the html code.
Thanks!

I've got this fixed for the next release.

In your skins/jrProJam/side_comments.tpl, change the comment text variable from this:

{$item.comment_text|truncate:200:"...":false|jrCore_strip_html}

to this:

{$item.comment_text|truncate:200:"...":false|jrCore_format_string:$item.profile_quota_id}

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Dazed
Dazed
@dazed
8 years ago
1,022 posts
Hey Doug - That came out a little off. See screenshot.
douglas
@douglas
8 years ago
2,791 posts
Something else is going on there, it is working on my dev site.

Can you send us your admin login so I can check it out?

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Dazed
Dazed
@dazed
8 years ago
1,022 posts
sent!