Mono Support Issues with forum post attachments 

Viewed 38523 time(s), 5 post(s), 12/13/2012 7:38:40 AM - by Zoomicon
12/13/2012 7:38:41 AM
2793 Reputation 345 Total posts

1) at forum post attachments thumbnails (both at read and at post edit view) are a bit too small. We've stretched them in the layout, but wonder where I set the default thumbnail size for when the thumb is generated so that they don't show blurry with the extra stretch
2) you can't upload .mp4 files (not in list of allowed extensions) to forum posts, but you can for example .wmv and it does show a video icon for the attachment (wonder how one can relate such icons to file extensions and possibly add more filetypes with their own icons [e.g. in our case I want to associate a .clipflair.zip - note that it should be clever enough to not see this as a plain .zip file to an icon])
3) not sure if I can add custom actions like "Play" to open the attached file via some URL e.g. http://myplayer?activity=someURL - ideally I would be able to set the default action for a file type and have popup menu for when clicking an attached file to select Download or other actions (e.g. say "Archive" to keep at my own online archive etc. [btw, do users have a filespace of their own on monox?])
4) when a file with spaces in its name is attached to a forum, then when mouse moves over its icon it shows the correct name, but when clicked to download it (tried with latest Mozilla on Win7) you get only the first part of the name (till the first space char) without a file extension (so the user may think the file is broken)

1
12/14/2012 10:22:06 AM
15993 Reputation 2214 Total posts

Hi,

You can set ThumbnailSize on the discussion container module, although this was a deep down property but we have exposed that too. It will be available in today's build.

1) at forum post attachments thumbnails (both at read and at post edit view) are a bit too small. We've stretched them in the layout, but wonder where I set the default thumbnail size for when the thumb is generated so that they don't show blurry with the extra stretch

We have added mp4 file extension to be supported by default, thanks. As for the file type icons you need to change or add them at the following location: "/App_Themes/Common/img/FileTypeIcons", at the moment you will not be able to easily add new types to the list but we have extended this and it will be available in the today's nightly build.
you can't upload .mp4 files (not in list of allowed extensions) to forum posts, but you can for example .wmv and it does show a video icon for the attachment (wonder how one can relate such icons to file extensions and possibly add more filetypes with their own icons [e.g. in our case I want to associate a .clipflair.zip - note that it should be clever enough to not see this as a plain .zip file to an icon])
We need to check ... but from top of my mind No.
3) not sure if I can add custom actions like "Play" to open the attached file via some URL e.g. http://myplayer?activity=someURL - ideally I would be able to set the default action for a file type and have popup menu for when clicking an attached file to select Download or other actions (e.g. say "Archive" to keep at my own online archive etc. [btw, do users have a filespace of their own on monox?])
Fixed
4) when a file with spaces in its name is attached to a forum, then when mouse moves over its icon it shows the correct name, but when clicked to download it (tried with latest Mozilla on Win7) you get only the first part of the name (till the first space char) without a file extension (so the user may think the file is broken)
Regards

2
12/19/2012 10:11:09 AM
159 Reputation 18 Total posts

Hello to all,

I was also looking at this image size issue and I cannot find the property mensioned above in the refered module.

<%@ Control Language="C#"
    AutoEventWireup="true"
    CodeBehind="DiscussionContainer.ascx.cs"
    Inherits="MonoSoftware.MonoX.ModuleGallery.SocialNetworking.DiscussionContainer" %>
 
 
<%@ Register TagPrefix="MonoX" TagName="DiscussionBoard" Src="/MonoX/ModuleGallery/SocialNetworking/Discussion/DiscussionBoard.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="DiscussionTopic" Src="/MonoX/ModuleGallery/SocialNetworking/Discussion/DiscussionTopics.ascx" %> 
<%@ Register TagPrefix="MonoX" TagName="DiscussionMessages" Src="/MonoX/ModuleGallery/SocialNetworking/Discussion/DiscussionMessages.ascx" %> 
 
 
<asp:PlaceHolder ID="panNotification" runat="server">
    <div class="message-sep-line">
        <asp:HyperLink ID="lnkBack" runat="server" CssClass="discussion-link back-link"></asp:HyperLink>
    </div>
    <div class="discussion-permission"><asp:Label ID="labNotificationMessage" runat="server"></asp:Label></div>
</asp:PlaceHolder>
 
 
<div class="discussion-container">
    <MonoX:DiscussionBoard runat="server" ID="dBoard" Title="Discussion board" />
    <MonoX:DiscussionTopic runat="server" ID="dTopic" />
    <MonoX:DiscussionTopic runat="server" ID="dFilterTopic" />
    <MonoX:DiscussionMessages runat="server" ID="dMessages" />
</div>
Thank you in advance,
Panos

3
12/19/2012 9:12:13 PM
2793 Reputation 345 Total posts

>> I was also looking at this image size issue and I cannot find the property mensioned
>> above in the refered module.

Hi Panos, quoting Khorvat:
"this was a deep down property but we have exposed that too. It will be available in today's build."

4
12/19/2012 9:19:26 PM
2793 Reputation 345 Total posts

there seems to be a bug (tried in IE10RC compatibility mode) here, I just pressed Delete at the previous post (in order to send it to roadmap suggestions forum) and now the topic is still there but the Delete button (only for that topic) has disappeared

5
This is a demo site for MonoX. Please visit Mono Software for more info.