[RSS Feed/News] Show attachments for guests - but not everywhere?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
We can extend XF\BbCode\Renderer\Html[/code] to tell [icode]$options['viewAttachments'] = true;

In XF\Entity\Attachment we care for canView

but ...

I want to do this only for one part of my site.
In forum and threads and resources/updates everything should be like normal, guests can't see full attachments.
But in /mynewpage i want to show them.


Do I have any information like: I come from class xyz or my context is yxz?
If not, how can I do that, please?

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom