Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: hhy89 on February 05, 2013, 01:28:36 AM

Title: SCEditor4Smf [upgraded]
Post by: hhy89 on February 05, 2013, 01:28:36 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3594)

Description:
SCEditor for Smf by Smf Destek (http://destek.smfmod.com)




Features:
* Better Syntax
* Enhanced Selection
* Deep Integration
* Quick Reply Integration
* Quick Edit Integration
* Modify Signature Integration
* Mods Integration
* Much nicer selection of emoticons
* Print your Post with a click
* Smart addition of Links, Email and Image for BBCode Interface
* Table WYSIWYG Interface
* Real Code in WYSIWYG Interface




Settings
Administration Center » Configuration » SCEditor Admin Panel

Notes:
This Mod Uses Jquery.
This Mod Uses CSS3.
This Mod Uses Hooks.
This Mod Uses Php5.

SCEditor:
SCEditor is dual licensed under the MIT and GPL licenses. - SCEditor (http://www.sceditor.com/)

License:
This work is licensed under a CC BY-NC-ND (http://creativecommons.org/licenses/by-nc-nd/3.0/)

btw thanks all SMF Customization Team, emanuele, phantomm for helping and samclarke for this editor
Title: Re: SCEditor4Smf
Post by: Adrek on February 05, 2013, 05:07:35 AM
Nice to see this mod approved on Mod Site :)
Good work :)
Title: Re: SCEditor4Smf
Post by: Shambles on February 05, 2013, 05:19:42 AM
Nice job. Working well so far :)


One thing... in the Admin control, "seperated" should be "separated"  8)
Title: Re: SCEditor4Smf
Post by: 4Kstore on February 05, 2013, 05:32:32 AM
Quote from: phantomm on February 05, 2013, 05:07:35 AM
Nice to see this mod approved on Mod Site :)

Nice debug in the developer section :P

Thanks for share your work man!
Title: Re: SCEditor4Smf
Post by: Shambles on February 05, 2013, 07:20:09 AM
Quote from: Shambles on February 05, 2013, 05:19:42 AM
Nice job. Working well so far :)

Having said that, I had to uninstall it sharpish as there appears to be a conflict with the BBCode Blink Mod (http://custom.simplemachines.org/mods/index.php?mod=1981) resulting in  thousands of errors being logged.

(click for larger view)
(http://i.imgur.com/M7j6p0n.png)

In the short time available I had a ganders in the code supplied with SCEditor4Smf and can see a :blink: occurring in the jquery.sceditor.js file, which I'm assuming is interfering with the existing :blink: "smiley code" resulting in an invalid (or no) parameter being passed to the existing code that's being reported in the errors:


function blink_bbc_add_button($buttons)
{
global $txt;

$row_position = 2; // Which row are we adding the buttons on (starting at 1)
$col_position = 10; // which col are we inserting the buttons

// Define the new buttons
$newbuttons = array(
array(
'image' => 'blink',
'code' => 'blink',
'before' => '[blink]',
'after' => '[/blink]',
'description' => $txt['blink']
)
);

// Move from x,y coordinates to array values
$row_position--;
$col_position--;

// Get the individual button rows
70> foreach ($buttons as $sub_buttons)
$button_row[] = $sub_buttons;




When I get home I can play some more, including a change to the existing :blink: "smiley code" to something else (I'm at work right now  O:))
Title: Re: SCEditor4Smf
Post by: Shambles on February 05, 2013, 12:09:24 PM
^-- Of course when I said "smiley code" I meant "BBcode"  ::)

Removing the BBCode Blink mod (http://custom.simplemachines.org/mods/index.php?mod=1981) shifted the problem to the next mod in my list - BBCode Dotted Underline mod (http://custom.simplemachines.org/mods/index.php?mod=2247) - whose source code is almost identical to the Blink BBCode mod.

Removing that mod meant that SCEditor4Smf no longer produced errors in the log.

I repackaged the BBCode Blink mod after making the following changes:

Code (Find) Select
function blink_bbc_add_button($buttons)

Code (Replace) Select
function blink_bbc_add_button(&$buttons)

This installs perfectly and now sings from the same hymn book as SCEditor4Smf. A similar edit & repackage was performed on the BBCode Dotted Underline mod and that works also.


FYI
Title: Re: SCEditor4Smf
Post by: Badboy on February 05, 2013, 01:07:27 PM
Quote on display not working with Firefox and Chrome.

Error generated by Firefox (No error info at Chrome)
Time: 05.02.2013 20:01:56
Error: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLTextAreaElement.setSelectionRange]
File: ../Themes/default/scripts/script.js?fin20
Row: 371
Title: Re: SCEditor4Smf
Post by: hhy89 on February 05, 2013, 06:43:57 PM
Quote from: phantomm on February 05, 2013, 05:07:35 AM
Nice to see this mod approved on Mod Site :)
Good work :)
thank u :)
Quote from: Shambles on February 05, 2013, 05:19:42 AM
Nice job. Working well so far :)

One thing... in the Admin control, "seperated" should be "separated"  8)
my eng is very bad, did you understand from there? :D

Quote from: 4Kstore on February 05, 2013, 05:32:32 AM
Quote from: phantomm on February 05, 2013, 05:07:35 AM
Nice to see this mod approved on Mod Site :)

Nice debug in the developer section :P

Thanks for share your work man!
thanks :)
Quote from: Badboy on February 05, 2013, 01:07:27 PM
Quote on display not working with Firefox and Chrome.

Error generated by Firefox (No error info at Chrome)
Time: 05.02.2013 20:01:56
Error: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLTextAreaElement.setSelectionRange]
File: ../Themes/default/scripts/script.js?fin20
Row: 371

im working on it.
thanks for bug



btw thanks all SMF Customization Team, emanuele, phantomm for helping and samclarke for this editor
Title: Re: SCEditor4Smf
Post by: hhy89 on February 05, 2013, 07:45:51 PM
Quote from: Badboy on February 05, 2013, 01:07:27 PM
Quote on display not working with Firefox and Chrome.

Error generated by Firefox (No error info at Chrome)
Time: 05.02.2013 20:01:56
Error: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLTextAreaElement.setSelectionRange]
File: ../Themes/default/scripts/script.js?fin20
Row: 371

i think solution is ctrl + f5.

try this and tell me.
Title: Re: SCEditor4Smf
Post by: Badboy on February 06, 2013, 02:48:12 AM
I tried it before post here but no luck. On clean Smf no problem. But on my site not working. I did not find which mod can conflict with it.

Code (INSTALLED MODS) Select
1.   New Topic Button    1.0
2.   Mobile Device Detect    0.2.2
3.   SimplePortal    2.3.5
4.   SEO Sitemap    2.2.1
5.   Tapatalk SMF 2.0 RC5/Final Plugin    3.4.0
6.   Avatar Rounded Corners    1.0
7.   SMF 2.0.4 Update    1.0
8.   SCEditor4Smf    0.4.5
9.   Slashout Banned Members    1.2
10.   Search Focus Dropdown    1.6.1
11.   Simple Menu Icons    1.0
12.   Profile Moderator Management
13.   reCAPTCHA for SMF    0.9.8a
14.   ShowBannedMessage    1.1
15.   SimplePortal - Turkish    2.3.5
16.   Contact Page    3.0
17.   SimpleColorizer    1.1
18.   More Spiders    1.2
19.   Enhanced PM Popup    1.0.1
20.   YouTube BBCode    2.6
21.   Activity in Profile    1.1
Title: Re: SCEditor4Smf
Post by: hhy89 on February 06, 2013, 04:34:04 AM
i tried all these mod but i didnt show any problem with these.

can u tell me admin information in pm?
thank u
Title: Re: SCEditor4Smf
Post by: Badboy on February 06, 2013, 06:58:37 AM
After several tries, problem fixed (do not know how :D )

Edit: Do you have plans to make it compatible with portals? (e.g. Simpleportal)
Title: Re: SCEditor4Smf
Post by: hhy89 on February 06, 2013, 05:47:45 PM
ok good :)

i think it compatible with any portal.
write action in "Where to show full editor?" and try

thanks
Title: Re: SCEditor4Smf
Post by: yasarus on February 06, 2013, 06:39:31 PM
Very good mod
Thanks hhy89
Title: Re: SCEditor4Smf
Post by: TwitchisMental on February 07, 2013, 01:36:24 AM
I am happy to see you got this finally in the smf mod db.  This is a great mod.
Title: Re: SCEditor4Smf
Post by: hhy89 on February 07, 2013, 07:19:41 AM
thank u
Title: Re: SCEditor4Smf
Post by: lc62003 on February 07, 2013, 07:57:32 PM
Congrats hhy!  Glad to see this one approved.  Great mod, and great work!   8)
Title: Re: SCEditor4Smf
Post by: hhy89 on February 08, 2013, 07:03:09 AM
thank u :)
Title: Re: SCEditor4Smf
Post by: Badboy on February 08, 2013, 08:00:06 AM
When quoting it deletes indentation.

Take a look to screenshot.
Title: Re: SCEditor4Smf
Post by: hhy89 on February 08, 2013, 02:54:06 PM
i try it doesnt delete.
which browser u used?
Title: Re: SCEditor4Smf
Post by: Badboy on February 08, 2013, 03:35:43 PM
IE, Firefox, Chrome all of them are same.

Note: Clean install 2.0.4
Title: Re: SCEditor4Smf
Post by: jarska on February 15, 2013, 03:32:41 PM
Very nice mod, thank you!

Is it possible to change working like this--> http://www.sceditor.com

I mean smileys are only in drop down box, links and photo URL:s too?

In language folder I found  Editor.english.php file, and there was text 'Description (optional):'; and wondering is it ment to work like my posted link editor?
Title: Re: SCEditor4Smf
Post by: JoliePittOnline on February 15, 2013, 10:06:00 PM
Tried installing and it's showing just fine in the default theme. Do I have to edit some codes to a custom theme? I am using one and I couldn't see anything from the parser that I could edit on a custom SMF theme.
Title: Re: SCEditor4Smf
Post by: jarska on February 16, 2013, 12:42:41 AM
Quote from: hhy89 on February 06, 2013, 05:47:45 PM
write action in "Where to show full editor?" and try
thanks

Try that with SMF Classifieds, SMF Gallery Pro, SMF Store and it doesn't work, both appears, SMF original and SCEditor4Smf, one below another. :(
Title: Re: SCEditor4Smf
Post by: jsdoyle on February 18, 2013, 11:02:58 PM
I'm having problems with my package installer so I did a manual install.  Something isn't right.

I installed the mod on a site working properly and when making a post and clicking "insert table" I get a menu asking me how may rows/columns. 

On the site I did the manual install I do not get the menu and it just inserts the <table><td> etc. in the text area.  Also all bbc shows up.

Any idea what I've missed?  Everything else seems to be working on the manual install site.

Thanks,

Scott
Title: Re: SCEditor4Smf
Post by: jarska on February 19, 2013, 05:55:03 AM
Quote from: jarska on February 15, 2013, 03:32:41 PM
Very nice mod, thank you!

Is it possible to change working like this--> http://www.sceditor.com

I mean smileys are only in drop down box, links and photo URL:s too?

In language folder I found  Editor.english.php file, and there was text 'Description (optional):'; and wondering is it ment to work like my posted link editor?

Okay, now I get it, you must click "Toggle view" button first.

But how to make editor mode to default and change another mode after clicking toggle view button?
Title: Re: SCEditor4Smf
Post by: hhy89 on February 19, 2013, 05:44:38 PM
Quote from: Badboy on February 08, 2013, 03:35:43 PM
IE, Firefox, Chrome all of them are same.

Note: Clean install 2.0.4
it will be fixed in next version. thanks
Quote from: JoliePittOnline on February 15, 2013, 10:06:00 PM
Tried installing and it's showing just fine in the default theme. Do I have to edit some codes to a custom theme? I am using one and I couldn't see anything from the parser that I could edit on a custom SMF theme.
themes will be added in next version. i think :)
Quote from: jarska on February 16, 2013, 12:42:41 AM
Quote from: hhy89 on February 06, 2013, 05:47:45 PM
write action in "Where to show full editor?" and try
thanks

Try that with SMF Classifieds, SMF Gallery Pro, SMF Store and it doesn't work, both appears, SMF original and SCEditor4Smf, one below another. :(
write actions. for example;
urdomain.com/index.php?action=blabla
write blabla in "Where to show full editor?".

Quote from: jarska on February 19, 2013, 05:55:03 AM
Quote from: jarska on February 15, 2013, 03:32:41 PM
Very nice mod, thank you!

Is it possible to change working like this--> http://www.sceditor.com

I mean smileys are only in drop down box, links and photo URL:s too?

In language folder I found  Editor.english.php file, and there was text 'Description (optional):'; and wondering is it ment to work like my posted link editor?

Okay, now I get it, you must click "Toggle view" button first.

But how to make editor mode to default and change another mode after clicking toggle view button?
Themes and Layout > Member options > Configure guest and new user options for this theme > Show WYSIWYG editor on post page by default.

Thanks all of u
Title: Re: SCEditor4Smf
Post by: Dhayzon on February 19, 2013, 05:45:43 PM
help

(http://i.imgur.com/Yqyu5e4.png)

as cleared in quick answers

(http://i.imgur.com/V18xPLV.png)
Title: Re: SCEditor4Smf
Post by: hhy89 on February 19, 2013, 05:49:18 PM
uninstall this mod or another editor mod. i think it is "WysiBB"
which one want to use? use it. choose one of them.
thank u
Title: Re: SCEditor4Smf
Post by: Dhayzon on February 19, 2013, 06:02:57 PM
I want to replace these buttons with ones that I have installed as I do

(http://i.imgur.com/Q9Sj65r.png)
Title: Re: SCEditor4Smf
Post by: jarska on February 19, 2013, 11:37:01 PM
Quote from: hhy89 on February 19, 2013, 05:44:38 PM
write actions. for example;
urdomain.com/index.php?action=blabla
write blabla in "Where to show full editor?".

I did exactly like that, SMF Gallery is gallery, SMF Classifieds is classified and so on...both appears, one below another.


Quote from: jarska on February 19, 2013, 05:55:03 AM
But how to make editor mode to default and change another mode after clicking toggle view button?

Quote from: hhy89 on February 19, 2013, 05:44:38 PM
Themes and Layout > Member options > Configure guest and new user options for this theme > Show WYSIWYG editor on post page by default.

Okay, thanks but if I did that, editor mod working like default but if I try to write some text below someones quoted text, i have to press enter before can click area below quoted text and write something there.
Title: Re: SCEditor4Smf
Post by: Kindred on February 20, 2013, 01:33:17 PM
odd interference between this mod and the Ultimate profile mod.
(happens on one site, but not on another, so I am unsure where the interference is occurring)

With this mod installed and Ultimate Profile installed, on the "edit Ultimate Profile" page, there are several textboxes for the users to enter various information. This mod triggers on those textboxes, even if the user does not have wysiwyg active.... and the mod displays the smilies in increasing rows
i.e.
row 1 - 1 smiley
row 2 - 2 smilies
row 3 - 3 smilies
row 4 - 4 smilies
... etc down to x rows for the x smilies
Title: Re: SCEditor4Smf
Post by: jarska on February 21, 2013, 03:39:28 AM
Quote from: Kindred on February 20, 2013, 01:33:17 PM
odd interference between this mod and the Ultimate profile mod.
(happens on one site, but not on another, so I am unsure where the interference is occurring)

With this mod installed and Ultimate Profile installed, on the "edit Ultimate Profile" page, there are several textboxes for the users to enter various information. This mod triggers on those textboxes, even if the user does not have wysiwyg active.... and the mod displays the smilies in increasing rows
i.e.
row 1 - 1 smiley
row 2 - 2 smilies
row 3 - 3 smilies
row 4 - 4 smilies
... etc down to x rows for the x smilies

On my site smileys did that with Tinyportal shoutbox on the same page.
When I remove shoutbox, smileys went right.
Title: Re: SCEditor4Smf
Post by: Kindred on February 21, 2013, 07:13:39 AM
no shoutbox on this site...
Title: Re: SCEditor4Smf
Post by: lc62003 on March 20, 2013, 09:23:43 AM
Quote from: Kindred on February 20, 2013, 01:33:17 PM
odd interference between this mod and the Ultimate profile mod.
(happens on one site, but not on another, so I am unsure where the interference is occurring)

With this mod installed and Ultimate Profile installed, on the "edit Ultimate Profile" page, there are several textboxes for the users to enter various information. This mod triggers on those textboxes, even if the user does not have wysiwyg active.... and the mod displays the smilies in increasing rows
i.e.
row 1 - 1 smiley
row 2 - 2 smilies
row 3 - 3 smilies
row 4 - 4 smilies
... etc down to x rows for the x smilies

I get this problem with no profile mods.   ???
Title: Re: SCEditor4Smf
Post by: akaewn on April 01, 2013, 09:34:13 AM
hello hilmi :)

ingilizcem bittigi için türkçe yazıyorum..

hide ve alert ekleyecegim nasıl yaparım ayrıca saga ve sola yaslama butonları
Title: Re: SCEditor4Smf
Post by: Kindred on April 01, 2013, 09:44:10 AM
please post in English in this area of the forum. If you can't post in English, there is support availabel in your native language (turkish?) in the Turkish support boards
Title: Re: SCEditor4Smf
Post by: akaewn on April 01, 2013, 10:12:35 AM
alert, hide How do I add buttons to left and right justification
Title: Re: SCEditor4Smf
Post by: hawaiibillT on April 01, 2013, 01:05:05 PM
I was having problems with cut and pasting with the stock editor, this fixed that problem but now I have another problem. I added a bbc youtube button and it works fine but the button is blank. thought it might be a theme problem but it shows the same in all themes. where should I look to see what image is associated with it so I can link right?
Title: Re: SCEditor4Smf
Post by: hawaiibillT on April 03, 2013, 03:29:22 PM
Any ideas on how I can fix this
Title: Re: SCEditor4Smf
Post by: lc62003 on April 03, 2013, 03:52:10 PM
Quote from: hawaiibillT on April 03, 2013, 03:29:22 PM
Any ideas on how I can fix this

Use the attached png image.  Place it in /Themes/default/images/bbc/

In Administration Center » SCEditor Admin Panel » SCEditor Admin Panel Settings

Place:

youtube

in the fields for Extra bbcode in full editor and Extra bbcode in small editor

Hope I'm not leaving out anything but that will give you the image.  :)

Title: Re: SCEditor4Smf
Post by: hawaiibillT on April 03, 2013, 04:16:49 PM
thanks for the reply. I had done that and was getting a blank button. what I did to fix it was add

.sceditor-button-youtube div{background:url(../images/bbc/youtube.png)}

to the jquery.sceditor.css file and got it working
Title: Re: SCEditor4Smf
Post by: lc62003 on April 05, 2013, 10:01:14 AM
Quote from: hawaiibillT on April 03, 2013, 04:16:49 PM
thanks for the reply. I had done that and was getting a blank button. what I did to fix it was add

.sceditor-button-youtube div{background:url(../images/bbc/youtube.png)}

to the jquery.sceditor.css file and got it working

Ah, indeed I was forgetting that part.  lol.  Glad it's working for you.  :)
Title: Re: SCEditor4Smf
Post by: danigp6 on April 10, 2013, 06:07:53 AM
hi, I can't add the spoiler button to this editor, why? I have already added the youtube button and did the same with this one but nothing appears
Title: Re: SCEditor4Smf
Post by: iacomac on April 18, 2013, 01:11:25 PM
Amazing, extraordinary mod!


Two question:

1. where can I found the code to enlarge/modify the emoticon popup? I can't found it... I have many emoticons [I can't cut, I could start a riot if...] and some of these come out of the box, including the closing link.

2. in fast-reply I can't quote. It doesn't work. I click on QUOTE, smf tells me that processes, but do not paste anything. In the normal response does.


any idea?

thank you
Title: Re: SCEditor4Smf
Post by: hhy89 on April 20, 2013, 03:13:09 PM
i start to improve this mod.
for now;
- themes will be added but themes' css are broken. i will try to fix this.
- emotion situation is selectable

wip;
- selectable bbcode
- added bbcode

any request?
Title: Re: SCEditor4Smf
Post by: hhy89 on April 21, 2013, 06:57:59 PM
mod is upgraded.

- added 5 different themes
- added 2 different emotions ways
- added disabled bbcode support
- changed added bbcode's code

if u get any error, tell me. i will try to fix any problem.
thanks
Title: Re: SCEditor4Smf [upgraded]
Post by: demlak on April 22, 2013, 12:57:48 PM
hi..
first: thx for this great mod..

second: on iphone we have to directly tip on the first line in the editor.. it´s not possible to activate writing by pressing anywhere in the textfield.. it has to be the first line..

it´s not a real bug.. but expanding this to the complete text field, would be more comfortable.. thx a lot
Title: Re: SCEditor4Smf [upgraded]
Post by: redactalo on April 26, 2013, 03:44:31 PM
Great mod, but in the quick reply, the width of the editor is very small and I can´t fix it, so it shows fine, but you can only weite in the left, when you put 10 words, it "scroll" down the line. And if you edit the dimensions (in the bottom right), it put very narrow
Title: Re: SCEditor4Smf [upgraded]
Post by: SilverKnight on April 27, 2013, 11:27:28 AM
Great mod as always hhy89. I just wish there was better support for "grabbing" other button features from the smf selection as i have various custom mods like spoiler.
Title: Re: SCEditor4Smf [upgraded]
Post by: redactalo on April 28, 2013, 05:35:15 AM
Another report: When You quote an user from the post, you can´t write bellow the quote "sector".
Title: Re: SCEditor4Smf [upgraded]
Post by: akbora on April 28, 2013, 07:18:59 AM
Is this similar mod?

http://custom.simplemachines.org/mods/index.php?mod=3246
Title: Re: SCEditor4Smf [upgraded]
Post by: hhy89 on April 28, 2013, 07:33:13 AM
Quote from: SilverKnight on April 27, 2013, 11:27:28 AM
Great mod as always hhy89. I just wish there was better support for "grabbing" other button features from the smf selection as i have various custom mods like spoiler.
write bbcodes which u used in "Extra bbcode in small editor" or "Extra bbcode in full editor"
Quote from: redactalo on April 28, 2013, 05:35:15 AM
Another report: When You quote an user from the post, you can´t write bellow the quote "sector".
which browser is it?
Quote from: akbora on April 28, 2013, 07:18:59 AM
Is this similar mod?

http://custom.simplemachines.org/mods/index.php?mod=3246
yeah it is similar. choose one of them
Title: Re: SCEditor4Smf [upgraded]
Post by: colas on April 30, 2013, 08:49:16 AM
smf 2.02 upgrade to 2.03 upgrade to 2.04 with defaul theme, not aditional mods installed and last chrome version when i quote a user i have problems to write "outside" of the quote box, i should press the down array key and then click outside of the quote to start to write

In the other hand i the javascript console i get

Uncaught TypeError: Object [object Object] has no method 'createPermanentDropDown'

at action=profile, action=pm and forum.php?topic=xxx (reading a post)

thanks for this great mod  :)
Title: Re: SCEditor4Smf [upgraded]
Post by: hhy89 on April 30, 2013, 03:52:37 PM
it is fixed now. thanks for bug report
Title: Re: SCEditor4Smf [upgraded]
Post by: colas on May 01, 2013, 11:38:09 AM
Quote from: hhy89 on April 30, 2013, 03:52:37 PM
it is fixed now. thanks for bug report

0.5.1 ?
Title: Re: SCEditor4Smf [upgraded]
Post by: hhy89 on May 01, 2013, 05:11:02 PM
Quote from: colas on May 01, 2013, 11:38:09 AM
Quote from: hhy89 on April 30, 2013, 03:52:37 PM
it is fixed now. thanks for bug report

0.5.1 ?
yeah. it is fixed with v0.5.1
Title: Re: SCEditor4Smf [upgraded]
Post by: redactalo on May 01, 2013, 06:00:52 PM
Unistalled and installed the new version and have the same problem, i use mozilla
Title: Re: SCEditor4Smf [upgraded]
Post by: colas on May 01, 2013, 06:02:03 PM
Quote from: hhy89 on May 01, 2013, 05:11:02 PM
Quote from: colas on May 01, 2013, 11:38:09 AM
Quote from: hhy89 on April 30, 2013, 03:52:37 PM
it is fixed now. thanks for bug report

0.5.1 ?
yeah. it is fixed with v0.5.1

Same as before, i can't leave the box quote , i need to press down key and the click outisde the box, now insted of Dropdown error i get

Uncaught TypeError: Object [object Object] has no method 'setTextMode'
Title: Re: SCEditor4Smf [upgraded]
Post by: colas on May 01, 2013, 06:12:01 PM
In this version i notice also that iframe height is not as white div height

Title: Re: SCEditor4Smf [upgraded]
Post by: hhy89 on May 02, 2013, 10:06:24 AM
Quote from: redactalo on May 01, 2013, 06:00:52 PM
Unistalled and installed the new version and have the same problem, i use mozilla
ok. i will look again. thanks for bug.

Quote from: colas on May 01, 2013, 06:12:01 PM
In this version i notice also that iframe height is not as white div height

which browser is it? any problem diffirent theme or is this problem only in this theme?
Title: Re: SCEditor4Smf [upgraded]
Post by: colas on May 02, 2013, 10:48:35 AM
Chrome last version, i don't have more themes, only default and don't miss Uncaught TypeError: Object [object Object] has no method 'setTextMode'  also in chrome and default theme
Title: Re: SCEditor4Smf [upgraded]
Post by: hhy89 on May 02, 2013, 05:28:10 PM
not smf themes. try another sceditor themes
Title: Re: SCEditor4Smf [upgraded]
Post by: colas on May 12, 2013, 10:35:52 AM
Quote from: hhy89 on May 02, 2013, 05:28:10 PM
not smf themes. try another sceditor themes

Sorry i was busy

I get the same problems with each of five sceditr themes


There is not space between blokquote div and body height, both are same height so there is not chace to click outside, maybe this may be solved by adding an extra <br> next to <blockquoute>...</blockquoute>




Title: Re: SCEditor4Smf [upgraded]
Post by: lc62003 on May 19, 2013, 11:35:35 AM
For those having problems with the "cascading" smileys in Forum Profile:

It is a hack, not a fix, but you can revert to the standard editor in the profile by editing ./Sources/Subs-SCEditor.php


Find:
$smalleditor_actions_def = array('pm', 'profile');


Replace:
$smalleditor_actions_def = array('pm');




It will also be necessary to check the SCEditor Control Panel in Admin and ensure 'profile' is not listed in 'Where to show full editor'. 

Hope this helps someone.   :)
Title: Re: SCEditor4Smf [upgraded]
Post by: colas on May 21, 2013, 11:59:26 AM
So any news?  :D
Title: Re: SCEditor4Smf [upgraded]
Post by: hhy89 on May 24, 2013, 07:27:52 AM
working on it :)
Title: Re: SCEditor4Smf [upgraded]
Post by: demlak on May 26, 2013, 09:54:01 PM
anyone tried to combine this editor with mod "InLine Attachments (http://custom.simplemachines.org/mods/index.php?mod=1179)"?
i cannot get the inline attachments to work with this editor..
but they worked with the standard editor
I don´t know if this is a bug of this or the other mod.. so i will post there also..
Title: Re: SCEditor4Smf [upgraded]
Post by: demlak on May 27, 2013, 08:27:43 AM
awww... im sorry =)
this seems to be a problem only to the editor when we want to post calendar entrys..
i don´t have a vergin install of SMF.. so i cannot test if this depends on other mods.. calendar relevant mods that are installed in here:
Event Registration Mod for SMF2
Event Reminder Mod for SMF2
Add Date to Calendar Entry Threads

and we use a theme called "IceCube" from Dzinerstudio
Title: Re: SCEditor4Smf [upgraded]
Post by: melanie1986 on May 31, 2013, 04:16:22 PM
I've installed the editor into our forum. We're using the Nove theme based on a Dream Portal set up. So far I've noticed two glitches. One, the editor is not available in PM and secondly there is no smilie bar and even when you use the Pop up, clicking on a smilie does nothing; you have to copy paste the smilies????

Help appreciated :D
Title: Re: SCEditor4Smf [upgraded]
Post by: Plus on June 09, 2013, 08:02:39 AM
We have problem about add new BBCODE, forexample i try to add Facebook Likes Hide mod and this mod have self button. I go to admin panel of editor and add fblike but not work and second problem i write pm,profile for but not work we wait for solution

Türkçesi : BBCODE eklemede sorun yaşıyorum. Facebook Likes Hide modunun kendi BBCODE'u var ve yükleyip bbcode'nunu admin panelinden eklemeye çalıştığımda buton gözükmüyor bir diğer problem ise küçük editörün nerelerde gösterilmesi gerektiğini ayarlarken çıkıyor PM,PROFILE veya pm,profile yazınca çalışmıyor örneğin imza editlemesinde veya özel mesaj gönderiminde çözümlerinizi heyecanla bekliyoruz.

özel mesaj ve profil yerinde çıkmadığı için eklemeye çalışıyorum bu arada :)
Title: Re: SCEditor4Smf [upgraded]
Post by: Kevinex on June 09, 2013, 07:25:56 PM
First of all, this editor is very good, but I have some problems you can not see, for example, to edit the signature or sending private message editor is not displayed. In creating topic, reply and quick response the editor is displayed correctly.

What is happening?
Title: Re: SCEditor4Smf [upgraded]
Post by: Plus on June 10, 2013, 07:24:33 AM
Quote from: Kevinex on June 09, 2013, 07:25:56 PM
First of all, this editor is very good, but I have some problems you can not see, for example, to edit the signature or sending private message editor is not displayed. In creating topic, reply and quick response the editor is displayed correctly.

What is happening?

same

Quote from: Plus on June 09, 2013, 08:02:39 AM
We have problem about add new BBCODE, forexample i try to add Facebook Likes Hide mod and this mod have self button. I go to admin panel of editor and add fblike but not work and second problem i write pm,profile for but not work we wait for solution

Türkçesi : BBCODE eklemede sorun yaşıyorum. Facebook Likes Hide modunun kendi BBCODE'u var ve yükleyip bbcode'nunu admin panelinden eklemeye çalıştığımda buton gözükmüyor bir diğer problem ise küçük editörün nerelerde gösterilmesi gerektiğini ayarlarken çıkıyor PM,PROFILE veya pm,profile yazınca çalışmıyor örneğin imza editlemesinde veya özel mesaj gönderiminde çözümlerinizi heyecanla bekliyoruz.

özel mesaj ve profil yerinde çıkmadığı için eklemeye çalışıyorum bu arada :)
Title: Re: SCEditor4Smf [upgraded]
Post by: nikan on June 23, 2013, 02:44:18 AM
Nice work hhy89.
Here is the Greek translation.

$editortxt['More Colors'] = 'Περισσότερα χρώματα';
$editortxt['Rows:'] = 'Σειρές:';
$editortxt['Cols:'] = 'Στήλες:';
$editortxt['Width (optional):'] = 'Πλάτος (προαιρετικό):';
$editortxt['Height (optional):'] = 'Ύψος (προαιρετικό):';
$editortxt['URL:'] = 'URL:';
$editortxt['Description (optional):'] = 'Περιγραφή (προαιρετικό):';
$editortxt['E-mail:'] = 'E-mail:';
$editortxt['Unlink'] = 'Κατάργηση συνδέσμου';
$editortxt['More'] = 'Περισσότερα';
$editortxt['Insert'] = 'Εισαγωγή';
// admin panel texts
$txt['sceditor_admin_panel'] = 'Διαχείριση SCEditor';
$txt['sceditor_admin_panel_settings'] = 'Ρυθμίσεις SCEditor';
$txt['sceditor_admin_panel_desc'] = 'Εδώ μπορείτε να αλλάξετε τις ρυθμίσεις του SCEditor';
$txt['sceditor_theme'] = 'Θέμα εμφάνισης';
$txt['sceditor_emotion'] = 'Εμφάνιση φατσούλων';
$txt['sceditor_emotion_0'] = 'Συμπτυγμένες';
$txt['sceditor_emotion_1'] = 'Εντός σειράς';
$txt['sceditor_full'] = 'Πού να εμφανίζεται το πλήρες πρόγραμμα επεξεργασίας;';
$txt['sceditor_full_sub'] = 'Εκτός των post και post2. Τύποι ενεργειών χωρισμένοι με κόμμα. αν δεν ξέρετε τι κάνετε, παρακαλώ μην το αλλάξετε';
$txt['sceditor_full_extra'] = 'Επιπλέον bbcode στο πλήρες πρόγραμμα επεξεργασίας';
$txt['sceditor_full_extra_sub'] = 'Τύποι bbcodes χωρισμένοι με κόμμα. αν δεν ξέρετε τι κάνετε, παρακαλώ μην το αλλάξετε';
$txt['sceditor_full_height'] = 'Ύψος πλήρους προγράμματος επεξεργασίας';
$txt['sceditor_small'] = 'Πού να εμφανίζεται το μικρό πρόγραμμα επεξεργασίας;';
$txt['sceditor_small_sub'] = 'Εκτός των ΠΜ, προφίλ και γρήγορη απάντηση. Τύποι ενεργειών χωρισμένοι με κόμμα. αν δεν ξέρετε τι κάνετε, παρακαλώ μην το αλλάξετε';
$txt['sceditor_small_extra'] = 'Επιπλέον bbcode στο μικρό πρόγραμμα επεξεργασίας';
$txt['sceditor_small_extra_sub'] = 'Τύποι bbcodes χωρισμένοι με κόμμα. αν δεν ξέρετε τι κάνετε, παρακαλώ μην το αλλάξετε';
$txt['sceditor_small_height'] = 'Ύψος μικρού προγράμματος επεξεργασίας';
Title: Re: SCEditor4Smf [upgraded]
Post by: Draffi on July 23, 2013, 06:57:19 PM
Wow...great stuff!

Before i install this on my working forum, i will check if there is something interference with other Javascript-Mods (e.g. eNotify or Draft-Mod).

For the moment i can see that this IS working with the ILA-Mod...

Anyway...

I was looking on the Homepage from this Editor (http://www.sceditor.com/documentation/options/) that there is:
- a print button
- an autoExpand Option
- a youtube function (!)
- an ordered List function.

How can i activate this? The documentation on the sceditor.com-Page make more questions than answers....

How can i change the language?

Have somebody problems with other mods?

Will be come an update from hh89 (BTW: Thank you for this nice peace of code!)

Thx.

Title: Re: SCEditor4Smf [upgraded]
Post by: Draffi on July 24, 2013, 10:58:18 AM
Like i was thinking...

the "Drafts" - Mod (http://custom.simplemachines.org/mods/index.php?mod=2621) is not working correctly:

Autosave is not function, well only when you save a draft at first manually - later, when you edit the draft, the autosave-function is working again...

Have somebody an idea?

Title: Re: SCEditor4Smf [upgraded]
Post by: melanie1986 on September 02, 2013, 06:34:49 PM
does not work with Nova theme, we had to delete it :(
Title: Re: SCEditor4Smf [upgraded]
Post by: lc62003 on September 28, 2013, 12:37:52 PM
Since this seems to have been forgotten, here is the file needed to fix the cursor inside the quote problem in wysiwyg mode. 
Title: Re: SCEditor4Smf [upgraded]
Post by: Antros22 on November 17, 2013, 05:41:50 AM
any news  who it works in 2.0.6???

in 2.0.5 it works lika a charm :)
Title: Re: SCEditor4Smf [upgraded]
Post by: Arantor on November 17, 2013, 11:18:42 AM
Nothing in2.0.6 should have changed this.
Title: Re: SCEditor4Smf [upgraded]
Post by: lc62003 on November 17, 2013, 02:55:48 PM
It's working fine in 2.0.6,  for three forums.   ;)
Title: Re: SCEditor4Smf [upgraded]
Post by: Antros22 on November 17, 2013, 04:17:49 PM
 :o :o :o hmm maybe is other mod  the problem  ???   
Title: Re: SCEditor4Smf [upgraded]
Post by: Norvidge on January 18, 2014, 08:16:21 PM
Hi! I want to know how to put sceditor in profile modify. it doesnt appear in the signature and biography and i dont know how to do.
regards!
Title: Re: SCEditor4Smf [upgraded]
Post by: shibdib on February 02, 2014, 07:13:20 PM
Editor is broken for me, whenever I try to quote (with the fix on the previous page) I can write below the quote but it doesn't show up.
Title: Re: SCEditor4Smf [upgraded]
Post by: strano on February 06, 2014, 06:15:48 PM
In my forum, smf 2.0.6, with the quick reply, inserting the quote,there is an infinite loading  :(
Title: Re: SCEditor4Smf [upgraded]
Post by: someDev on February 15, 2014, 09:57:54 AM
dirty sollution for quote selected on quick reply and disable sce
so i add if on Subs-SCEditor.php

public static function sceditor_load_theme() {
if (
($_REQUEST['action']=='post') ||
($_REQUEST['action']=='post2')
)
{ [...] }

}
Title: Re: SCEditor4Smf [upgraded]
Post by: MechSpecs on March 05, 2014, 08:04:28 PM
Ok got the button additions working too so I deleted that question (nobody had answered it anyways LOL) I also solved the width issue on ASCII mode.

Looks like there is just ONE last problem to solve...

When I switch it to WYSIWYG mode, in both Chrome and Firefox, I get this issue...

(http://i62.tinypic.com/2ihpbx0.jpg)

I can not, for the life of me, find the stylesheet entry for this mode. It isn't in index.css?!?! Can someone give me a hand tracking this entry down so I can change it like what I did with the entry in the index.css file.
Title: Re: SCEditor4Smf [upgraded]
Post by: Valtam on March 07, 2014, 08:37:57 AM
This stopped my 'Preview' and 'Quote' from working properly on 2.0.7. Hoping dev releases a new version soon.
Title: Re: SCEditor4Smf [upgraded]
Post by: MechSpecs on March 08, 2014, 01:15:42 PM
Quote works fine for me and I am assuming Preview does as well but for me it is just the Quick Reply WYSIWYG Editor bug pictured above. Everything else I have managed to solve.
Title: Re: SCEditor4Smf [upgraded]
Post by: Hadi2000 on March 22, 2014, 04:50:33 AM
I installed it on 2.0.7 and work well
but i have small problem
i want to change direction of richtextbox to Rtl.
how can i do it?
i am using it on forum with right to left language and i have problem with typing number with text
original richtexbox of smf has no problem with right to left language
please help me
Title: Re: SCEditor4Smf [upgraded]
Post by: Remy LeBeau on April 02, 2014, 03:12:55 PM
Hello, I have a problem with the quote. All text is stuck, impossible to understand the messages...

Here a screenshot!


(http://i62.tinypic.com/np2vsn.png)

why this happens?
Title: Re: SCEditor4Smf [upgraded]
Post by: MechSpecs on April 02, 2014, 05:46:57 PM
Quote from: Remy LeBeau on April 02, 2014, 03:12:55 PM
Hello, I have a problem with the quote. All text is stuck, impossible to understand the messages...

Here a screenshot!


(http://i62.tinypic.com/np2vsn.png)

why this happens?

This sounds like a stylesheet issue. I would "Inspect Element with Firebug" (if you use Firefox) and find out what stylesheet and what line the entry is in. You can also adjust the issues dynamically to check and see if you can fix them.
Title: Re: SCEditor4Smf [upgraded]
Post by: Wutzmann on May 19, 2014, 06:58:08 AM
Hi all,

is it possible to get something like this?

Title: Re: SCEditor4Smf [upgraded]
Post by: phungphi25 on July 07, 2014, 05:01:10 AM
Quote from: shibdib on February 02, 2014, 07:13:20 PM
Editor is broken for me, whenever I try to quote (with the fix on the previous page) I can write below the quote but it doesn't show up.

The same problem, I am using SMF v2.0.4 and SCEditor V0.5.1.

The issue is after i press the quote button, the cursor does always focus on quote area. in order to lost focus outsite of quote area, i must press the down arrow 2 times.

any solution ? help me to solve ?
Title: Re: SCEditor4Smf [upgraded]
Post by: Kindred on July 07, 2014, 11:28:39 AM
Well, first things first -- you NEED to upgrade to 2.0.8 ASAP there have been at least two security updates and two functional update since 2.0.4
Title: Re: SCEditor4Smf [upgraded]
Post by: phungphi25 on July 14, 2014, 11:26:47 PM
I am using SMF 2.0.4 and SCEditor4Smf V0.5.1

after copy from the following link (http://gsm.vn/threads/lua-dao-tuyen-cong-tac-vien-dang-tin-quang-cao-lam-viec-tai-nha.327104/), and paste to the editor, everything ok but there are some bugs after i press preview button, also after i press save button

enclosed this post a picture ?

please help me !
Title: Re: SCEditor4Smf [upgraded]
Post by: Kindred on July 15, 2014, 11:16:51 AM
Quote from: Kindred on July 07, 2014, 11:28:39 AM
Well, first things first -- you NEED to upgrade to 2.0.8 ASAP there have been at least two security updates and two functional update since 2.0.4
Title: Re: SCEditor4Smf [upgraded]
Post by: meemzo on July 28, 2014, 11:15:11 AM
Quote from: Valtam on March 07, 2014, 08:37:57 AM
This stopped my 'Preview' and 'Quote' from working properly on 2.0.7. Hoping dev releases a new version soon.

I've read this on several other threads and it is happening to me.  Didn't stop on uninstall.  Need help ASAP.  Running latest versions of mod and SMF
Title: Re: SCEditor4Smf [upgraded]
Post by: Kindred on July 28, 2014, 11:38:13 AM
side note when asking for support:

"latest version" is never an acceptable report.
we could release 2.0.9 tomorrow, in which case your post would instantly be incorrect.
so - when you report an issue and list your versions, please use the ACTUAL version numbers. :)
Title: Re: SCEditor4Smf [upgraded]
Post by: meemzo on July 28, 2014, 11:58:03 AM
Quote from: Kindred on July 28, 2014, 11:38:13 AM
side note when asking for support:

"latest version" is never an acceptable report.
we could release 2.0.9 tomorrow, in which case your post would instantly be incorrect.
so - when you report an issue and list your versions, please use the ACTUAL version numbers. :)

Sorry I can be a pretty lazy writer.  SMF 2.0.8, SCEditorsmf 0.5.1
Title: Re: SCEditor4Smf [upgraded]
Post by: meemzo on July 28, 2014, 01:44:23 PM
Ugh, I can't believe I have to re-install my site because of this glitch.  Yes I did a backup so it's possible, just a pain in the ass.
Title: Re: SCEditor4Smf [upgraded]
Post by: lc62003 on August 09, 2014, 11:42:37 PM
This mod is great!  Our members enjoy it.  That said there is another bug squash.  When Quick Reply is enabled, Quoting a post leads to a never ending Loading bar.  The fix is simple.  File below.  Hope this helps someone.  ;)


In the Themes/default/scripts folder, topic.js file. 
Title: Re: SCEditor4Smf [upgraded]
Post by: elf_fu on August 20, 2014, 10:06:51 AM
Quote from: Kevinex on June 09, 2013, 07:25:56 PM
First of all, this editor is very good, but I have some problems you can not see, for example, to edit the signature or sending private message editor is not displayed. In creating topic, reply and quick response the editor is displayed correctly.

What is happening?


Hello!

Our forum is using 2.0.8 with SCEditor. We are experiencing this issue where the editor is not displaying properly in PM's nor in signatures. Our main and only theme available to members is Crip's Back n' Black. I haven't noticed anyone with a fix or suggested fix for this--but was wondering if anyone has found one?

I have tried switching through all available SCEditor themes, to no luck.
Title: Re: SCEditor4Smf [upgraded]
Post by: Aaron10 on August 22, 2014, 12:00:47 AM
There seems to be a conflict between this and Ajax instant reply mod:
http://custom.simplemachines.org/mods/index.php?mod=1214

Clicking post beings up the loading bar, then it'll disappear but it hasn't posted. Any help?

Something to do with the topic.js modification from ajax instant quick reply:

QuickReply.prototype.ajax_reply = function (sSessionVar, sSessionId)
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'goback=1';
x[x.length] = 'from_qr=1';
x[x.length] = 'subject=' + escape(document.forms.postmodify['subject'].value.replace(/&#/g, "&#38;#").php_to8bit()).replace(/\+/g, "%2B");
x[x.length] = 'message=' + escape(document.forms.postmodify['message'].value.replace(/&#/g, "&#38;#").php_to8bit()).replace(/\+/g, "%2B");
x[x.length] = 'icon=' + escape(document.forms.postmodify['icon'].value.replace(/&#/g, "&#38;#").php_to8bit()).replace(/\+/g, "%2B");
x[x.length] = 'notify=' + escape(document.forms.postmodify['notify'].value.replace(/&#/g, "&#38;#").php_to8bit()).replace(/\+/g, "%2B");
x[x.length] = 'not_approved=' + escape(document.forms.postmodify['not_approved'].value.replace(/&#/g, "&#38;#").php_to8bit()).replace(/\+/g, "%2B");
x[x.length] = 'last_msg=' + parseInt(document.forms.postmodify.elements['last_msg'].value);
x[x.length] = sSessionVar + '=' + sSessionId;

// Send in the XMLhttp request and let's hope for the best.
ajax_indicator(true);
sendXMLDocument.call(this, smf_prepareScriptUrl(this.opt.sScriptUrl) + "action=post2;xml", x.join("&"), this.onPostDone);

return false;
}

QuickReply.prototype.onPostDone = function (XMLDoc)
{
// Let's pause to pretend we're doing something...
var date = new Date();
var curDate = null;
do { curDate = new Date(); }
while(curDate-date < 1000);

// We've finished the loading stuff.
ajax_indicator(false);

var post = XMLDoc.getElementsByTagName('post')[0];
var errors = XMLDoc.getElementsByTagName('errors')[0];

// Update the num_replies counter so if the user replies more than once without refreshing, we don't get an error.
document.forms.postmodify.elements['last_msg'].value = parseInt(post.getAttribute("msg"));

var insertPoint = document.getElementById("ajax_quick_reply_" + ((this.opt.bViewNewestFirst == 1) ? "top" : "bottom")), myDiv, myData, currentClass;

// If there are errors, its better to just let SMF deal with them, so we'll submit the form and let its take its course
if (errors)
{
document.postmodify.submit();
}
// Otherwise, the post was successful so lets add it in.
else if (post)
{
myDiv = document.createElement("div");
if (this.opt.bViewNewestFirst == 1)
{
currentClass = insertPoint.nextSibling.nextSibling.className;
window.location.hash = "top";
}
else
currentClass = insertPoint.previousSibling.previousSibling.previousSibling.previousSibling.className;

insertPoint.parentNode.insertBefore(myDiv, (this.opt.bViewNewestFirst == 1) ? insertPoint.nextSibling : insertPoint);
setOuterHTML(myDiv, post.childNodes[0].nodeValue.replace(/windowbg2|windowbg/, (currentClass == "windowbg" ? "windowbg2" : "windowbg")));

// And empty the post reply box
document.postmodify.message.value = "";

if (aIconLists[0])
aIconLists[0].initIcons();
}
else
{
window.location.reload(true);
}
}


EDIT: And yeah, PM and signature problems, same as above. 2.0.8.
Title: Re: SCEditor4Smf [upgraded]
Post by: Shadowwolf_tw on September 17, 2014, 11:33:43 PM
I seem to have run into an issue with this mod and spell check. Seems when someone performs a spell check, the check runs fine but then wipes out all data in the post field. This only occurs when this mod is enabled.
Title: Re: SCEditor4Smf [upgraded]
Post by: Aaron10 on September 18, 2014, 01:33:01 AM
I think I'll just wait for 2.1 to have this implemented properly at this point. I mainly only want it for quick reply anyway.
Title: Re: SCEditor4Smf [upgraded]
Post by: radu81 on September 18, 2014, 10:29:05 AM
For quick reply there is a similar mod from bugo.
Title: Re: SCEditor4Smf [upgraded]
Post by: Aaron10 on September 18, 2014, 11:43:30 AM
Yeah I prefer the look of this over markitup though personally
Title: Re: SCEditor4Smf [upgraded]
Post by: radu81 on September 24, 2014, 03:37:15 AM
I was referring to the other mod from bugo: wsybb (http://custom.simplemachines.org/mods/index.php?mod=3453)
Title: Re: SCEditor4Smf [upgraded]
Post by: Aaron10 on September 24, 2014, 11:20:43 AM
Oh right, I'll give that a try until 2.1 then. Thanks.
Title: Re: SCEditor4Smf [upgraded]
Post by: thelastlokean on November 04, 2014, 01:42:37 PM
Quote from: lc62003 on August 09, 2014, 11:42:37 PM
This mod is great!  Our members enjoy it.  That said there is another bug squash.  When Quick Reply is enabled, Quoting a post leads to a never ending Loading bar.  The fix is simple.  File below.  Hope this helps someone.  ;)


In the Themes/default/scripts folder, topic.js file.

Unfortunately I wasn't aware that SCeditor was causing the issue, so I have uninstalled and installed it a few times, then I figured out that every time you install SCeditor the loading screen gets stuck, doesn't go away if you uninstall.  Then if you install a second time (after uninstalling) you end up with 2 loading boxes!

When I replaced my topic.js with your version, it removed one of the instances (down to 4).  Being as you fixed this for one instance, any idea what is causing it or how I could remove all 5 of my 'loading' boxes?

(http://vapecraftmods.com/issue.png)

Anyone got an idea what could be causing this or how to remove all the instances?  I went through the manual install instructions to look for anything that is 'repeating' and I couldn't find anything, must be some database change or something?
Title: Re: SCEditor4Smf [upgraded]
Post by: lc62003 on November 16, 2014, 12:47:26 PM
last, I responded to your PM.  It appears there are replicated code instances.  Find and remove those and you should be good to go.  If not I'm glad to help in way I can.   ;)
Title: Re: SCEditor4Smf [upgraded]
Post by: melanie1986 on March 10, 2015, 08:01:54 PM
All seems to work for me except one teeny weeny problem. When you open the 'hidden' smilies, the panel is huge, like I mean as big as a page and you can't scroll with it? Solutions?

Also it disabled the functionality of the spoliers, you can no longer open them.
Title: Re: SCEditor4Smf [upgraded]
Post by: 420SA on March 15, 2015, 02:38:51 PM
Hi there I'm running on smf 2.0.9. The mod works brilliantly thank you very much for it.

The editor does not display for PM's though. Only the text area box displays. Is that intended?
Title: Re: SCEditor4Smf [upgraded]
Post by: 420SA on March 26, 2015, 05:46:09 AM
Sorry I managed to sort that issue out no assistance required in that regard
Quote from: thelastlokean on November 04, 2014, 01:42:37 PM
Quote from: lc62003 on August 09, 2014, 11:42:37 PM
This mod is great!  Our members enjoy it.  That said there is another bug squash.  When Quick Reply is enabled, Quoting a post leads to a never ending Loading bar.  The fix is simple.  File below.  Hope this helps someone.  ;)


In the Themes/default/scripts folder, topic.js file.

Unfortunately I wasn't aware that SCeditor was causing the issue, so I have uninstalled and installed it a few times, then I figured out that every time you install SCeditor the loading screen gets stuck, doesn't go away if you uninstall.  Then if you install a second time (after uninstalling) you end up with 2 loading boxes!

When I replaced my topic.js with your version, it removed one of the instances (down to 4).  Being as you fixed this for one instance, any idea what is causing it or how I could remove all 5 of my 'loading' boxes?

(http://vapecraftmods.com/issue.png)

Anyone got an idea what could be causing this or how to remove all the instances?  I went through the manual install instructions to look for anything that is 'repeating' and I couldn't find anything, must be some database change or something?

I do experience the same issue as in the quote. How do I rectify this?
Title: Re: SCEditor4Smf [upgraded]
Post by: 420SA on March 30, 2015, 08:41:13 AM
Only two more issues I'd like to raise for future improvements. I have noticed that other members have experienced it. Once again im not taking anything away from how great and useful this mod is.

1. When a user clicks quotes another member the cursor is placed within the quote box and the user cannot click outside the quote box, they have to user the bottom arrow key to get out the quote box.
2. The editor text area height spans the entire page in some instances.

I am using 2.0.9
Title: Re: SCEditor4Smf [upgraded]
Post by: Miker1029 on May 08, 2015, 03:27:37 PM
Ok I read all 6 Pages and MUST be doing something wrong, I've left the Config for it as was and Added "Where to show Full Editor" to post,reply,new topic...Tried both and this Is what I'm Getting:

Using SMF 2.0.10, With The BlackJack Theme Which Is Curve Compat...

Also I'm doing this On Localhost as not to fry my live forum...

And My Installed Mods:


1. SCEditor4Smf 0.5.1 [ Uninstall ]
2. Mobile Device Detect 0.2.2 [ Uninstall ]
3. Responsive Curve 1.0 Beta 3 [ Uninstall ]
4. Social Login 3.3 [ Uninstall ]
5. SA Facebook 2.0.5 [ Uninstall ]
6. Users mass actions 0.1.1 [ Uninstall ]
7. SA Twitter 1.2 [ Uninstall ]
8. PM Attachments 1.6 [ Uninstall ]
9. Menu Editor Lite 1.0.5 [ Uninstall ]
10. EzPortal 3.0.3 [ Uninstall ]
11. Add These Sites in Profile, Post & Memberlist 1.1 [ Uninstall ]
12. Add Social Media Icons To Profiles 1.2.0 [ Uninstall ]
13. DNEP - Display Name Edit Permission 1.2.1 [ Uninstall ]
14. Lazy Admin Menu 1.15 [ Uninstall ]
15. SA GPlus 0.3 REV 9 [ Uninstall ]
16. DevCenter 0.4.1 [ Uninstall ]
17. Floating Bar Mod 1.2 [ Uninstall ]
18. Register Redirect 1.0 [ Uninstall ]
19. Add Avatar To Who Is Online Version 1.2 1.0 [ Uninstall ]
20. EmailValidator 1.0 [ Uninstall ]
21. SA Chat 1.0a Rev120 [ Uninstall ]
22. InLine Attachments 1.2.1 [ Uninstall ]
23. Enhanced Dropdown 1.3 [ Uninstall ]
24. Custom BBCodes Manager 1.7 [ Uninstall ]
25. SMF 2.1-style Admin Area 1.7 [ Uninstall ]
26. Country Flags 2.1 [ Uninstall ]
27. Ad Managment 3.2 [ Uninstall ]
28. ACPS - Ajax Continuous Post Scrolling 1.0.2 [ Uninstall ]
29. Say Thanks 1.3 [ Uninstall ]
30. Downloads System 2.5 [ Uninstall ]
31. Default_Membergroup 2.0 [ Uninstall ]
32. Membergroup ID with Group Name 1.1 [ Uninstall ]
33. Topic Solved 1.1.1 [ Uninstall ]
Title: Re: SCEditor4Smf [upgraded]
Post by: melanie1986 on May 08, 2015, 03:31:59 PM
At a guess I'd say the creator of this Mod is no longer here. I PM'd him weeks (months) ago and no reply:( its a bust for me
Title: Re: SCEditor4Smf [upgraded]
Post by: Kindred on May 08, 2015, 03:52:08 PM
well, it looks to me as if not everything got installed into your theme...  Does it work in the default/curve theme?

also, I don't believe that this mod is friendly with extra BBC...
Title: Re: SCEditor4Smf [upgraded]
Post by: Miker1029 on May 08, 2015, 04:30:44 PM
Ok I'll give it a Shot on The Core theme and see...Will report back.

Mike
Title: Re: SCEditor4Smf [upgraded]
Post by: Miker1029 on May 08, 2015, 04:46:35 PM
Quote from: Kindred on May 08, 2015, 03:52:08 PM
well, it looks to me as if not everything got installed into your theme...  Does it work in the default/curve theme?

also, I don't believe that this mod is friendly with extra BBC...

Nope same Effect on Both Curve And Core (And this Was a Re-Install), I've got a Fresh Install On The Localhost for another mod I was trying to get working I'll test it on there, Then Back Track on some mods I'm not worried about (Like the BBC You Mentioned)..

Screen Shots:

Title: Re: SCEditor4Smf [upgraded]
Post by: Miker1029 on May 08, 2015, 04:54:12 PM
Ok, Update, I Installed on my Clean SMF 2.0.9 install On Curve, and it worked fine, I DID notice that It Gave me the TICK Option For Curve Which it did not with My BlackJack Theme, Now BlackJack 2.0 is supposed to be "Curve Compliant", Would there be a way for me to force it to Install on my theme, Or Am I S.O.L.??

Thanks For the Help Kindred,

Mike

EDIT:

Ok After Playing around a Little with it, The Reason It didn't offer the Tick for Curve Is because I had it disabled for users, So Installing WIth the Option Enabled, Allowed for the Core theme Tick..

I'm Going to Attempt to see what they are modding in the Theme Files (It's Only 2 Files and 1 Replace) and see if I can Find anything, Unless Anyone knows of a way I can have it Recognize the BlackJack Theme...

Ok Edit to the Edit, It's a TICK for the CORE theme Not Curve...AND Yes Seems It's one of the MODS Interfering, Gonna do some stuff if I come up with the solution, or Mod(s) Responsible I'll Post back..
Title: Re: SCEditor4Smf [upgraded]
Post by: Kindred on May 08, 2015, 06:23:25 PM
Not core...  Curve
Title: Re: SCEditor4Smf [upgraded]
Post by: Miker1029 on May 08, 2015, 06:54:08 PM
Quote from: Kindred on May 08, 2015, 06:23:25 PM
Not core...  Curve

Ya the Only Option it has is for CORE, On the Clean Install, With All Themes Selected By Users, But it Worked On Curve and BlackJack 2.0 on the Clean Install, So I Re-download My Zipped Up Forum and DB, And did a Re-Install of it, And Started dropping MODS, Mainly did anything that had to do with the Editor, About 4 and Still didn't work... I've been considering Re-Doing my Mods Local, Getting rid of a Few that Either stopped working Do to Other Mods, But that's a heck of a task, I'm Getting about 100+ New users a week, and I'm gonna end up facing Database Issues... I'm Not a PRO with SMF But trying to figure it out....

Mike

Title: Re: SCEditor4Smf [upgraded]
Post by: Kindred on May 08, 2015, 08:56:37 PM
If you don't have the curve/default theme in your theme list  then that will cause all sorts of errors
Title: Re: SCEditor4Smf [upgraded]
Post by: adamtwar on July 13, 2015, 07:42:04 AM
On SMF 2.0.9, with the SCEditor4Smf plugin,
I kept getting the error Uncaught TypeError: $(...).data(...).setTextMode is not a function(anonymous function) @ (index):183v.Callbacks.l @ jquery.min.js:2v.Callbacks.c.fireWith @ jquery.min.js:2v.extend.ready @ jquery.min.js:2A @ jquery.min.js:2

This was causing other jQuery plugins like FancyBox 4 SMF to not work.

I changed Subs-SCEditor.php line 170:
$this->advancedEnabled = '$(smfmod_editor).data("sceditor").setTextMode();';
to:
$this->advancedEnabled = '$(smfmod_editor).data("sceditor").sourceMode(true);';

And I changed Subs-SCEditor.php line 341:
$(smfmod_editor).data("sceditor").setTextMode();
to:
$(smfmod_editor).data("sceditor").sourceMode(true);


This seems to have fixed the problem.
Title: Re: SCEditor4Smf [upgraded]
Post by: Blackylol on July 13, 2015, 10:46:44 PM
I installed all works but, it doesnt change the quick reply, and the admin panel does not haven an option for it, why any ideas?
Title: Re: SCEditor4Smf [upgraded]
Post by: Jade Elizabeth on September 04, 2015, 12:49:12 PM
I installed this mod and it didn't work out. The buttons were tiny, and it loaded perpetually (the page never stopped loading).

So I uninstalled it and now I can't click smileys :(.
I hard refreshed and even cleared the cache. No errors :(.
Happening on Curve too :(.

Any ideas?
Title: Re: SCEditor4Smf [upgraded]
Post by: Jade Elizabeth on October 05, 2015, 11:53:02 PM
Okay so uninstalling put this before the <?php tags...

<div id="', $editor_id, '_resizer" class="richedit_resize"></div><?php

It also wasn't doing it correctly at all...and I have tried multiple times all with the same result. It's a problem with your mod.
Title: Re: SCEditor4Smf [upgraded]
Post by: ⓜⓤⓡⓐⓣ on February 10, 2016, 01:53:34 AM
When the cursor stays in the quoted box. quote very difficult to select out.

Alıntı yapıldığında imleç alıntı kısmında kalıyor. Mouse ile seçim yaparak sadece tek bir noktadan, satırın en başından seçim yapılabiliyor. Ben bunu bilmeme rağmen denk getirmek çok zor. Konularda alıntı yapanlar cevaplarını alıntının içine yazıyor.
Title: Re: SCEditor4Smf [upgraded]
Post by: acsieben on May 22, 2016, 08:08:14 AM
I was hoping to replace the standard SMF rich editor, given it's a mess, but this one isn't actually replacing it as you can see on the screenshot:
(http://i.imgur.com/UHFDGtm.png)

Also, I had to add this to make the buttons look ok:

.sceditor-button {
    height: auto !important;
    width: auto !important;
}

Title: Re: SCEditor4Smf [upgraded]
Post by: Pravi on July 27, 2016, 02:03:06 PM
Hello guys,

            Its pretty editor and i have installed this mod in smf 2.0.11 and its giving me one error. Its not showing anything in any replay page. The error message is given in the screenshot. I have the following mods installed.

1. SCEditor4Smf    
2. @mention members    
3. Activity Bar    
4. FASIF: Fix Avatar Size In Forum    
5. The Rules    
6. Akismet Spam Blocking    
7. Optimus Brave    
8. Notifications on Register    
9.  Topic Solved    
10.    Ad Managment    
11.    Smush.it! For SMF    
12.    Emoji One    
13.    Share This Topic    
14.    Blue Smiley    
15.    TinyPortal    

I want to install it somehow and i dont know what the problem is.?? Please somebody help me!!