1
arpboy
Koivi and NewBB 2.0
  • 2004/11/15 19:22

  • arpboy

  • Just popping in

  • Posts: 46

  • Since: 2004/9/7 4


Hello, all:

I just downloaded Koivi. I successfully integrated it with the news module, following the docs.

Next, I want to add this to the forums. The documentation gives general directions, but I've not hacked the php code before.

Looking around, I assume I need to hack the forumform.inc. Looking at the code, I see where I'd probably need to add the class near the top, but after that, I'm not following the parameters clearly enough to be sure where to go after that.

Since I don't see this question elsewhere, I'll assume that it's incredibly obvious, and I'm just being thick-headed.

I'm using newbb2.0RC3. Clueless as I am, I'd appreciate any help.

Thanks.

-Richard

2
samuels
Re: Koivi and NewBB 2.0
  • 2004/11/15 21:13

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


On newbb 2 rc3 you must edit newbb/include/functions.php

On line 942:
case "koivi":
     
/* add the API
     */


Add the following:
include_once XOOPS_ROOT_PATH "/class/wysiwyg/formwysiwygtextarea.php";
$wysiwyg_text_area= new XoopsFormWysiwygTextArea($caption$name$value'100%''400px','');

//this line only if you prefeer xp skin
$wysiwyg_text_area->setSkin("xp");

$form $wysiwyg_text_area;

3
Anonymous
Re: Koivi and NewBB 2.0
  • 2004/11/15 23:35

  • Anonymous

  • Posts: 0

  • Since:


For the final there is no need for changes, the newbb 2.0 comes with support of spaw, koivi, htmlarea and maybe FCK ( at least in the 2.1 Version )

4
arpboy
Re: Koivi and NewBB 2.0
  • 2004/11/17 5:54

  • arpboy

  • Just popping in

  • Posts: 46

  • Since: 2004/9/7 4


Thanks, you guys.

I updated the functions.php file as suggested, then modified the forum preferences to allow Koivi; however, when I select it in the forum, all I get is the normal DHTML editor. What have I missed?

Also, once I get this working, is there a way to set the default?

I appreciate the terrific help!

-Richard

5
samuels
Re: Koivi and NewBB 2.0
  • 2004/11/17 7:55

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


Have you selected koivi in newbb admin preferences?

6
arpboy
Re: Koivi and NewBB 2.0
  • 2004/11/17 14:38

  • arpboy

  • Just popping in

  • Posts: 46

  • Since: 2004/9/7 4


Yes. DHTML and Koivi give me the same behavior. I suspect I need to add code somewhere, but not sure where.

7
phppp
Re: Koivi and NewBB 2.0
  • 2004/11/17 15:15

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Do not need change anything if you download from NewBB's project page.

The default editor would be either the Compact (pure textarea) or Dhtml editor, depending on your previous selection.

8
arpboy
Re: Koivi and NewBB 2.0
  • 2004/11/18 17:46

  • arpboy

  • Just popping in

  • Posts: 46

  • Since: 2004/9/7 4


I tried the final, but it took down my website. Until I review what happened, I have to go back to RC3.

I'm wondering what I'm missing to get it going...

9
arpboy
Re: Koivi and NewBB 2.0
  • 2004/11/29 22:09

  • arpboy

  • Just popping in

  • Posts: 46

  • Since: 2004/9/7 4


Figured it out. I downloaded the final preview and installed it. This time I remembered to "UPDATE THE MODULE!" (Duh!) Suddenly everything worked VERY well. I allowed Koivi as an option in the Forum preferences, and it looks good.

The only problem I've encountered thus far is that when I try to edit a forum post with Koivi, it doesn't save. Not sure what's going on there yet; I haven't had time to pursue it...

Any ideas would be appreciated!

10
twitaman
Re: Koivi and NewBB 2.0
  • 2004/12/11 22:15

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


When I use Koivi in NewBB 2 final I have a problem with the way it displays the tools. Everything seemed to be all clustered together on one side -- I would like to expand the width of the tools to that of the window.

It looks this way in both IE and Firefox

Resized Image

Login

Who's Online

268 user(s) are online (236 user(s) are browsing Support Forums)


Members: 0


Guests: 268


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