ElkArte Community

Title: Guests and ILA
Post by: meetdilip on April 21, 2016, 06:13:04 pm
How would guest see an image attached via ILA ? Do they see it as an attachment or as an image. Will the same cause  " Attachment Download " abuse ? I am ok with giving images to guests. But not attachments.
Title: Re: Guests and ILA
Post by: emanuele on April 21, 2016, 06:28:32 pm
Isn't it similar to the other question you asked about permissions? (Or should I go sleep considering my head aches since this morning and now is past midnight?)
The "abuse" is also reported as bug somewhere and anyway is in the todo list somewhere.

In general attachments are permission based (like always), and attachments download here has always been allowed for anybody, guests included. And this is something I'm not going to argue about: the setting is this way and it shall not be changed. <= Scrap that part, I thought it was in another board, sorry...
Title: Re: Guests and ILA
Post by: meetdilip on April 21, 2016, 06:38:16 pm
I had this question in my mind for some time. Thought would ask away :)
Title: Re: Guests and ILA
Post by: emanuele on April 21, 2016, 06:53:16 pm
It seems a scraped a bit too much of the answer... heck I'm really tired...
Anyway: who can see attachments can download them. Who is not allowed to see cannot download.
Title: Re: Guests and ILA
Post by: meetdilip on April 22, 2016, 09:47:39 am
I have seen in vB they give ILA through image attachment option in editor. And other files as normal " available at bottom " attachments. By this way we can restrict access to attachments only to members and image for all.
Title: Re: Guests and ILA
Post by: emanuele on April 22, 2016, 10:29:14 am
It wouldn't make any difference in Elk (at least the way it is now), because there is no difference between an image and an "attachment": both are attachments and both can be either seen or not.
Title: Re: Guests and ILA
Post by: meetdilip on April 22, 2016, 10:38:03 am
So, what happens if guests do not have permission to view attachments. How will be an image displayed to them ?
Title: Re: Guests and ILA
Post by: emanuele on April 22, 2016, 11:17:55 am
What do you see when you don't have permissions to see attachments? ;)
http://www.ElkArte.net/community/index.php?topic=3499.0
Title: Re: Guests and ILA
Post by: meetdilip on April 22, 2016, 11:24:42 am
Any chance, we can display a thumbnail and say that you need to register to view images ?
Title: Re: Guests and ILA
Post by: emanuele on April 22, 2016, 11:46:46 am
From me it's very unlikely I'm going to code it.
I wouldn't be neither in favour nor against anyone coding it.
Considering what we have handy at the moment (i.e. several bugs to fix and release "soon"), I think I would prefer an addon for 1.1, but again no strong feeling about it.