# Forums

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

You are not logged in.

## #1 2011-02-11 17:58:13

Aabaz
Member
From: Paris, France
Registered: 2008-05-11
Posts: 36

### Latex capability

Hi,
I would like to know if someone know a way of giving users the ability to type scientific equations with a latex-like editor inside fluxbb ?

The only requirement is that it got to work only with php because of the hosting restrictions.

I know of PHPMathPublisher wich does it but i wanted the input of your community, just in case i missed a good alternative.

I also post this in feature requests because i would find it a nice feature for fluxbb, or maybe an official extension as i heard the fluxxbb developement could go that way.

Aabaz

Offline

## #2 2012-09-28 16:20:17

Jacobson
New member
Registered: 2012-09-28
Posts: 3

### Re: Latex capability

Aabaz wrote:

Hi,
I would like to know if someone know a way of giving users the ability to type scientific equations with a latex-like editor inside fluxbb ?

The only requirement is that it got to work only with php because of the hosting restrictions.

I know of PHPMathPublisher wich does it but i wanted the input of your community, just in case i missed a good alternative.

I also post this in feature requests because i would find it a nice feature for fluxbb, or maybe an official extension as i heard the fluxxbb developement could go that way.

Aabaz

I am interested in this aswell. Any update(s) on this?

Also, does anyone know what this board is using for the math part? - mathisfunforum.com/viewtopic.php?id=14873

Edit

Found this after doing some searching and I believe it works ok, if anyone is interested..

mathjax.org/

Last edited by Jacobson (2012-09-28 18:56:11)

Offline

## #3 2013-11-04 13:06:20

mathsbeauty
Member
Registered: 2013-11-04
Posts: 5

### Re: Latex capability

How do you included mathajax in a forum created by fluxbb? Waiting for your reply

Offline

## #4 2013-11-04 15:01:06

Member
From: Bretagne − France
Registered: 2010-06-09
Posts: 202
Website

### Re: Latex capability

Edit the header.php at the root of your forum, find line 147-148:

// JavaScript tricks for IE6 and older
echo '<!--[if lte IE 6]><script type="text/javascript" src="style/imports/minmax.js"></script><![endif]-->'."\n";

And replace it by:

// JavaScript tricks for IE6 and older
echo '<!--[if lte IE 6]><script type="text/javascript" src="style/imports/minmax.js"></script><![endif]-->'."\n";

// MathJax
echo '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'."\n";

Save and upload. Now you can test it, simply post a new post:

$\sum_{n=1}^{+\infty}\frac{1}{n^2}=\frac{\pi^2}{6}.$

It should render a nice equation.

Offline

## #5 2013-11-05 03:58:41

mathsbeauty
Member
Registered: 2013-11-04
Posts: 5

### Re: Latex capability

Thanks for your reply. It is not working. I did exactly as you mentioned. Where may be the problem?

Offline

## #6 2013-11-05 04:12:39

mathsbeauty
Member
Registered: 2013-11-04
Posts: 5

### Re: Latex capability

Sorry, It worked. It takes time to display after posting. Thanks for all your help.

Last edited by mathsbeauty (2013-11-05 04:37:33)

Offline

## #7 2015-09-13 10:06:00

Aabaz
Member
From: Paris, France
Registered: 2008-05-11
Posts: 36

### Re: Latex capability

Coming back more than 4 years later oO

Thanks a lot for suggesting MathJax, Jacobson, looks like what I was looking for exactly.

Hope it will not impact performance too much.

Offline

## #8 2015-09-13 13:39:08

Developer
From: France
Registered: 2010-01-07
Posts: 843
Website

### Re: Latex capability

It will affect user's performances, not your server's .

FeatherBB - A simple and lightweight new generation forum system
Based on FluxBB, written in PHP, using Slim Framework for a proper OOP-MVC architecture.

Offline