YAFLogo

guest
  • guest
  • Guest Topic Starter
18 years ago
Can somebody say me the entries I must to add to Web.config because I want use the FCKEDitor?.

I remember I saw them, but I do not remember where, & I can't find it with the search in the forum.

Thanks.
Dr-Hack
  • Dr-Hack
  • 100% (Exalted)
  • YAF All-the-Time
18 years ago
well man i dloaded the FCK editor .. but there is no FredCK.FCKeditorV2.dll :oops:

wonder why there is no working freetextbox.. 😳 ... dont know eitehr bout the update of YAF project ..


well herensuge as far as i remember ... this is the only post, where i can see some texteditor discussion .. dont know other :)


Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
16 years ago
Update:

Add this CSS to your theme.css (which ever it is) to fix any "display issues" with FreeTextBox:


table.content td table td table td {
	padding: 0px;	
}
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
16 years ago
Update!

Fixed FCK editor implementation! It now (finally) works on FireFox with Smilies!

Attached is the updated forumeditor.cs file. (In v1.9.x is requires a recompile.) Unzip and overwrite the \editors\ForumEditor.cs file with this updated one. :!:

(no longer attached to this message. Download the updated file in the next post with the tiny_mce support.)
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
16 years ago
UPDATE!

EDIT: v1.9.1.2 INCLUDES support for TinyMCE in it -- no need to recompile.

Added TinyMCE support to YAF.

Attached is the updated ForumEditor.cs AND TinyMCE.zip.

Just unzip the entire archive INTO the \editors directory.

Recompile YAF and TinyMCE will be an option. (UNNECESSARY with v1.9.1.2)

Modify the \editors\tiny_mce\tiny_mce_init.js to change the "settings" of MCE (if desired).
philw
  • philw
  • 80% (Honored)
  • YAF Forumling
16 years ago
That would be nice, as for some reason my BBCode thing isn't working, and I'm using BlogEngine which uses TinyMCE anyway.

However, I only have the free version of the MS toolset, so I can't recompile YAF. Maybe it would be possible to make this part of the standard build in due course? At the moment it's slightly confusing as the 1.9.1.2 beast appears to offer configuration of editors, but as far as I can tell those options don't work without some other work which I probably don't have the tools for.
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
16 years ago
With v1.9.1.2 you don't need to make any code modifications. Just follow the instructions above without recompile. All the editor options work -- it's just YAF doesn't come distributed with editors.
philw
  • philw
  • 80% (Honored)
  • YAF Forumling
16 years ago
You're absolutely right - I'll put something in the wiki about it as it wasn't obvious to me (the options show up in the panel even though you don't have the actual editors installed... I presume the default editor is shipped, but the others you need to download separately).

I don't seem to need ForumEditor.cs, and I'm on 1.9.1.2 so fortunately I need no recompilation.

The default settings are probably too advanced for general users (not that they can't use them, just that I don't want a forum full of 36 point ref flashing text). I'll crank that down.

rtech
  • rtech
  • 81.2% (Honored)
  • YAF Lover
16 years ago
how i can set default font ( like Tahoma ) for Tiny MCE ?
When i post a topic , and when i want to edit This post all sentences bollix .
philw
  • philw
  • 80% (Honored)
  • YAF Forumling
16 years ago
You'll probably do best if you politely ask your question in the appropriate forum for TinyMCE configuration.
rtech
  • rtech
  • 81.2% (Honored)
  • YAF Lover
16 years ago
in IE tiny MCE not work ( textbox not show) but in firefox work perfectly but speed is very low .
kukabuka
  • kukabuka
  • 51.2% (Neutral)
  • YAF Forumling
15 years ago
Having the same problem. I've tried 1.9.1.6 and 1.9.1.7 with the attached TinyMCE and also with TinyMCE 3.0. Is there a solution to this?

Edited:
Ok I found the solution. Use FCKEditorV2 instead. Works great.
BossHogg
15 years ago
I'm using YAF 1.9.1.6 on an ASP.NET 2.0 host, there were no problems during the install.

http://www.backwardireland.com/ 


With FCKeditor 2.5:
I uploaded the FCKeditor.Net_2.5\bin\Release\2.0\FredCK.FCKeditorV2.dll to the bin folder.
I uploaded the FCKeditor_2_5_1\fckeditor\editor folder to editors/FCKeditorV2/editor
On the site I go to Admin/host settigns/Forum Editor and select FCK editor V2 (HTML)
Now when I try to add a New Topic I see nothing.
I tried moving the files from editors/FCKeditorV2/editor to editors/FCKeditorV2/ and still nothing.
I tried pretty much the same thing with FCKeditor version 2.0

Experience with TinyMCE is similar

With FreeTextBox I get some action at least but it's buggy. In FireFox I got an error telling me to add code to the web.config which I thought was not necessary in later versions.

    <httpHandlers>
      <add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
    </httpHandlers>
Currently I'm using FTB 3-1-6.



Can anyone tell me how to get any of them working please?
I've spent days on it now with no success. 😞
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
15 years ago
I'm confused... You did or did not get this working, BossHogg?
plozzman
  • plozzman
  • 67.4% (Friendly)
  • YAF Forumling
15 years ago
I have been getting errors when trying to put a table on the forum, the error message is below.
I have checked the validateRequest setting & it's set to false.
Does anyone know how I can fix this.



Server Error in '/' Application.
A potentially dangerous Request.Form value was detected from the client (forum$ctl00$edit="...

Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (forum$ctl00$edit="...

YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button