XF 2.1 How to show full direct link from attachments ?

ShinLim

Active member
Hello,

I want to show full URL (direct link) from attachment

By default xenforo will show attachment like this

1701930958525.webp



And its full url (direct link) for example is like sub.domain.com/video/123/1-test.mp4 (because I'm using external storage server rather than store files on local server)

I need to make it show direct link rather than user click on attachments and then the server download video from storage server and then pass it to user, that's take a long time to wait and also cost bandwidth from my server, I'm accept to skip permission check because I also wanted Guest to view attachments without limitation

I tried to add externalUrl to config file but it's not work :(
 
Back
Top Bottom