Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to disable the downloads for registered but blocked users?

+2 votes
asked Apr 10 in Q2A Core by Datagor


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
commented Apr 12 by pupi1985
What downloads are you exactly talking about?
commented Apr 12 by Datagor
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.

commented Apr 12 by pupi1985
Can anonymous users read questions' or answers' content?
commented Apr 13 by Datagor
No. I switch it off.

1 Answer

0 votes
answered Apr 11 by MONKEY
Okey . Maybe go at your cPanel

After this .put the IP block into the security/ IP blocker and check
commented Apr 12 by Datagor
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.