e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
321 stars 213 forks source link

Without authorization comments. #3829

Closed Evgura closed 4 years ago

Evgura commented 5 years ago

eddv

If you leave comments without logging in we get this...

erty

If you then log in it turns out here that...

edss

edcaa

Comments in the admin set up, recalculation did.

Moc commented 5 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.

Evgura commented 5 years ago

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.

Moc commented 5 years ago

I cannot confirm this. I get this when I am not logged in:

image

Are you using the latest files?

Evgura commented 5 years ago

e107 Версия 2.2.2 (git)

Jimmi08 commented 5 years ago

@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

Evgura commented 5 years ago

@Jimmi08 Версия PHP 7.2.18 Maybe it is connected with the engine version 2.2.2

Jimmi08 commented 5 years ago

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

Evgura commented 5 years ago

@Jimmi08 Maybe it has something to do with it. I'll try to roll back to 2.2.1

Evgura commented 5 years ago

@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

Moc commented 5 years ago

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.

Evgura commented 5 years ago

@Moc With the version of CMS 2.2.0 works fine.

Moc commented 5 years ago

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:

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

Evgura commented 5 years ago

@Moc I do not understand, does not work on this subject (BS_Magazine_01), other fine.

Moc commented 4 years ago

Is anyone else able to reproduce this?

@Jimmi08 ?

Jimmi08 commented 4 years ago

PHP 7.2.16 latest github (sync yesterday) Temp set: image

Comment as Anonymous. Button submit - no refresh, the second click - warning about the duplicate post

Result still the same image

I found this too: https://github.com/e107inc/e107/issues/3971

Jimmi08 commented 4 years ago

@Moc test it with Allow anonymous posting?: ON

Moc commented 4 years ago

Reproduced. Working on a fix.

Moc commented 4 years ago

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.

Moc commented 4 years ago

There are still two issues, but these are separate issues: