DNN 4.8.2 and File Paths

  •  04-09-2008, 12:19 PM

    DNN 4.8.2 and File Paths

    I have gone through what seems like hundreds of posts and I just can't get an understanding of this.
     
    We are trying to define the default folder locations for files (docs, images, media etc.). The first problem is that there is a folder being created call "Members" and I have no idea where that is coming from. Registered users with edit permissions can't get past this folder. Where is this defined?
     
    If we define a default folder can users still navigate up the structure from the default location?
     
    From what I can tell we need to make the changes in the security/config files but nothing we change there seems to work.
     
    We have tried changing <security name="ImageGalleryPath">~/uploads</security> to <security name="ImageGalleryPath">~/images</security> with no luck. 
     
    I'm sure it's something simple and something already covered but I just can't find it.
     
    Thanks for your help.
     
    Webconfig as follows

    <htmlEditor defaultProvider="CEHtmlEditorProvider" >
            <providers>
      <clear/>
                    <add name="CEHtmlEditorProvider"
      type="DotNetNuke.HtmlEditor.CEHtmlEditorProvider, DotNetNuke.CEHtmlEditorProvider"
      providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"
                    UseDNNRoleASFileNamePrefix="false"  
      UseDNNRootImageDirectory="true"
      UseDNNDefaultWidth="false"    
      ConvertHTMLTagstoLowercase="true"
      URLType="default"
      UseHTMLEntities="true"
      RenderRichDropDown="true"
      UseSimpleAmpersand="false"
      CustomCulture=""
      ThemeType=""
      DisableAutoFormatting="false"
      BreakElement="div"
      EditorBodyStyle="background-color:#ffffff"
                    EditorWysiwygModeCss="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\DNNGeneral.css"
                   
      Admin_AutoConfigure = "Full_noform"
      Admin_SecurityPolicyFile = "admin.config"
      Admin_TemplateItemList = ""
      Admin_DisableItemList = ""
      Admin_AllowPasteHtml  ="true"
      Admin_EditorOnPaste  = "default"
      Admin_ReadOnly = "false"
      Admin_ShowBottomBar ="true"
      Admin_ShowHtmlMode  ="true"
      Admin_ShowPreviewMode  ="true"
      Admin_ShowTagSelector  ="true"
      Admin_EnableStripScriptTags  ="false" 
      Admin_EnableContextMenu    = "true"    
               
      Registered_AutoConfigure = "Compact"
      Registered_SecurityPolicyFile = "default.config"
      Registered_TemplateItemList = ""
      Registered_DisableItemList = ""
      Registered_AllowPasteHtml  ="true"
      Registered_EditorOnPaste  = "default"
      Registered_ReadOnly = "false"
      Registered_ShowBottomBar ="true"
      Registered_ShowHtmlMode  ="true"
      Registered_ShowPreviewMode  ="true"
      Registered_ShowTagSelector  ="true"
      Registered_EnableStripScriptTags  ="false" 
      Registered_EnableContextMenu    ="true" 
               
      Guest_AutoConfigure = "Minimal"
      Guest_SecurityPolicyFile = "default.config"
      Guest_TemplateItemList = ""
      Guest_DisableItemList = ""
      Guest_AllowPasteHtml  ="true"
      Guest_EditorOnPaste  = "default"
      Guest_ReadOnly = "false"
      Guest_ShowBottomBar ="true"
      Guest_ShowHtmlMode  ="true"
      Guest_ShowPreviewMode  ="true"
      Guest_ShowTagSelector  ="true"
      Guest_EnableStripScriptTags  ="false" 
      Guest_EnableContextMenu    ="true"

              />
            </providers>
         </htmlEditor>

     
    Default.config in security as follows
     
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
     <security name="RestrictUploadedImageDimension">true</security>
     <security name="OverWriteExistingUploadedFile">false</security>
     <security name="UseTimeStampRenameUploadedFiles">false</security>
     <security name="AutoResizeUploadedImages">true</security>
     <security name="MaxImageWidth">320</security>
     <security name="MaxImageHeight">320</security>
     <security name="MaxImageSize">500</security>
     <security name="MaxMediaSize">10000</security>
     <security name="MaxFlashSize">1000</security>
     <security name="MaxDocumentSize">10000</security>
     <security name="MaxTemplateSize">1000</security>
     <security name="ImageGalleryPath">~/uploads</security>
     <security name="MediaGalleryPath">~/uploads</security>
     <security name="FlashGalleryPath">~/uploads</security>
     <security name="TemplateGalleryPath">~/templates</security>
     <security name="FilesGalleryPath">~/uploads</security>
     <security name="MaxImageFolderSize">102400</security>
     <security name="MaxMediaFolderSize">102400</security>
     <security name="MaxFlashFolderSize">102400</security>
     <security name="MaxDocumentFolderSize">102400</security>
     <security name="MaxTemplateFolderSize">102400</security>
     <security name="ThumbnailWidth">80</security>
     <security name="ThumbnailHeight">80</security>
     <security name="ThumbnailColumns">5</security>
     <security name="ThumbnailRows">3</security>
     <security name="AllowUpload">true</security>
     <security name="AllowModify">true</security>
     <security name="AllowRename">true</security>
     <security name="AllowDelete">true</security>
     <security name="AllowCopy">true</security>
     <security name="AllowMove">true</security> <!-- this is rename too -->
     <security name="AllowCreateFolder">true</security>
     <security name="AllowDeleteFolder">true</security>
     <security name="ImageFilters">
      <item>.jpg</item>
      <item>.jpeg</item>
      <item>.gif</item>
      <item>.png</item>
     </security>
     <security name="MediaFilters">
      <item>.avi</item>
      <item>.mpg</item>
      <item>.mpeg</item>
      <item>.mp3</item>
      <item>.wmv</item>
      <item>.wav</item>
     </security>
     <security name="DocumentFilters">
      <item>.txt</item>
      <item>.doc</item>
      <item>.pdf</item>
      <item>.zip</item>
      <item>.rar</item>
      <item>.avi</item>
      <item>.mpg</item>
      <item>.mpeg</item>
      <item>.mp3</item>
      <item>.wav</item>
      <item>.swf</item>
      <item>.jpg</item>
      <item>.jpeg</item>
      <item>.gif</item>
      <item>.png</item>
      <item>.htm</item>
      <item>.xls</item>
      <item>.html</item>
      <item>.rtf</item>
      <item>.wmv</item>
     </security> 
     <security name="TemplateFilters">
      <item>.txt</item>
      <item>.rtf</item>
      <item>.html</item>
      <item>.htm</item>
      <item>.xml</item>
     </security>
     <security name="filenamePattern">^[a-zA-Z0-9\._\s-\#]+$</security>
    </configuration>
     
     
View Complete Thread