1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Hiding images question

Discussion in 'XenForo Questions and Support' started by Benas223, Oct 5, 2014.

  1. Benas223

    Benas223 Member

    Hey, I have a forum section for "Reporting rule breakers", and I want to allow users to upload images there, however den other users to view those images (only admins and thread creators).

    Any ideas?
     
  2. dieketzer

    dieketzer Well-Known Member

    'post attachments to posts' and 'view attachments to posts' are separate usergroup permissions...
     
  3. Benas223

    Benas223 Member

    If I do "Revoke" for "view attachments to post" for "Registered" user group. Then they can't even upload images.
    [​IMG]

    The "Upload file" is missing.


    [​IMG]

    And the previously uploaded images shrink up a little size, and they can't view a full images which is good. But is there an option to completly remove images so they cant see them? Because you can clearly read some words on the images.
     
  4. Mike

    Mike XenForo Developer Staff Member

    You can only attach if you can view (as there isn't an exemption for your own attachments).

    Otherwise, there are no options to prevent viewing the thumbnails.
     
  5. Benas223

    Benas223 Member

    Any suggestions?
     
  6. Martok

    Martok Well-Known Member

    Instead of trying to do this (which can't be done), you could revoke the View threads by others permission for Registered and allow it for Moderators in this forum. That way users can post a report but can only see their own threads (and therefore images) whilst moderators can see all threads.
     
  7. Benas223

    Benas223 Member

    I thought about this already. But we have a form that they need to follow while reporting a rule breaker. Is there away to allow one thread to be view by everyone on that forum?
     
  8. Martok

    Martok Well-Known Member

    You could possibly use a notice in that forum to explain this. If not enough space, use the notice to link to a XenForo page with the details on it.
     
  9. dieketzer

    dieketzer Well-Known Member

    have you considered writing a custom conditional?
     

Share This Page