XF 1.2 Attachments with external links turn into attachment-link

Breixo

Well-known member
Hi!
I was looking for a solution in the forum but couldn't find it.
Probably it's something related to permissions, I checked Guests permissions are can't find a reason for this problem.

The problem:
I attach an image, add a link and get this code:
Code:
[URL='http://site.com'][ATTACH=full]34906[/ATTACH][/URL]

A logged in user get the same code and, if he clicks the attachment, goes to the link.
But, a non-registered user see the following:
Code:
<a href="http://site.com" target="_blank"><img src="http://site.com/data/attachments/29/29123-bbf60dc00eab2662678815360b355949.jpg" alt="attachment-alt" class="bbCodeImage"></a>
If the non-registered user clicks on the attachment, he gets an error message saying "You must be logged in to do that".

The example is here:
http://www.movilesdualsim.com/threads/sorteo-de-otoño-v-blackview-jk809-por-geekbuying.50603/

If you need it I can provide a test user.
Thanks for your help!
 
Can non-registered users download & view attachments?

If not, unregistered users are given a thumbnail view with a link to the full view, which is a permissions denied -- hence the system. The other a link is not utilized if you look at the source.
 
That's the first thing I checked, but probably I miss something.
I just found one option to give unregistered users permissions to view attachments under "Forum Permissions" (it's in Spanish: Ver adjuntos = View attachments):
2013-12-04_2104.webp
Is there any other place where I should allow permissions?
Thanks @Jeremy
 
No... but I looked for a way to do it and can't find how.
How can I analyze permissions from unregistered users?
The tool ask for a username, tryed some alternatives but none worked.
 
Top Bottom