By Giuseppe Palmas on Tuesday, 19 December 2017
Posted in Technical Issues
Likes 0
Views 712
Votes 0
Hi. I enabled the ban feature in Easydiscuss but it seems not working.

As you can see in attached image, the user Peggy Carter (a test user) is banned by the Super User.
Then, I tried to ban again Peggy with another test user (Nick Fury, a moderator) and he gets the message "This user is already banned", and it is correct.
But however Peggy is still able to add some replies and comments.

Have you already experienced this problem?

My environment is updated to the latest versions of Joomla and ED. I'm working in a subdomain that I'm using as a test environment. If you want to investigate I can create an admin user for you and give you some test users.

This issue is not urgent for me. I can move to production environment without this feture.

Best regards!
Hi Giuseppe,

I could not reproduce this issue locally. When trying to create new discussion post: http://take.ms/6uw1J
But however Peggy is still able to add some replies and comments.
May I know how and where is the user adding replies and comments? The forms are supposed to be hidden to the user if they are banned in EasyDiscuss.
If you want to investigate I can create an admin user for you and give you some test users.
If the details provided here is not the site where the issue is happening, it would be great if you can include these information and also provide the login access for banned users(those that can add replies/comments).
·
Tuesday, 19 December 2017 13:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond! Sorry about the delay but I was busy in another project...

I just created a new test environment by cloning the demo site in another domain. Here you can do what you want in order to investigate: test.eclent.com
I edited this ticket and added some login accounts in the Additional Information section. I also added other useful infos.

I made some template overrides in /templates/shaper_helix3/html/com_easydiscuss You can delete the related folder or rename it, if you need.

Let me know if you need some other infos.
·
Sunday, 21 January 2018 04:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Giuseppe,

Hm, you are right. It looks like the user Peggy can still see the reply form and from what I can see in the codes, it is banning the user and also the ip address, and this is why if you are using a different ip address, it still works. I have made some modifications in the file /administrator/components/com_easydiscuss/models/bans.php , can you upload this file to your live site?
·
Sunday, 21 January 2018 16:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you! Now it's working in test environment.
I'm going to copy the fixed file in my other environment and to finally test it.

Just a question: have you planned to add this fix to the coming releases of ED or I have to overwrite the file on every sw update?
·
Monday, 22 January 2018 02:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Giuseppe,

Yep, this will definitely be fixed in the next release
·
Monday, 22 January 2018 12:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Great! Thank you.
·
Monday, 22 January 2018 12:06
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem Giuseppe. Have a great day!
·
Monday, 22 January 2018 12:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post