Problem with text editor

1

The text editor (trumbowyg) has issues. The text-align function doesn't work. Enumerations don't work as well. You can see it correctly when you are in the editor widget but when you send the body message it will remove the alineations and enumerations from the message you sent before. This is caused by the forum, that is removing the HTML styles you have set before on the editor.

We have the last version of the forum.
Please take a look and fix this issue asap. Thanks.

Question Resolved For: Simple Forum - Responsive Bulletin Board 1 Votes 9 Answers 646 Views
Asked by Alberto Romero 4 years ago

1

Answered by Mian Saleem 4 years ago

Hello,

I was thinking to remove all special character and escaping as the database query builder will avoid the sql injection but to be secure side it is there and that comes with limitation as you mentioned. I will check in next update about this again.

Thank you

0

Answered by Alberto Romero 4 years ago

Can you make a quick fix in our website please? We really need it now, we fixed all the other bugs your forum has.

0

Answered by Mian Saleem 4 years ago

There is no quick fix 😦 You can check the encode_html method of app/libraries/Tec.php if you don't want to remove tags or encode.

0

Answered by Alberto Romero 4 years ago

what should I edit there to make text-align and enumerations work when the message has been posted?

0

Answered by Mian Saleem 4 years ago

I am not sure, otherwise already told you. May be you can try not to strip_tags and/or htmlentities.

0

Answered by Alberto Romero 4 years ago

Well, I finished coding the first release of our forum, I have fixed that bug from text-editor as well as 100 bugs more.
There are many errors, many things that have no sense, you should check all your files, for example, the random icons bug, why you want in every reload to have a different letter image? just if he doesn't have an avatar set, use the one from the gender, is what we do just to fix that, is only 1 of the 100 there are, please take a look, we will not update our forum by your updates obviously but help the other people that have the same issue, also, avoid using your security.php library for HTML tags, we used with the allowed tags HTMLpurifier library and no issues.

0

Answered by Sébastien Mathiot 4 years ago

HI.
Is it possible to have your code for editor debugging ? Thanks a lot.

0

Answered by Mian Saleem 4 years ago

Alberto Romero I don't know your definition of bug. You can't call everything bugs that you don't like or expect to be different. In that case these things must be checked before purchase on demo to be on safe side and avoid this situation.

We don't advertise that isn't in item and we do listen for bugs and error and fix them time to time. The issue you saying about the avatar is not bug, it's done purposely to let keep user attention that he don't have any avatar. There might be more bugs but you need to tell us so that we can check and fix. The review is not helpful at all and I have no clue what you are talking about.

As you know, you might need to update for any security or other issue so the best way to report the bug to us and let us fix it (if it's bug, we can't change anything for personal likes/dislikes) but will surely fixed the error, if reported any.

The is general item and not designed for anyone specially and you are allowed to modify as per license. We don't offer help for modifications or modified versions.

Thank you

0

Answered by Mian Saleem 4 years ago

Sébastien Mathiot There is no option front end debugging but only php and mysql side. You can enable error logs by changing the log_threshold to 1 in app/config/config.php and database debug can be enabled in app/condig/database.php

Please ask separate question instead posting reply in other questions.

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.