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.

Pasting text into group discussions and notification is corrupted

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:
Our users are pasting text from other sources and pasting into into the group discussion form. When it is emailed out the text is corrupted and is outside the jomsocial template, the link to reply is corrupted. It is like the html file is not adapting for new text from an outside source. Is there a way of using jce editor instead of the jomsocial editor which doesn't cope with text from another source?

STEPS TO REPLICATE:
1 Paste text into new group discussion from a word document or elsewhere.
2
3
4
5
RESULT: Text falls outside the jomsocial notification template and link is corrupted.
EXPECTED RESULT: Text remains inside the notification template and link is clear for user to reply
BROWSER: Chrome, Safari

9 years 7 months ago
Licenses:

Hi, Susan.

The problem lies NOT in our editor (JCE will work the same way) but source text. I presume it's copied from MS Word or from website? Then it's copied with HTML code.

Text should be copied from source to simple text editor like Notebook or BlueFish or any other that removes code from source text.

This issue (well, it's not an real issue IMHO) apply to ALL WYSIWYG editors. May I see where issue occurs?


- 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
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

I think a lot of users would assume they can can cut and paste text. See attachment

9 years 7 months ago
Licenses:

Hi, Susan.

I'm sorry but no attachment was provided....


- 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
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

Image attached

Attachments:
9 years 7 months ago
Licenses:

Hi, Susan.

Ok, could you forward me that email at michael [at] ijoomla.com?


- 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
9 years 7 months ago
Licenses:

Hi, Susan.

I confirm. Email is corrupted because HTML code pasted inside. Code was copied along with text from external source. Then email processor loads text+code into email... and code damages email template.

So there are three options:

- copied text should be cleared from html tags by pasting into Notebook
- copied text should have correct HTML code (the one who copies it should review if code is completed or contains invalid tags)
- you use text email instead of 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
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

Like many community users, they are not going to know a thing about html, so jomsocial needs to adapt to text being pasted in. I understand that JCE editor can cope with this generally?

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

We didn't use to have this problem with earlier versions of jomsocial by the way.

9 years 7 months ago
Licenses:

Hi, Susan.

No, the same result will be using JCE. This is very common issue - users are not aware that copying text from MS Word or web sites will also copy code. Please, do a simple test: open Word document with some text. Then copy it directly to JCE. Next click [Toggle editor] button that is right above upper right corner of toolbar. It will switch to HTML - you'll see how many trash code is copied along text.

Result should be similar: i.imgur.com/pyhxcDH.png

The same text with pasted in Notebook first and then to editor: i.imgur.com/xWzmI5y.png There are only <p> (paragraphs) and <br /> (break lines).

I think we can't enable auto clean up as this will also clean code create by user in text field.... and so many users request to have HTML markup.This issue doesn't apply to JS version that doesn't have WYSIWYG editor for some fields (I recall that some versions ago there wasn't WYSIWYG editor for events description field....).


- 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
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

I don't agree. This was not a problem before in Jomsocial and it is now. JCE is able to cope better with text pasted in. We have had a lot of users creating these corrupted emails in the past few weeks and this was not the case previously.

9 years 7 months ago
Licenses:

Hi, Susan.

Did you tested copying text from e.g Word to JCE like I suggested?

This was not a problem before in Jomsocial

What version do you mean then?


- 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
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

4.08

9 years 7 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

It doesn't necessarily means there was no "problem" in JomSocial 4.0.8 to say it with your words.
Try to paste same bulk of code that breaks in 4.1 and it will most likely break in 4.0

Let me just make one thing clear. If we strip down HTML after submit then we are making another problem



Also, JomSocial forms are not articles. And editors like JCE are primarily made for Joomla articles which are in turn created to fully support it. JomSocial forms aren't and will never be, hence we will never again support Joomla article editors.
Frankly, i am not even sure why previous JomSocial developers decided that was even remotely a good idea.

I will not spend a second blaming Microsoft Word for having dirty code. Instead, how do you propose we strip down the HTML and not strip the HTML inserted manually with the buttons on the image above?


- Don't say feature not working. Instead, explain what you tried and what was the outcome.
- When you think you found the bug, try to replicate it on a fresh Joomla.
- When looking for support always provide temporary Super Administrative access to your site. We will ask for it anyway.
- Help yourself and read documentation which can give you answers to almost all questions you may have
Attachments:
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