MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Admin can't edit attachments  (Mono Support )

Viewed 12988 time(s), 4 post(s) 2/13/2013 4:28:19 PMby Zoomicon
Zoomicon

Zoomicon

2/13/2013 4:28:21 PM
In the forums, I think the user can edit an attatchment to a post, but it seems the admin (or moderator) can't edit others' attachments? (e.g. to rename them or add description/tags to them etc.). I also tried pressing Edit on the post, but still the icons for the attachments just show the delete action, not the edit
This content has not been rated yet. 
2793 Reputation 345 Total posts
mzilic

mzilic

2/14/2013 11:44:15 AM
Hello Zoomicon,

Yes, this is the default behavior on the discussion boards. This is allowed on certain forms but Pretty Photo must be disabled.

Regards,
Mario
This content has not been rated yet. 
2218 Reputation 300 Total posts
Zoomicon

Zoomicon

2/14/2013 1:16:51 PM
how can I give more rights to the admin to see edit form and edit metadata for the forum attachments, like filename of attachment, description of it, add tags to it etc.?
This content has not been rated yet. 
2793 Reputation 345 Total posts
mzilic

mzilic

2/15/2013 11:44:21 AM
Hello Zoomicon,

Please note that we recommend against this approach. If you still want to do the following for administrators then Pretty Photo must be disabled on DiscussionMessages. So here are a couple of pointers:

1. You need detect programmatically if a user is in an administrator role and set the EnablePrettyPhoto to false.
2. In FileGallery.html template you need to add the <# DeleteButton #> tag.

Please note that the administrators will not have the PrettyPhoto functionality in this scenario.

Regards,
Mario
This content has not been rated yet. 
2218 Reputation 300 Total posts