The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

i need help in sceditor Project

View previous topic View next topic Go down

In progress i need help in sceditor Project

Post by Michael_vx on November 29th 2014, 8:23 am

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

Michael_vx
Forumember

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

Back to top Go down

In progress Re: i need help in sceditor Project

Post by Ange Tuteur on November 29th 2014, 10:06 am

Hello Michael,

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

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: i need help in sceditor Project

Post by Michael_vx on November 29th 2014, 11:27 am

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
Forumember

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

Back to top Go down

In progress Re: i need help in sceditor Project

Post by Michael_vx on December 1st 2014, 8:17 am

@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

Michael_vx
Forumember

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

Back to top Go down

In progress Re: i need help in sceditor Project

Post by Ange Tuteur on December 1st 2014, 8:32 am

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.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: i need help in sceditor Project

Post by Michael_vx on December 1st 2014, 9:21 pm

@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

Michael_vx
Forumember

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

Back to top Go down

In progress Re: i need help in sceditor Project

Post by SLGray on December 1st 2014, 9:28 pm

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.


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


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: i need help in sceditor Project

Post by Michael_vx on December 14th 2014, 6:02 pm

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
Forumember

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

Back to top Go down

In progress Re: i need help in sceditor Project

Post by Michael_vx on December 27th 2014, 10:15 am

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

Michael_vx
Forumember

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

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum