1
tedsmith
CBB 3.0 - How to ensure Koivi Editor is used by default?
  • 2006/2/19 20:18

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Previous versions of CBB and NewBB2 had an option in the preferences that specified what editors you wanted your users to have access to titled "Form Options - Form options that users can choose when posting/editing/replying.", but the new version 3.0 of CBB does not contain it.

How can you choose what editors my users have access to then? I want them, by defualt, to have the Koivi editor selected whereas currently, by default, its' DHTML Form'. Ideally, I'd like 'Koivi Editor' to appear as the deafult editor.

Ted

2
tedsmith
Re: CBB 3.0 - How to ensure Koivi Editor is used by default?
  • 2006/2/20 16:12

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


*bump*

3
Rhomal
Re: CBB 3.0 - How to ensure Koivi Editor is used by default?
  • 2006/2/20 17:04

  • Rhomal

  • Quite a regular

  • Posts: 274

  • Since: 2004/10/5


Quote:

tedsmith wrote:
*bump*


I also would like to know how...

I would also like the #OOPS# quote button restored!

4
tedsmith
Re: CBB 3.0 - How to ensure Koivi Editor is used by default?
  • 2006/2/22 18:39

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Last bump then I'll give up.

5
Tinyturtle
Re: CBB 3.0 - How to ensure Koivi Editor is used by default?
  • 2006/3/7 22:04

  • Tinyturtle

  • Just popping in

  • Posts: 3

  • Since: 2006/3/7 2


Mmmmmmmmm... I would like to know too. I asked the question in my XOOPS French community but haven't any answers.

I try to have a look into code but i didn't find anything except an old clue which work in a previous version of CBB.

This clue is about forumform.inc.php file :
$xoopsModuleConfig['form_options'][0]

and these vars :
$GLOBALS["xoopsModuleConfig"]["..."]


The topic origin is in the french forum in this URL.

To be more impressive, it is the post of DuGris User.

For no French guys, use as you can Google translator.

TT.

6
Tinyturtle
Re: CBB 3.0 - How to ensure Koivi Editor is used by default?
  • 2006/3/7 22:30

  • Tinyturtle

  • Just popping in

  • Posts: 3

  • Since: 2006/3/7 2


The answer seems to be with the var $GLOBALS["xoopsModuleConfig"]["editor_default"] in plugin.php like Phppp and Marco say in xoopsforge but i've tested to fix with "Koivi" or "koivi" but none work.

Any idea ?

7
svaha
Re: CBB 3.0 - How to ensure Koivi Editor is used by default?
  • 2006/3/7 23:45

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Quote:
A: Go to newbb/include/plugin.php
// requiring "name" field for anonymous users in edit form
$GLOBALS["xoopsModuleConfig"]["require_name"] = true;

// display "register or login to post" for anonymous users
$GLOBALS["xoopsModuleConfig"]["show_reg"] = true;

// perform forum/topic synchronization on module update
$GLOBALS["xoopsModuleConfig"]["syncOnUpdate"] = false;

// redirect to its URI of an attachment when requested
// Set to true if your attachment would be corrupted after download with normal way
$GLOBALS["xoopsModuleConfig"]["download_direct"] = false;

// Set the default editor
$GLOBALS["xoopsModuleConfig"]["editor_default"] = "";

8
DuGris
Re: CBB 3.0 - How to ensure Koivi Editor is used by default?
  • 2006/3/8 0:06

  • DuGris

  • Core Developer

  • Posts: 67

  • Since: 2004/3/14


The solution in the french forum is
HERE

9
phppp
Re: CBB 3.0 - How to ensure Koivi Editor is used by default?
  • 2006/3/8 0:19

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Quote:

Tinyturtle wrote:
The answer seems to be with the var $GLOBALS["xoopsModuleConfig"]["editor_default"] in plugin.php like Phppp and Marco say in xoopsforge but i've tested to fix with "Koivi" or "koivi" but none work.

Any idea ?


It is for "default", which means it will take effect only if the user never selected an editor before.
Empty your cookie and see if it works.

10
Tinyturtle
Re: CBB 3.0 - How to ensure Koivi Editor is used by default?
  • 2006/3/8 12:07

  • Tinyturtle

  • Just popping in

  • Posts: 3

  • Since: 2006/3/7 2


Ok, thanks Phppp for your answer but i would like to know if the var
$GLOBALS["xoopsModuleConfig"]["editor_default"]
is case-sensitive or not in order to test it for Koivi (example "koivi" or "Koivi" ?). I can test but i prefer to know ot before because i can only test in production site and i know it's very bad thing to do it .

Thanks to DuGris too and the others.

Login

Who's Online

485 user(s) are online (348 user(s) are browsing Support Forums)


Members: 0


Guests: 485


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