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
4 posters

    WYSIWYG Editor

    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved WYSIWYG Editor

    Post by XDirect12345 March 28th 2012, 8:32 pm

    Is there a way to embed my own custom WYSIWYG Editor? How do I add new icons and JavaScript to the WYSIWYG Editor.
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 March 29th 2012, 12:31 am

    I have access to a external server. I just need to know where to put the code. Any ideas?
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: WYSIWYG Editor

    Post by LGforum March 29th 2012, 6:26 am

    You'd put the code wherever it is required... Javascript in JS management, html in a widget or announcement.

    Make sure your aware of the work required to install a new editor. There's more to it than just getting it on the page.
    The form must conform to FM's input names and form structure in order to be processed correctly on the server.
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 March 29th 2012, 2:13 pm

    thats kinda hard, especially with FM's scripting.
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: WYSIWYG Editor

    Post by LGforum March 29th 2012, 5:31 pm

    New editors are erfectly possible though. My recent editor on AvacWeb is far better than the regular quick reply and much more advanced.

    But before doing things you should look into HTML Forms and how they interact with the server when submitted.
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 March 29th 2012, 7:14 pm

    LGforum wrote:New editors are erfectly possible though. My recent editor on AvacWeb is far better than the regular quick reply and much more advanced.

    But before doing things you should look into HTML Forms and how they interact with the server when submitted.

    Can I see your editors?
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: WYSIWYG Editor

    Post by LGforum March 29th 2012, 7:54 pm

    Yes, feel free to, it's installed on Avacweb. There is even a thread for testing the editor. http://www.avacweb.com/t198-thread-for-testing-new-editor

    My editor has absolutely no page refresh at all, the post just appears on the page. It also allows for editing posts the same way, absolutely no page refresh or anything, the post just appears edited. Also allows quoting users very easily, and an in built quick preview function. Most of these things aren't possible with the FM quick reply.

    My editor could send a reply as a pm or wall message too. I've not included this in y new editor though.
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 March 29th 2012, 8:28 pm

    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: WYSIWYG Editor

    Post by LGforum March 30th 2012, 8:45 am

    Looks the same? I think you saw the wrong editor? Razz

    This:
    WYSIWYG Editor Captur22

    Since your still registered on my forum, visit again and click the Blue reply button at the bottom of any post.

    THAT editor, has the ability to make quick-edits with no page refreshing at all, quick replies with no page refreshing at all, quick preview with no page refreshing, and can be used to quote a user without changing the page.
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 March 30th 2012, 12:10 pm

    How did you do it?
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: WYSIWYG Editor

    Post by LGforum March 30th 2012, 3:03 pm

    Javascript and an understanding of forms and php.
    Then its highly based on Ajax methods for the more advanced features.

    Study the Quick Reply editor and learn how it works and what its input values mean. Then you can make an editor based on the quick reply.

    Swapping out the full editor would be more of a challenge, but still possible.
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 April 5th 2012, 5:00 pm

    cool, it works! Thanks
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Solved Re: WYSIWYG Editor

    Post by runawayhorses April 5th 2012, 7:20 pm

    That works really good! Great job on creating it my hat goes off to you. I would keep it installed but I couldn't use my preexisting emoticons. I'm sure you know a way around that but I don't so I uninstalled it. But what a great piece of work. Good job.
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Solved Re: WYSIWYG Editor

    Post by runawayhorses April 5th 2012, 8:04 pm

    OK cool! Let us know when you do!! Very Happy
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 April 6th 2012, 3:56 pm

    Rideem3 wrote:I recently updated it today and fixed smileys on the full post reply page.

    I also removed unnecessary buttons. Wink

    Still cant add smilies, is there any way to add them, the ones on the side doesnt work. Also if you can make it so that you can add videos on there that would be fine.

    Things that also need to be added:
    Unlink
    Cut
    Copy
    Redo
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 April 6th 2012, 4:03 pm

    nope when I click on a smiley, it wont work, I have to manually type it in. Also can you add video to it so we can post videos, also the preview wont be necessary since we already got one.

    Things that also need to be added:
    Unlink
    Cut
    Copy
    Redo
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 April 6th 2012, 4:12 pm

    well my smileys on the left hand side wont work. Couldnt you just integrate them into the editor?
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 April 6th 2012, 4:20 pm

    okay so u cant satisfy everyone. Tell me how I can host my own script.
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Solved Re: WYSIWYG Editor

    Post by runawayhorses April 6th 2012, 9:10 pm

    So you're saying right now the editor can't add our emoticons we have uploaded to our forums? That seems strange considering what it CAN do. Maybe I'm misinterpreting you. Why would the text editor need an external server if the emoticons are uploaded to our forum?
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Solved Re: WYSIWYG Editor

    Post by runawayhorses April 6th 2012, 9:41 pm

    Oh I see, you don't have access to make the necessary changes. It would be no sweat off of CKEditor they don't have to host the emoticons.
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Solved Re: WYSIWYG Editor

    Post by runawayhorses April 6th 2012, 9:57 pm

    Ok cool. You've done alot with it already, if you can get the editor to add the forums emoticons that would be icing on the cake! Very Happy
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 April 7th 2012, 3:13 pm

    runawayhorses wrote:Ok cool. You've done alot with it already, if you can get the editor to add the forums emoticons that would be icing on the cake! Very Happy

    Yeah, instead of smilies can you add the forums emoticons?
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Solved Re: WYSIWYG Editor

    Post by runawayhorses April 7th 2012, 3:13 pm

    OK great! I have a question, how do you integrate one of the colored themes into the forum. I noticed it has colored themes if you click the example link but I saw no code to copy. Are those colored themes for download only? Also if you can't copy a colored theme code, can you still change the background of the editor where you write your message? Last time a few days ago when I installed it the background was white as snow, and I need a darker background for it as my forum theme is dark.

    EDIT:
    Another question, what happens if someday you decide not to host the plugins anymore for the editor?
    XDirect12345
    XDirect12345
    Forumember


    Male Posts : 361
    Reputation : 3
    Language : English

    Solved Re: WYSIWYG Editor

    Post by XDirect12345 April 7th 2012, 5:15 pm

    cool, okay thanks, if anyone else needs help on this topic please respond within 24 hours otherwise just lock it up.
    Jophy
    Jophy
    ForumGuru


    Male Posts : 17922
    Reputation : 836
    Language : English
    Location : Somewhere

    Solved Re: WYSIWYG Editor

    Post by Jophy April 8th 2012, 2:11 am

    This topic is now considered solved and now locked.

      Current date/time is November 11th 2024, 1:25 pm