1
stoempie
How to set one editor in CBB 3.07
  • 2006/11/3 23:29

  • stoempie

  • Just popping in

  • Posts: 15

  • Since: 2006/8/29


First i'm a dutch guy sorry fof the bad eng.

Ik now how to set the default editor in CBB 3.07 but i dont want my members to select a editor(becouse FCK give an error ) but i want one default editor...

I'll take te plugin.php and see the code

// Set allowed editors
// Should set from module preferences?
$customConfig["editor_allowed"] = array();

// Set the default editor
$customConfig["editor_default"] = "koivi";


Can someone give me please the code to put in this line???
I have done this but it seems that will not work.
$customConfig["editor_allowed"] = array("koivi");

2
JCDunnart
Re: How to set one editor in CBB 3.07
  • 2006/11/4 1:44

  • JCDunnart

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/7/1 5


Did you update the module after making the change?

3
stoempie
Re: How to set one editor in CBB 3.07
  • 2006/11/4 7:45

  • stoempie

  • Just popping in

  • Posts: 15

  • Since: 2006/8/29


I updated the cbb modulle and the system modulle.

4
tedsmith
Re: How to set one editor in CBB 3.07
  • 2006/11/4 9:34

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Selecting a default editor should be done by setting $customConfig[”editor_default”] = ““; in /include/plugin.php. You need to put the name of the editor between the ““. So you need to alter the line of code so it looks like this:
// Set the default editor
$customConfig["editor_default"] = "dhtmltextarea";

Where "dhtmltextarea" is the name of your selected text editor

Other examples would be
// Set the default editor
$customConfig["editor_default"] = "koivi";

// Set the default editor
$customConfig["editor_default"] = "tinyeditor";


Copied and pasted from http://xoopsdocs.net/modules/dokuwiki/doku.php?id=en:module:released:manual:newbb:install

5
stoempie
Re: How to set one editor in CBB 3.07
  • 2006/11/4 10:49

  • stoempie

  • Just popping in

  • Posts: 15

  • Since: 2006/8/29


Yes this i now but this not solve my problem, the default editor is set ok but is shows the other options also and i dont want to let use the FCKeditor on my site couse it give errors ...

6
Peekay
Re: How to set one editor in CBB 3.07
  • 2006/11/4 14:11

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


I agree it's important for admin to control the type of editor. I personally wouldn't want users getting anywhere near an HTML editor in a forum.
A thread is for life. Not just for Christmas.

Login

Who's Online

408 user(s) are online (299 user(s) are browsing Support Forums)


Members: 0


Guests: 408


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits