The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    i need help in sceditor Project

    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    In progress i need help in sceditor Project

    Post by Michael_vx Sat 29 Nov - 9:23

    converting HTML and CSS and BBcode to Java
    i know i said i quit forumotion but after a few of my friends started to use the facebook comments i asked here for Editing it and they asking me to make a new editor for forumotion so im getting ready for the project starting from this template
    CSS

    Code:
    #quick_reply .row2 {
      clear: both;
      margin-left: auto;
      margin-right: auto;
      width: 95% !important;
      height: auto !important;
    }
     
    #text_editor_controls {
      display: none !important;
    }
    and JavaScript with a broking link
    Code:
    jQuery.getScript('http://goo.gl/BFDfd');
    i have already the Editor ready with all its plugins but im lost in wonderland should i convert all codes into 1 JavaScript ? or change the JQuery to something else ?
    i want some advice
    Sad
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: i need help in sceditor Project

    Post by Ange Tuteur Sat 29 Nov - 11:06

    Hello Michael,

    Without the full script you have only CSS and a getScript() method that does nothing.
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    In progress Re: i need help in sceditor Project

    Post by Michael_vx Sat 29 Nov - 12:27

    the target editor is this
    http://www.sceditor.com
    i already uploaded the needed files and the test is good with a none forumotion forum with these codes
    Code:
        <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
        <link rel="stylesheet" href="minified/themes/default.min.css" type="text/css" media="all" />
        <script type="text/javascript" src="minified/jquery.sceditor.bbcode.min.js"></script>
    and
    Code:
        <script>
        $(function() {
        // Replace all textarea's
        // with SCEditor
        $("textarea").sceditor({
        plugins: "bbcode",
        style: "minified/jquery.sceditor.default.min.css"
        });
        });
        </script>
    and as i thought if i made all these Scripts into 1 script and added the URL of this script might work but im not sure how to start it
    this why im looking for advice Very Happy
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    In progress Re: i need help in sceditor Project

    Post by Michael_vx Mon 1 Dec - 9:17

    Ange Tuteur wrote:Hello Michael,

    Without the full script you have only CSS and a getScript() method that does nothing.
    what you like to advice me with
    Very Happy
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: i need help in sceditor Project

    Post by Ange Tuteur Mon 1 Dec - 9:32

    Is this for a Forumotion forum ?

    This : http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
    Is the jQuery JavaScript library, it lets you use jQuery on your website. e.g. :
    Code:
    $(element).html('do something')

    I'm guessing this : minified/themes/default.min.css
    Is the stylesheet for the editor ? That can be included inside a script and appended to the head, but I don't recommend it.

    and I'm guessing this : minified/jquery.sceditor.bbcode.min.js
    Is the editor itself.
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    In progress Re: i need help in sceditor Project

    Post by Michael_vx Mon 1 Dec - 22:21

    Ange Tuteur wrote:Is this for a Forumotion forum ?

    This : http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
    Is the jQuery JavaScript library, it lets you use jQuery on your website. e.g. :
    Code:
    $(element).html('do something')

    I'm guessing this : minified/themes/default.min.css
    Is the stylesheet for the editor ? That can be included inside a script and appended to the head, but I don't recommend it.

    and I'm guessing this : minified/jquery.sceditor.bbcode.min.js
    Is the editor itself.
    im still like a 1% of coding knowledge and im guessing the code you provide is something like HTML am i right ?
    okay here the direct code links

    http://micsoft.hol.es/vx/minified/themes/default.min.css
    http://micsoft.hol.es/vx/minified/jquery.sceditor.default.min.css
    http://micsoft.hol.es/vx/minified/jquery.sceditor.bbcode.min.js

    i think i need more advice or tips Sad
    its harder then i thought may be
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: i need help in sceditor Project

    Post by SLGray Mon 1 Dec - 22:28

    You do understand even if you use a different editor if Forumotion does not support the coding somethings will not work.  I am referring to BBCodes.



    i need help in sceditor Project Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    In progress Re: i need help in sceditor Project

    Post by Michael_vx Sun 14 Dec - 19:02

    sorry for the delay got no internet in the past days
    i understand in the 1st since i find fonts over 29 dose not working on forumotion but at least will make Editor looks better and this all my friends asking me to so its will be good to give them what they want even if will not work 100% with all codes am I right
    may they will understand what Editor is better
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    In progress Re: i need help in sceditor Project

    Post by Michael_vx Sat 27 Dec - 11:15

    O_O
    any new idea
    i hope my internet dont lost again
    weird news someone said he used this editor on forumotion but when i asked how he did not reply so im waiting for tips Very Happy

      Current date/time is Sun 22 Sep - 18:35