Forums

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

You are not logged in.

Announcement

FluxBB 1.5.6 and 1.4.12 released

These releases fix a security issue - please update your forums! Download links: v1.5.6 | v1.4.12

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

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

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.

Thanks for your help.

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.

Thanks for your help.

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

Askelon
Developer
From: Bretagne − France
Registered: 2010-06-09
Posts: 157
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

Board footer

Powered by FluxBB 1.5.6