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.

Invite Friends to event - message contains 'nn' instead of new paragraphs

9 years 7 months ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

ISSUE SUMMARY:

You invite Friends to an event and write a message. If you put new paragraphs into your message, the email notification does not contain new paragraphs, it puts 'n' instead.

Test it with a similar message to this:

Hi,

I hope you will be able to come to my party. It is going to be really fun and I have a lot of friends coming. Let me know if you need a lift to the party.

Thanks

Peter.

RESULT
Hi,nnI hope you will be able to come to my party. It is going to be really fun and I have a lot of friends coming. Let me know if you need a lift to the party.nnThanksnnPeter.

9 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Susan,

Thank you for reporting, this is a valid bug.

have a nice day!

9 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

For fixing this open this file plugins/system/jomsocial.system/pc_includes/ajax.php,

find this :

if(is_array($postData)){
                         foreach($postData as &$data){
                            $data = stripslashes($data);
                         }
                     }else{
                        $postData = stripslashes($postData);

replace to :
if(is_array($postData)){
                         foreach($postData as &$data){
                            $data = stripcslashes($data);
                         }
                     }else{
                        $postData = stripcslashes($postData);

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