[cXF] Hide attachments with notice

[cXF] Hide attachments with notice 1.1.1

No permission to download
Hi, it doesn't seem to work in my case, let me explain.

All my users have the "Registered" group as their main group and I have unchecked the attachment display to "No".

I created a sub group named "Advanced"
and I selected the attachment view to "Yes"

I created the group promotion.

And with xenforo it works.
---
Now, I have downloaded your addon, and I have given view permissions on "Yes" to the users of the "Registered" group,

I left the view permissions for the advanced group on "No".

I have tried several times but it still shows the warning anyway.
I also tried as many scenarios as possible. I'm stuck. Please have a guide or something on how to set permissions correctly?

Thank you so much
Miri
 
Is this also working for resource images that are put in via url ?
Im looking for an way to hide the images in my resources.
All the resources just have url images so i cant use the resource permission (can view images).
This is just working for uploadet pictures and not url based ones.

:/
 
Currently, no, but I'll see what I can do.

seems this Conditional works

PHP:
<xf:if is="$xf.visitor.isMemberOf([`5,6]) || !in_array($__globals.forum.node_id, [2,3])">
Show Content for Group 5/6 in Forum 2/3  

        <xf:else />
Show No Content for Group 5/6 in Forum 2/3  
</xf:if>
 
Last edited:
Top Bottom