Attachments Download Permission

Started by JayBachatero, August 01, 2006, 11:01:33 PM

Previous topic - Next topic

JayBachatero

Link to Mod

This mod will split the current View Attachments permission into two.  View Attachments and Download Attachments.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

qtime

Thanks for this great feature!!!

But I like to ask a second option, I am looking very long for this in 1.1 RC2

Is it possible to see attached images (not only the link but also the preview), but not to download attached files???

Or a second attachement file option a membergroup, like guests can see attechement up to 1 Mb and members up to 100 Mb ???

JayBachatero

I believe this does the same for images.  Didn't try out the mod with images.

The second option would be a bit more advanced.  Need to look at it in the future.  When ever i have time that is.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

qtime

thx for responding, if it's difficult to create time, I can pay you, not too many $$$ but enough to think about it ;)
Plz PM me.

JayBachatero

Time is the problem ;).  If I had the time I would look into it.  Maybe in a month or so.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

qtime

Ok, will be great.
I will send you some time (in minutes and a few seconds ;) )

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

Oh ok.  Well it should work on RC3.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

VicViper

I just installed this, everything went fine, but I have no clue where to configure this mod. There aren't any additional options in the permissions configuration and unregistered guests can still not see attachments at all.

JayBachatero

This is where the other attachments permissions are located.  Check to see that language strings are there.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

VicViper

Quote from: Jay The Code Monkey on September 01, 2006, 01:42:46 PM
Check to see that language strings are there.
Where exactly do I check for these strings?

JayBachatero

Umm ManagePermissions.english.php if I'm correct.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

VicViper

Quote from: Jay The Code Monkey on September 02, 2006, 12:13:46 AM
Umm ManagePermissions.english.php if I'm correct.

The file doesn't seem to be altered in any way. So which strings do I need to add manually? And shouldn't this already be done by the Package Manager?

JayBachatero

Look at the install.xml file and the language strings are there.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

1964

Please, see this topic http://www.simplemachines.org/community/index.php?topic=118961.0 don't want to post all again.

Thanks, really like this mod though, and want to use it.

JayBachatero

Did you check to see that the permissions where set correctly?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

1964

Quote from: JayBachatero on October 09, 2006, 02:08:33 AM
Did you check to see that the permissions where set correctly?

Yes, checked and checked(about dozens times), both guest permission and guest board permission.

1964

#18
For the sake of this topic, will reinstall mod, and make sure permissions are set correctly.

Edit: [link removed] photo not showing for guests with this mod in place, just guests can not, and when I log in image will download, have guests only view and not download attachments, checked and rechecked permissions.

JayBachatero

Ok I get what you mean now.  its actually how I wrote the mod.  For images it doesn't make sense to show them but not allow to download since you can just right click and save as.  If you want ill give you the changes necessary to do this.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: