Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
626 views
in Q2A Core by

Hello!

A blocked user feels happy now — he just can't posts something.
But he can reads anything and even downloads the files!
Wrong politics I think.

I want to disable the files download for blocked users.
This is common practice in the forums. No files for hooligans!  wink

Any suggestions, please?

Q2A version: 1.8.0
by
What downloads are you exactly talking about?
by
OK. I use my own qa-external-users.php. It works fine.
BUT if I set on "master site" a user as "blocked", then he can't post but can read and downloads.

I talking about all the attached files that I was upload to my server.
All files that can be downloaded.

May be there is other way to control users rights? To show or not some content.
To allow or disallow download from site.

May be I can make a new group with limited rights: no read, no write, no downloads?
As if it is unregistered.

Thanks!
by
Can anonymous users read questions' or answers' content?
by
No. I switch it off.

1 Answer

0 votes
by
Okey . Maybe go at your cPanel

After this .put the IP block into the security/ IP blocker and check
by
No, sorry, wrong way! :)
I just want to disable the files download for blocked users.

I am ready to change or make code, help me a little.
...