XF 2.3 Problem with permission visitor

Papy___

New member
Hello,
I'm using Xenforo 2 and I want to leave attachments visible but block downloads.I changed the permissions in the forums and the visitors group by denying downloads, but they still manage to do so.How can I do this?
Thanks.
 
Use the permissions analyzer as it will show you what needs to be changed to stop downloads. Im sure you are wanting users to view attachments but just not download them?
 
View attachments to posts: NO
This will stop users downloading attachments from posts

Hello,
thank you for your reply.If I do this, the images inserted into messages will be thumbnails, but I want the images to be a normal size for visitors and to block the downloading of attachments, such as .zip, .rar, etc.

Use the permissions analyzer as it will show you what needs to be changed to stop downloads. Im sure you are wanting users to view attachments but just not download them?

Hello and thank you for your reply.
I want visitors to be able to view images in posts, but some posts contain .zip, .rar, etc. files, and I want to force them to register to download them.
Using the permissions analyzer isn't possible since you have to enter a member's username to test permissions, and I'm testing visitors' permissions.
 
like I said xenforo handles attachments.
You can accomplish this with template modification.
If is user show the file, and if is guest hide the file and show a text message like “register to download “ with an font awesome icon

With permissions you can’t accomplish that.
 
In the group and forum permissions management, you can set whether or not to view attachments, and another option to allow or disallow downloads, but it doesn't work because I allow the visitor group to view but not download.So for me, it's a bug, but no big deal, I'll figure it out. Thanks.
 
Back
Top Bottom