Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Probem in aplying Semclarke editor in comment and new disqussion form

edited June 2012 in Vanilla 2.0 - 2.8

Hi i wanted to install SCEditor in my forums using my own plugin, but it show an error.
In my First klick it show "Body is required' and when i klicked again my comment is added but it show double form. check my pic below :

When i klick:

and when i klick again :

code i use : default.php
<?php if (!defined('APPLICATION')) exit(); $PluginInfo['SCE1']=array ( 'Description' => 'SCEditor plugin', 'Version' => '0.1', 'Author' => 'Fs02', 'AuthorEmail' => 'Fs_02@mail.com', 'AuthorUrl' => 'http://igdev.tk', ); class SCEPlugin extends Gdn_Plugin { public function Base_Render_Before($Sender) { $Config = Gdn::Factory(Gdn::AliasConfig); $Config->Set('Garden.Html.SafeStyles', FALSE); $Options = array('ie' => 'gt IE 6', 'notie' => TRUE); $Sender->RemoveJsFile('jquery.autogrow.js'); $Sender->AddJsFile('/plugins/SCEditor/SCE/minified/jquery.sceditor.min.js'); $Sender->AddJsFile('/plugins/SCEditor/SCE/minified/jquery-1.7.2.min.js'); $Sender->AddCssFile('/plugins/SCEditor/SCE/jquery.sceditor.css'); $Sender->Head->AddString(' $(document).ready(function() { $("textarea").sceditor({/* options here */}); }); '); } public function Setup(){} } ?>

link to SCEditor project : sceditor.samclarke.com/

Answers

  • why nobody see my post . . .
    help me please !!! :(

  • peregrineperegrine MVP
    edited June 2012

    Fs02 said:
    why nobody see my post . . .
    help me please !!! :(>

    your post has been seen. No one apparently knows how to solve the bug in integrating a program plugin written by a third party. Use the buttonbar plugin, if you are looking for a supported editor.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.