Registered User Image Folder Problem,Help Please!!!

Last post 11-05-2006, 9:13 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  11-04-2006, 10:37 AM 24011

    Registered User Image Folder Problem,Help Please!!!

    I am useing Dnn4.3.5 and cuteeditor4 for My website. no matter How i was trying to edit the Default.config file in the Security Folder, the redistered user always goes to the root folder: Potals/0/ when they click on the insert image button.
     
    I created a Folder called UserFolder in the Portals/0/ directory which i want the registered user's image goes in. but it failed. Please help me to deal with this problem. Please!!!
     
    My setup in the Default.config like this:
     
    <security name="ImageGalleryPath">/Portals/0/UserFolder/Images</security>
     
    or
     
    <security name="ImageGalleryPath">/Portals/0/UserFolder</security>
     
    or
     
    <security name="ImageGalleryPath">d:\wiki\Portals\0\UserFolder\Images</security>
     
    (d:\wiki  is where my dnn website is)
     
    Please help!
     
    Thank you in advance!
     
    my mailbox is : [email protected]
     
    Thank you again!
     
    maoker
  •  11-05-2006, 9:13 AM 24030 in reply to 24011

    Re: Registered User Image Folder Problem,Help Please!!!

    maoker,
     
    Please open CEHtmlEditorProvider.vb file and find the following code:
     

                        If role = "Admin" Then
                            tempfolder = ""
                        ElseIf role = "Registered" Then
                            tempfolder = "Member"
                        ElseIf role <> String.Empty Then
                            tempfolder = role
                        End If
     
    and change it to:
     

                        If role = "Admin" Then
                            tempfolder = ""
                        ElseIf role = "Registered" Then
                            tempfolder = "UserFolder"
                        ElseIf role <> String.Empty Then
                            tempfolder = role
                        End If
     
    Then recompile the provider project and copy the new DotNetNuke.CEHtmlEditorProvider.dll to the DNN bin folder.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML