Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2018-12-30 05:18:57

abubasil
New member
Registered: 2018-12-30
Posts: 2

Using nicedit with fluxbb in four easy steps

Hi
this is my first post.
this how I could use nicedit which is a WYSWYG editor for creating rich text.
actually you can  use any other wyswyg that you like. but this how I did it my own way.

steps

step 1 : open main.tpl - located in include/template

and insert these two lines above the body tag

<script src="http://js.nicedit.com/nicEdit-latest.js" type="text/javascript">
<script type="text/javascript">bkLib.onDomLoaded(nicEditors.allTextAreas);</script>

step 2: in the functions.php file comment the lines 1243-1252
and replace them with return strtr($str);

step 3 : post.php line 656 , class="required" should be class=""

step 4: viewtopic.php  .. comment the line 455 and replace it with $cur_post['message'] = $cur_post['message'];


thats all.

Now I would like to give support for right to left direction languages.

thank you.

* correction the line number in step four is 455 **

Last edited by abubasil (2018-12-30 10:48:56)

Offline

#2 2018-12-30 09:56:54

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: Using nicedit with fluxbb in four easy steps

@Franz, number of posts for this user is incorrect. Shows one post, while there are two topics.

Offline

#3 2018-12-30 11:05:44

abubasil
New member
Registered: 2018-12-30
Posts: 2

Re: Using nicedit with fluxbb in four easy steps

Spacipo, Yes I have try to send another post but time limitation prevented me.

Offline

Board footer

Powered by FluxBB