Advertisement:

Author Topic: [MOD]SCEditor for smf 2.0  (Read 89024 times)

Offline hhy89

  • Full Member
  • ***
  • Posts: 486
[MOD]SCEditor for smf 2.0
« on: August 31, 2012, 05:32:26 PM »
SCEditor will be integrated with smf 2.1. why we dont use now?  :D

this mod is only for smf 2.0.2

Tired of all the bugs of the smf core editor?
well use it and then get rid of bugs  :D

download:
http://destek.smfmod.com/downloads/sa=downfile;id=31

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
edit:
Sceditor for Smf 0.2.0 is released  :D

mod's version is 0.4.2 now

if u get any error, tell me pls
thank u
« Last Edit: January 10, 2013, 10:34:58 AM by hhy89 »
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,063
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: [WIP]SCEditor for smf 2.0
« Reply #1 on: September 01, 2012, 04:57:06 PM »
I guess this needs still some work, because in logs there is error:
Code: [Select]
***index.php?topic=3.0
8: Undefined variable: smileys2from
File: /Sources/Subs-SCEditor.php
Line: 91

and editor does not work if there is other mod that is using jQuery (example FB Slide LikeBox)

edit:
one more thing, when i try to send message with this editor:
Quote
The following error or errors occurred while posting this message:
The message body was left empty.
« Last Edit: September 01, 2012, 05:12:03 PM by phantomm »
Polskie wsparcie SMF na simplemachines.org

My mods

Offline hhy89

  • Full Member
  • ***
  • Posts: 486
Re: [WIP]SCEditor for smf 2.0
« Reply #2 on: September 02, 2012, 10:06:18 AM »
thank u for bugs. im working on it
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [WIP]SCEditor for smf 2.0
« Reply #3 on: September 02, 2012, 10:27:08 AM »
Hey good job!!

* emanuele could even steal something for 2.1... O:) (if the author allows him of course)


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline hhy89

  • Full Member
  • ***
  • Posts: 486
Re: [WIP]SCEditor for smf 2.0
« Reply #4 on: September 02, 2012, 10:30:37 AM »
thanks emanuele :)

- fix Undefined variable(smileys2from etc)
- fix jQuery
- fix pm editor

i renewed mod. pls try again. thank u
« Last Edit: September 02, 2012, 10:57:42 AM by hhy89 »
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,063
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: [WIP]SCEditor for smf 2.0
« Reply #5 on: September 02, 2012, 11:10:37 AM »
Now it's great :D

Only thing that is missing now are buttons from custom BBCodes :)
Polskie wsparcie SMF na simplemachines.org

My mods

Offline hhy89

  • Full Member
  • ***
  • Posts: 486
Re: [WIP]SCEditor for smf 2.0
« Reply #6 on: September 02, 2012, 02:11:46 PM »
- color picker is fixed

Now it's great :D

Only thing that is missing now are buttons from custom BBCodes :)
thanks  :D

i will do :)
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: [WIP]SCEditor for smf 2.0
« Reply #7 on: September 02, 2012, 03:50:18 PM »
Very nice to see some movement from the community! :) Much appreciated for sure. Hope to see this on the mod site soon, eh?

Offline hhy89

  • Full Member
  • ***
  • Posts: 486
Re: [WIP]SCEditor for smf 2.0
« Reply #8 on: September 02, 2012, 04:00:57 PM »
thanks :)
Hope to see this on the mod site soon, eh?
do u want it?
if u want, when this mod finished, u will send mod site :)
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: [WIP]SCEditor for smf 2.0
« Reply #9 on: September 02, 2012, 04:08:11 PM »
Oh no, you should most definitely submit it yourself :)

Offline Suki

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 15,084
  • Kaizoku Jotei
    • MissAllSunday on GitHub
    • SMF mods
Re: [WIP]SCEditor for smf 2.0
« Reply #10 on: September 02, 2012, 09:25:46 PM »
If you have time, please take a look at:  Mod Development and How this works
Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline hhy89

  • Full Member
  • ***
  • Posts: 486
Re: [WIP]SCEditor for smf 2.0
« Reply #11 on: September 02, 2012, 10:30:41 PM »
thank u for information.
can u move this topic or do i open again in that board?
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: [WIP]SCEditor for smf 2.0
« Reply #12 on: September 03, 2012, 12:21:21 PM »
Looks like someone already moved it for you :)

Offline FrizzleFried

  • Drama-Monger
  • Sr. Member
  • ****
  • Posts: 754
Re: [WIP]SCEditor for smf 2.0
« Reply #13 on: September 03, 2012, 12:37:59 PM »
Why can I not download attachments in this forum?

In any case... this editor does not work with the TABBED SMILEY mod...  it would be awesome if it could be made to do so or if there was a better way to do a high number of smileys... the built-in smiley drop down isn't very good with more than the standard number of smileys... or the standard sized smileys.

Also,  this editor looks pretty much EXACTLY like Nibogo's Advanced WYSIWYG Editor (www.smfpacks.com).  I mean ... identical right down to the same smiley system... same icon used to switch between WYSIWYG and BBC, etc...


Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: [WIP]SCEditor for smf 2.0
« Reply #14 on: September 03, 2012, 12:42:34 PM »
1) Because you need to be in the mod developer group which is requestable in profiles.
2) Typically if there's a big overhaul, other mods have to make their products compatible with the bigger product. In this case, Tabbed Smileys should make their mod compatible with THIS mod. Makes more sense that way.
3) It is identical because Nibogo's editor IS SCEditor, just integrated into SMF, and paid.

Offline FrizzleFried

  • Drama-Monger
  • Sr. Member
  • ****
  • Posts: 754
Re: [WIP]SCEditor for smf 2.0
« Reply #15 on: September 03, 2012, 12:55:10 PM »
Tabbed smileys haven't been touched since 2.0 I believe... and I know it can be done as Nibogo's version does just that.  ;)

I wasn't aware of the developer group requirement... thanks for the clarification.

EDIT: These are the only 4 "groups" I can see in my profile.  Am I missing the developer group?

Quote
Big Forum Operator
Community Customizer
Community Support Helper
Doc Helpers
 

Or is Community Customizer what I am looking for?

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: [WIP]SCEditor for smf 2.0
« Reply #16 on: September 03, 2012, 12:57:21 PM »
Not a problem, it's a new thing :)

Offline Suki

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 15,084
  • Kaizoku Jotei
    • MissAllSunday on GitHub
    • SMF mods
Re: [WIP]SCEditor for smf 2.0
« Reply #17 on: September 03, 2012, 01:00:47 PM »
@ FrizzleFried 

Keep in mind this board is mainly to help the mod author to improve their work rather than a board where you can download a mod and use it, since it's a WIP, I wouldn't recommend you to use it on a live environment.
Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline FrizzleFried

  • Drama-Monger
  • Sr. Member
  • ****
  • Posts: 754
Re: [WIP]SCEditor for smf 2.0
« Reply #18 on: September 03, 2012, 01:02:59 PM »
@ FrizzleFried 

Keep in mind this board is mainly to help the mod author to improve their work rather than a board where you can download a mod and use it, since it's a WIP, I wouldn't recommend you to use it on a live environment.

Oh I am aware of that... I enjoy tinkering with mods (with my test forum of course).

:)


Offline hhy89

  • Full Member
  • ***
  • Posts: 486
Re: [WIP]SCEditor for smf 2.0
« Reply #19 on: September 03, 2012, 03:13:19 PM »
thanks for supporting.

but i couldnt do quote's code. anyone help me?
Code: [Select]
$hhye.sceditorBBCodePlugin.setCommand("quote", null, null, function(element, content) {
var attr = \'\';

if($(element).children("cite:first").length === 1) {
content = \'\';
$(element).children("cite:first").remove();
content = this.elementToBbcode($(element));
}

if($(element).data(\'author\'))
attr += " author="+$(element).data(\'author\');

if($(element).data(\'link\'))
attr += " link="+$(element).data(\'link\');

if($(element).data(\'date\'))
attr += " date="+$(element).data(\'date\');

return \'[quote\' + attr + \']\' + content + \'[/quote]\';
},function(element, attrs, content) {
var data = \'\';

if(attrs.author)
data += \' data-author=\' + attrs.author + \'\';

if(attrs.link)
data += \' data-link=\' + attrs.link + \'\';

if(attrs.date)
data += \' data-date=\' + attrs.date + \'\';

if(attrs.author)
content = \'<cite>\' + attrs.author + \'</cite>\' + content;

return \'<blockquote\' + data + \'>\' + content + \'</blockquote>\';
});
everything is great but link=topic=blabla didnt happened
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com