exstreme / Jcomments-4

Modified Jcomments 3.0.7 with Recaptcha 2 in comments. Adapted to Joomla 4. No compatibility with Joomla 1.5\2.5\3.x
16 stars 12 forks source link

Line break not working in Jcomments 4.0.27 #126

Closed philevr closed 1 year ago

philevr commented 1 year ago

I come back with my problem of line break with the last version of Jcomments (4.0.27).

Previously, you asked me to access my site : not possible because my migrated site was only local (Wamp). I have now proceeded to Joomla 4 migration of my site to my external server with a version which is not in production. You can access this site on https://corse-sauvage/CS-J4.

As an exemple of NEW comment processed with the new Jcomments, see the last comment on this page : https://corse-sauvage.com/CS-J4/randonnee/sud-est-corse/br%C3%A8che-du-carciara.html

If you register as visitor (on the home page with mega menu and mouse on "Accueil"), you will be able to edit and suppress a comment you sent by yourself !

Globulopolis commented 1 year ago

@philevr please download https://raw.githubusercontent.com/Globulopolis/Jcomments-4/master/component/site/jcomments.ajax.php and replace the file components/com_jcomments/jcomments.ajax.php. Download https://raw.githubusercontent.com/Globulopolis/Jcomments-4/master/component/site/classes/smilies.php and replace the file components/com_jcomments/classes/smilies.php

Edit test comment(insert some new lines) save and let me know the result.

philevr commented 1 year ago

Wonderful ! It works as you can see the same comment previously shown to you now corrected (file attached). It works as well when sending a new comment as when editing a previous one...

Sans titre - 13

Was it a bug ?

Option : could you do something for the incorrect wiki "list" (already incorrect in Jcomments/J3) ? In my comment, I write ligne 1 ligne 2 ligne 3 as a "list" :

Globulopolis commented 1 year ago

Was it a bug ?

Not really.

Option : could you do something for the incorrect wiki "list" (already incorrect in Jcomments/J3) ?

Do you mean when entering the list elements one by one? If yes - no, I cannot fix it. Just copy/paste list elements.

philevr commented 1 year ago

No, just trying to correct list processing by Jcomments ! The list elements when entered globally and selected to be processed as list are incorrectly processed (it seems to me). Of course, it is a minor issue, but when one of my visitor is commenting using "list", I am obliged to correct the resulted comment !

Thanks for your work and your help ! I go on testing Jcomments 4 version...