Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

DNN Provider 4.0 - Customize Toolbar by Role?

Last post 11-13-2006, 9:16 PM by Adam. 65 replies.
Page 2 of 4 (66 items)   < Previous 1 2 3 4 Next >
Sort Posts: Previous Next
  •  04-08-2005, 2:01 PM 5492 in reply to 5483

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Will this work like FTB when a user in a role that is restricted from a file using the file manager? or do I have to add each group and file permissions? I don't want users even seeing folders they don't have permissions for?Hmm <img src=" src="/emoticons/emotion-40.gif" />

  •  04-08-2005, 2:06 PM 5493 in reply to 5492

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    stratcr,
     
    >>Will this work like FTB when a user in a role that is restricted from a file using the file manager?

    More than that.

    CE has a very advanced security sytem to help you apply security to control user access to resources.

    Please check this online demo:

    http://cutesoft.net/example/implementSecuritypolicy.aspx

    Keep me posted.



     

    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

  •  04-08-2005, 2:30 PM 5494 in reply to 5493

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Adam,
     
    It's still not working right....
     
    I'm not sure if I'm getting the right control.
     
    I'm downloading it from here http://cutesoft.net/Downloads/default.aspx and selecting the CuteEditorForDotNetNuke. Is that right?
  •  04-08-2005, 2:40 PM 5495 in reply to 5494

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    jhoelz,

    That's the correct file. What kind of error did you get?

    Can you post your Cute Editor configuration in the web.config?



    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

  •  04-08-2005, 2:44 PM 5496 in reply to 5495

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    <dotnetnuke>
      <htmlEditor defaultProvider="CEHtmlEditorProvider" >
    <providers>
        <clear />
     <add name="CEHtmlEditorProvider"
            type="DotNetNuke.HtmlEditor.CEHtmlEditorProvider, DotNetNuke.CEHtmlEditorProvider"
            providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"
            UseDNNRootImageDirectory="false"
            RemoveServerNamesFromUrl="true"
            UseRelativeLinks="false"
         RenderRichDropDown="true"
         MaxHTMLLength="0"
         MaxTextLength="0"
         CustomCulture=""
         ThemeType="Office2003"
         DisableAutoFormatting="false"
         DisableClassList=""
         HelpUrl=""
         BreakElement="div"
         Admin_AutoConfigure = "Full"
         Admin_SecurityPolicyFile = "admin.config"
         Admin_DisableItemList = ""
         Admin_AllowPasteHtml = "true"
         Admin_EditorOnPaste  = "default"
         Admin_ReadOnly = "false"
         Admin_ShowBottomBar ="true"
         Admin_ShowHtmlMode = "false"
         Admin_ShowPreviewMode = "true"     
         Registered_Users_AutoConfigure = "Simple"
         Registered_Users_SecurityPolicyFile = "guest.config"
         Registered_Users_DisableItemList = "Save"
         Registered_Users_AllowPasteHtml = "true"
         Registered_Users_EditorOnPaste  = "default"
         Registered_Users_ReadOnly = "false"
         Registered_Users_ShowBottomBar ="true"
         Registered_Users_ShowHtmlMode = "true"
         Registered_Users_ShowPreviewMode = "true"     
         Guest_AutoConfigure = "Simple"
         Guest_SecurityPolicyFile = "guest.config"
         Guest_DisableItemList = "Save"
         Guest_AllowPasteHtml = "true"
         Guest_EditorOnPaste  = "default"
         Guest_ReadOnly = "false"
         Guest_ShowBottomBar ="true"
         Guest_ShowHtmlMode = "true"
         Guest_ShowPreviewMode = "true"
            />       
       </providers>
     
    I have also tried what you posted previous.
     
    The problem is still with registered users.
     
    I'll take it from scratch and delete everything thats there now.
  •  04-08-2005, 2:47 PM 5497 in reply to 5496

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Sorry, I forgot to mention in the current build I changed " Registered_Users" to " Registered"
     
    So   Registered_Users_AutoConfigure = "Simple"

    Should be Registered_AutoConfigure = "Simple"

        

    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

  •  04-08-2005, 3:00 PM 5498 in reply to 5497

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Ok, I've made the changes and written over the files.
     
    Heres the problem......
     
    When I log in as Admin I can edit a module, but it wont update, no changes are saved.
     
    When I am there as guest I can edit and update a module, changes are saved.
     
    When I log into site as regitered user I receive the following when selecting "Edit"
     
     

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Security.PortalSecurity.HasNecessaryPermission(SecurityAccessLevel AccessLevel, PortalSettings PortalSettings, ModuleInfo ModuleConfiguration, String UserName) +185 DotNetNuke.UI.Containers.ActionButton.Page_Load(Object sender, EventArgs e) +294 [ModuleLoadException: An error has occurred.] DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control UserCtrl, Exception exc) +292 DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control UserCtrl, Exception exc) +27 DotNetNuke.UI.Containers.ActionButton.Page_Load(Object sender, EventArgs e) +1447 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Page.ProcessRequestMain() +750 [PageLoadException: An error has occurred.] DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +344 DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +361 System.Web.UI.TemplateControl.OnError(EventArgs e) +109 System.Web.UI.Page.HandleError(Exception e) +68 System.Web.UI.Page.ProcessRequestMain() +2100 System.Web.UI.Page.ProcessRequest() +218 System.Web.UI.Page.ProcessRequest(HttpContext context) +18 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
     
    I'll send you a pm with login info for my dev site.
  •  04-08-2005, 5:20 PM 5500 in reply to 5498

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

  •  04-08-2005, 5:37 PM 5503 in reply to 5500

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    infos on its way
  •  04-08-2005, 5:44 PM 5506 in reply to 5503

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    It works now. All I did it reuploaded the DotNetNuke.CEHtmlEditorProvider.dll to your server.
     
    Please test it.

    Maybe I put wrong version in the download file??
    Adam

    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

  •  04-08-2005, 5:51 PM 5508 in reply to 5506

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    It's a thing of beauty!
     
    I'll give it a complete run through when I have the chance, but for now it looks great.
     
    Thanks for your help, now get the right file up there for download!
  •  04-08-2005, 6:05 PM 5509 in reply to 5508

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    OK, only thing I can't figure out how to do. Directory for images, media etc need to be portal specific. I can't figure out how to get that.
     
    I run several installs with 30 or 40 child sites, it just won't due if everyone gets the same upload directory.
     
    I'm sure theres some map path thing I can do, but I'll need your help.
     
    Thanks
  •  04-08-2005, 6:09 PM 5510 in reply to 5509

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Found it in the webconfig...
    UseDNNRootImageDirectory="true"
     
    Now, anyway to set the permissions by role using this?
  •  04-08-2005, 6:19 PM 5511 in reply to 5510

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    I warned you there would be lots of questions...
     
    What about a 3rd permission group?

    Admins - Full tilt uploads etc
    Registered - Simple, no upload but can browse folders
    Staff - Simple - Uploads to specified folders.
     
     
  •  04-09-2005, 12:23 AM 5514 in reply to 5508

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Critical error:
    SecurityPolicyFile : /CuteSoft_Client/CuteEditor/Configuration/Security/default.config not found
     
    This started happening when I uploaded the new files.
     
    And I'm stuck... is the current uploaded file on your server up to date?
    I don't know if I'm uploading correctly... I followed the instructions... now this path error.
     
    Any help would be appreciated.
  •  04-09-2005, 8:46 AM 5516 in reply to 5514

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Are you sure the file is there?

    Are there any .config files in the security folder? If so, rename one to default.config (if it's missing) and upload it.
     
    I currently have this working on 3 dnn installations right now with no trouble, but Adam did provide me with a new .dll. I'm not sure if the download has been updated.
  •  04-09-2005, 9:36 AM 5517 in reply to 5516

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

  •  04-09-2005, 9:38 AM 5518 in reply to 5514

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    stipe76,
     
    Please check your web.config file.
     
    And make sure your provider path is:
     
    providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"
          
     

    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

  •  04-09-2005, 10:23 AM 5521 in reply to 5511

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    >>Staff - Simple - Uploads to specified folders
     
    You have to modify the provider for the new roles.

    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

  •  04-09-2005, 11:30 AM 5522 in reply to 5521

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    The CuteEditor provider of the DNN provider?

    Couldn't you create a security file for a generic role named CuteEditor. Then if that role did exist and users were assigned to it they would get permissions granted by the referred to security config file?
     
    And is there a way to specify a root folder when using UseDNNRootImageDirectory="true"? The config files seem to have no impact with this.
Page 2 of 4 (66 items)   < Previous 1 2 3 4 Next >
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.