Installing CuteEditor 6.3 in Forum YetAnotherForum

Last post 01-17-2013, 1:23 PM by Kenneth. 38 replies.
Page 1 of 2 (39 items)   1 2 Next >
Sort Posts: Previous Next
  •  03-11-2009, 4:14 AM 49730

    Installing CuteEditor 6.3 in Forum YetAnotherForum

    i'am trying to setup CuteEditor 6.3 in My Forum called ( YetAnotherForum
     
    How i can install  CuteEditor 6.3 in My Fourm( YetAnotherForum) i follow all instruction But the Name of the editor doesn't appeare in the Editor Combobox. it should appeare after putting it's .dll file in my forum Bin folder .
     
    i have installed 6 months ago FCKEditor when i put it's .dll files in my Bin Folder of the Forum the  Name FCKeditor appeares in the combobox and i can selecte it from the combobox
     
    See The Pic Below:
     
     
     
     
     
    So could u please tell me whats i did wrong 
  •  03-11-2009, 2:31 PM 49761 in reply to 49730

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    We are investigating this issue and will get back to you as soon as possible.

    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

  •  03-11-2009, 3:40 PM 49773 in reply to 49761

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    I'am Waiting .....
     
    Thanks for ur Support.
  •  03-12-2009, 2:15 AM 49786 in reply to 49730

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    Hi smaaza ,
     
    Follow the steps to Integration CuteEditor with YetAnotherForum
     
    1. Put all dll file into the bin folder of your website.
     
    2. Put CuteSoft_Client folder to the rool of you website.
     
    3. Open file 'ForumEditor.cs' of you site, find section
        public enum EditorType
      {
       etText = 0,
       etBBCode = 1,
       etFCKv2 = 2,
       etFreeTextBox = 3,
       etFCKv1 = 4,
       etBasicBBCode = 5,
       etFreeTextBoxv3 = 6
         
      }
     
    4. Add ' cuteEditor=7' into above section, like:
      public enum EditorType
      {
       etText = 0,
       etBBCode = 1,
       etFCKv2 = 2,
       etFreeTextBox = 3,
       etFCKv1 = 4,
       etBasicBBCode = 5,
       etFreeTextBoxv3 = 6,
       cuteEditor=7
      }
     
    5. Find section
       public static string [] EditorTypeText =
      {
                "Text Editor",
                "BBCode Editor",
                "FCK Editor v2 (HTML)",
                "FreeTextBox v2 (HTML)",
                "FCK Editor v1.6 (HTML)",
                "Basic BBCode Editor",
                "FreeTextBox v3 (HTML)"
               
      }
     
    6. Add  "CuteEditor v6.3 (HTML)" into above section, like:
      public static string [] EditorTypeText =
      {
                "Text Editor",
                "BBCode Editor",
                "FCK Editor v2 (HTML)",
                "FreeTextBox v2 (HTML)",
                "FCK Editor v1.6 (HTML)",
                "Basic BBCode Editor",
                "FreeTextBox v3 (HTML)",
                "CuteEditor v6.3 (HTML)"
      }
    7. find section   'public static int EditorCount = 7;' change to 'public static int EditorCount = 8;'
     
    8. Find section
     
    public static ForumEditor CreateEditorFromType( EditorType etValue )
      {
       switch ( etValue )
       {
        case EditorType.etText: return new TextEditor();
        case EditorType.etBBCode: return new BBCodeEditor();
        case EditorType.etFCKv2: return new FCKEditorV2();
        case EditorType.etFreeTextBox: return new FreeTextBoxEditor();
        case EditorType.etFCKv1: return new FCKEditorV1();
        case EditorType.etBasicBBCode: return new BasicBBCodeEditor();
        case EditorType.etFreeTextBoxv3: return new FreeTextBoxEditorv3();
           }
       return null;
      }
     
    9. Add  " case EditorType.cuteEditor: return new CuteEditor1();" into above section, like:
     
    public static ForumEditor CreateEditorFromType( EditorType etValue )
      {
       switch ( etValue )
       {
        case EditorType.etText: return new TextEditor();
        case EditorType.etBBCode: return new BBCodeEditor();
        case EditorType.etFCKv2: return new FCKEditorV2();
        case EditorType.etFreeTextBox: return new FreeTextBoxEditor();
        case EditorType.etFCKv1: return new FCKEditorV1();
        case EditorType.etBasicBBCode: return new BasicBBCodeEditor();
        case EditorType.etFreeTextBoxv3: return new FreeTextBoxEditorv3();
        case EditorType.cuteEditor: return new CuteEditor1();
                    
       }
       return null;
      }
     
    10. Add the class below into the file 'ForumEditor.cs'
     

       public class CuteEditor1 : RichClassEditor, INamingContainer
            {

                CuteEditor.Editor _editor = new CuteEditor.Editor();

                public CuteEditor1()
                {
                    _editor.ID = "CE";
                    this.Controls.Add(_editor);
                }

                public override string Text
                {
                    get
                    {
                        return _editor.Text;
                    }
                    set
                    {
                        _editor.Text = value;
                    }
                }


            }

    11. Build your solution
     
     
    Regards,
     
    Ken
  •  03-12-2009, 8:18 AM 49793 in reply to 49786

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    first off all Thanks for ur support and good explaination

    i did what u tell me But i Got this Error see pic bellow
     
  •  03-12-2009, 10:41 PM 49824 in reply to 49793

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    Hi smaaza ,
     
    please add reference to 'CuteEditor.dll' for you site.
     
     
     
     
     
     
     
    Regards,
     
    Ken
  •  03-13-2009, 3:47 AM 49833 in reply to 49824

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    thank u for Reply But I Got This Error:
     
     
  •  03-13-2009, 1:47 PM 49852 in reply to 49833

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    Please copy CuteSoft_client files folder to the root of forums project.

    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

  •  03-13-2009, 1:58 PM 49854 in reply to 49852

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    I did iput it in folder called editors contain all My editors
     
    ..\editors\CuteSoft_client\....
  •  03-13-2009, 2:04 PM 49855 in reply to 49854

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

     
    >>..\editors\CuteSoft_client\....
    It's wrong.
     
    Please copy CuteSoft_client folder to the following folder.

    c:\YetAnotherForum\

    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

  •  03-13-2009, 2:27 PM 49861 in reply to 49855

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

     
     
    anoter thing i was using FCKeditor with it Upload folder i want to set this folde to be the cuteeditor folde cause if full with alot of media i don't want to lose it cause my forum is working and i have  a lot of users more than 1000 Topics i don't want to update the all topics link for the pic.
     
    My Old Folder called UplodedUsersFiles i want to change the folder with cuteeditor to be this folder

    UplodedUsersFiles  is located in ..\yetanotherforum\UplodedUsersFiles 
  •  03-13-2009, 2:35 PM 49862 in reply to 49861

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    You are using hebrew.
     
    Please open the following file:
    CuteSoft_Client\CuteEditor\Themes\Office2003\style.css
     
    and change all float:left to float:right

    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

  •  03-13-2009, 4:39 PM 49876 in reply to 49862

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    how i can change the theme?
     how i can change the language?
    how i can encrease the upload size of the files?
     
    finally:
    anoter thing i was using FCKeditor with it Upload folder i want to set this folde to be the cuteeditor folde cause if full with alot of media i don't want to lose it cause my forum is working and i have a lot of users more than 1000 Topics i don't want to update the all topics link for the pic.

    My Old Folder called UplodedUsersFiles i want to change the folder with cuteeditor to be this folder

    UplodedUsersFiles is located in ..\yetanotherforum\UplodedUsersFiles
  •  07-17-2009, 12:55 PM 54069 in reply to 49786

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    Hello,
     
    I followed the directions below (as well as adding a reference to Cuteeditor.dll) and rebuilt the solution.  Cuteeditor now works with yetanotherforum EXCEPT:
     
    I can't change the size of the editor window, and I want it to use the available width, like the other editor do.
     
    It's probably something simple?
     
     
     
    Kenneth:
    Hi smaaza ,
     
    Follow the steps to Integration CuteEditor with YetAnotherForum
     
    1. Put all dll file into the bin folder of your website.
     
    2. Put CuteSoft_Client folder to the rool of you website.
     
    3. Open file 'ForumEditor.cs' of you site, find section
        public enum EditorType
      {
       etText = 0,
       etBBCode = 1,
       etFCKv2 = 2,
       etFreeTextBox = 3,
       etFCKv1 = 4,
       etBasicBBCode = 5,
       etFreeTextBoxv3 = 6
         
      }
     
    4. Add ' cuteEditor=7' into above section, like:
      public enum EditorType
      {
       etText = 0,
       etBBCode = 1,
       etFCKv2 = 2,
       etFreeTextBox = 3,
       etFCKv1 = 4,
       etBasicBBCode = 5,
       etFreeTextBoxv3 = 6,
       cuteEditor=7
      }
     
    5. Find section
       public static string [] EditorTypeText =
      {
                "Text Editor",
                "BBCode Editor",
                "FCK Editor v2 (HTML)",
                "FreeTextBox v2 (HTML)",
                "FCK Editor v1.6 (HTML)",
                "Basic BBCode Editor",
                "FreeTextBox v3 (HTML)"
               
      }
     
    6. Add  "CuteEditor v6.3 (HTML)" into above section, like:
      public static string [] EditorTypeText =
      {
                "Text Editor",
                "BBCode Editor",
                "FCK Editor v2 (HTML)",
                "FreeTextBox v2 (HTML)",
                "FCK Editor v1.6 (HTML)",
                "Basic BBCode Editor",
                "FreeTextBox v3 (HTML)",
                "CuteEditor v6.3 (HTML)"
      }
    7. find section   'public static int EditorCount = 7;' change to 'public static int EditorCount = 8;'
     
    8. Find section
     
    public static ForumEditor CreateEditorFromType( EditorType etValue )
      {
       switch ( etValue )
       {
        case EditorType.etText: return new TextEditor();
        case EditorType.etBBCode: return new BBCodeEditor();
        case EditorType.etFCKv2: return new FCKEditorV2();
        case EditorType.etFreeTextBox: return new FreeTextBoxEditor();
        case EditorType.etFCKv1: return new FCKEditorV1();
        case EditorType.etBasicBBCode: return new BasicBBCodeEditor();
        case EditorType.etFreeTextBoxv3: return new FreeTextBoxEditorv3();
           }
       return null;
      }
     
    9. Add  " case EditorType.cuteEditor: return new CuteEditor1();" into above section, like:
     
    public static ForumEditor CreateEditorFromType( EditorType etValue )
      {
       switch ( etValue )
       {
        case EditorType.etText: return new TextEditor();
        case EditorType.etBBCode: return new BBCodeEditor();
        case EditorType.etFCKv2: return new FCKEditorV2();
        case EditorType.etFreeTextBox: return new FreeTextBoxEditor();
        case EditorType.etFCKv1: return new FCKEditorV1();
        case EditorType.etBasicBBCode: return new BasicBBCodeEditor();
        case EditorType.etFreeTextBoxv3: return new FreeTextBoxEditorv3();
        case EditorType.cuteEditor: return new CuteEditor1();
                    
       }
       return null;
      }
     
    10. Add the class below into the file 'ForumEditor.cs'
     

       public class CuteEditor1 : RichClassEditor, INamingContainer
            {

                CuteEditor.Editor _editor = new CuteEditor.Editor();

                public CuteEditor1()
                {
                    _editor.ID = "CE";
                    this.Controls.Add(_editor);
                }

                public override string Text
                {
                    get
                    {
                        return _editor.Text;
                    }
                    set
                    {
                        _editor.Text = value;
                    }
                }


            }

    11. Build your solution
     
     
    Regards,
     
    Ken

    Running CuteEditor in YetanotherForum at http://thecarversite.com
  •  07-20-2009, 4:10 AM 54092 in reply to 54069

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    Hi RichP714 ,
     
    Steps 10
     
    10. Add the class below into the file 'ForumEditor.cs'
     

       public class CuteEditor1 : RichClassEditor, INamingContainer
            {

                CuteEditor.Editor _editor = new CuteEditor.Editor();

                public CuteEditor1()
                {
                    _editor.ID = "CE";
                    this.Controls.Add(_editor);
                }

                public override string Text
                {
                    get
                    {
                        return _editor.Text;
                    }
                    set
                    {
                        _editor.Text = value;
                    }
                }


            }

    Change to:
     

     public class CuteEditor1 : RichClassEditor, INamingContainer
        {

            CuteEditor.Editor _editor = new CuteEditor.Editor();

            public CuteEditor1()
            {
                _editor.ID = "CE";
                _editor.Width = Unit.Percentage(100);
                this.Controls.Add(_editor);
            }

            public override string Text
            {
                get
                {
                    return _editor.Text;
                }
                set
                {
                    _editor.Text = value;
                }
            }
        }

     
    Regards,
     
    Ken
  •  04-11-2010, 7:57 PM 59995 in reply to 54092

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    The above works for yetanotherforum version up to 1.9.3
     
    I'm trying to add cuteeditor to yaf version 1.9.4, and there is no longer a forumeditor.cs file.  How can I add CuteEditor?

    Running CuteEditor in YetanotherForum at http://thecarversite.com
  •  04-12-2010, 5:48 AM 60008 in reply to 59995

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    RichP714:
    The above works for yetanotherforum version up to 1.9.3
     
    I'm trying to add cuteeditor to yaf version 1.9.4, and there is no longer a forumeditor.cs file.  How can I add CuteEditor?
     
    We will provide a now solution for YAF1.9.4 soon.
     
    Regards,
     
    ken
  •  04-12-2010, 6:30 PM 60027 in reply to 60008

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    Many thanks for your work on this;

    Running CuteEditor in YetanotherForum at http://thecarversite.com
  •  04-12-2010, 9:44 PM 60035 in reply to 60027

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    Hi RichP714,
     
    New solution for YAF1.9.4
     
    1. Create a file name "CuteEditor.cs" under "YAF1.9.4\App_Code\YAF\Editors\CuteEditor.cs". Below is the content of this file.
     
    1.   
    2. namespace YAF.Editors   
    3. {   
    4.     using System;   
    5.     using System.Reflection;   
    6.     using System.Web.UI.WebControls;   
    7.     using System.Web.UI;   
    8.     using YAF.Classes.Core;   
    9.   
    10.     public class CuteEditor1 : RichClassEditor, INamingContainer   
    11.     {   
    12.   
    13.         CuteEditor.Editor _editor = new CuteEditor.Editor();   
    14.   
    15.         public CuteEditor1()   
    16.         {   
    17.   
    18.         }   
    19.         protected override void OnInit(EventArgs e)   
    20.         {   
    21.             _editor.ID = "CE";   
    22.             _editor.Width = Unit.Percentage(60);   
    23.             _editor.Height = Unit.Percentage(60);   
    24.             this.Controls.Add(_editor);   
    25.             base.OnInit(e);   
    26.         }   
    27.         public override bool Active   
    28.         {   
    29.             get  
    30.             {   
    31.                 return true;   
    32.             }   
    33.         }   
    34.         public override int ModuleId   
    35.         {   
    36.             get  
    37.             {   
    38.                 return 9;   
    39.             }   
    40.         }   
    41.         public override string Description   
    42.         {   
    43.             get  
    44.             {   
    45.                 return "CuteEditor Editor(HTML)";   
    46.             }   
    47.         }   
    48.         public override string Text   
    49.         {   
    50.             get  
    51.             {   
    52.                 return _editor.Text;   
    53.             }   
    54.             set  
    55.             {   
    56.                 _editor.Text = value;   
    57.             }   
    58.         }   
    59.     }   
    60. }  
    2.  Open file "YAF1.9.4\themes\cleanSlate\theme.css", find section below
     
    .yafnet table.content td {
    padding: 10px;
     border: solid 1px #eeeeee; 
    }
     
    Change to
     
    .yafnet table.content td {
     border: solid 1px #eeeeee; 
    }
     
    Style setting "padding: 10px;" will make cuteeditor become very ugly.
     
    3. Now you can selete CuteEditor in Host Administration->Host Settings->Editors
     
    Regards,
     
    Ken
  •  04-14-2010, 5:59 AM 60083 in reply to 60035

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    manu thanks for such a quick response and solution.  One thing, if I try to change _editor.Width = Unit.Percentage(100);   it has no effect, the editor window is still narrow

    Running CuteEditor in YetanotherForum at http://thecarversite.com
Page 1 of 2 (39 items)   1 2 Next >
View as RSS news feed in XML