Closed Evgura closed 4 years ago
I am not sure I understand your issue.
From the title I understand that there is unauthorized comments. I assume that this means that Guests are able to post comments, even though you do not want this.
In "Admin Area > Comments Manager > Preferences", the setting Allow anonymous posting?
is turned off?
Or are you referring to the content of the comment? In the first screenshot? If so, please set to English or translate to English.
Yes, comments are allowed without registration. What with the English language without it turns out the same. Also, the commentator icon is replaced with mine. Previously, you could write just like that.
I cannot confirm this. I get this when I am not logged in:
Are you using the latest files?
e107 Версия 2.2.2 (git)
@Moc I think he is trying to say:
I could be wrong...
Maybe this is related to that php 7.3 change
@Evgura on live site use max official 2.2.1 release from e107.org, not GitHub version
@Jimmi08 Версия PHP 7.2.18 Maybe it is connected with the engine version 2.2.2
@Evgura Very probably, I meant - after 2.2.1 release there was a big change in the core. If this is related, very good that you find it. But until full testing, you shouldn't use 2.2.2 on live site.
https://github.com/e107inc/e107/issues/2146
Did I get correct what you had on mind?
@Jimmi08 Maybe it has something to do with it. I'll try to roll back to 2.2.1
@Jimmi08 On version of engine 2.2.1, too, not earned. 2.2.0 not found where download. It turned out to run everything without errors on version 2.1.9
The theme of the website BS_Magazine_01
All releases are available here https://sourceforge.net/projects/e107/files/e107/ and here https://github.com/e107inc/e107/releases
It would be very interesting to test this on v2.2.0.
@Moc With the version of CMS 2.2.0 works fine.
I really am unable to reproduce this on my test installations. Using PHP 7.2 and 7.3, and the BS_Magazine_01 theme.
In Admin Area > Comment manager > Preferences
:
Allow users to post comments
: OnAllow anonymous posting?
: OffAvatars are working fine, logged in and logged out. When not logged in, I get the message saying that I should sign up first.
If I switch the anonymous posting to On, the name field appears and I can enter a comment.
Not sure what else I can do here.... Can anyone else reproduce this issue?
@Moc I do not understand, does not work on this subject (BS_Magazine_01), other fine.
Is anyone else able to reproduce this?
@Jimmi08 ?
PHP 7.2.16
latest github (sync yesterday)
Temp set:
Comment as Anonymous. Button submit - no refresh, the second click - warning about the duplicate post
Result still the same
I found this too: https://github.com/e107inc/e107/issues/3971
@Moc test it with Allow anonymous posting?: ON
Reproduced. Working on a fix.
Turns out I created the bug when trying to fix another bug (#3813). This issue should be fixed now with the latest files, please test and let me know.
There are still two issues, but these are separate issues:
Directly after entering an anonymous comment, the javascript that shows the newly added comment is not run. Therefore nothing seems to happen when the 'Submit comment' button is clicked, but the comment is added. After refresh, the comment appears. This works fine when logged in.
the datestamp directly after a comment is 'ago'. This is a bug in the relative date parsing. Will look into that. Same issue occurs in for example forum posts.
If you leave comments without logging in we get this...
If you then log in it turns out here that...
Comments in the admin set up, recalculation did.