Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Status Share - "\n" instead a new line

10 years 11 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi,

I just have upgraded my Jomsocial to the latest one (3.2.0.4) but this issue still there.
By the way this issue exists since Beta Version.

Every status shared from any user appears like this:

Bom dia!\nAté que enfim chegou a sexta-feira!


Instead of:

Bom dia!
Até que enfim chegou a sexta-feira!


How can I fix it?

Regards
Fernando

10 years 11 months ago
Licenses:

Hi, Fernando.

In order to fix it:

Copy this file:

ROOT/components/com_community/templates/actvities.index.php

to

/templates/your_template/html/com_community (if you don't have "html" or "com_community" folders, feel free to create them)

Edit file in line 217 (or 210 if you use JS 3.2.0.3)

Change this

echo $html;

with this:
echo str_replace('\n', '<br>', $html);


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 11 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi Michal,

The issue was fixed. Thanks a lot!

Regards
Fernando

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW