[ABD] MathJax phpBB Integration extension

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

[ABD] MathJax phpBB Integration extension

Post by marcovo » Fri Nov 14, 2014 8:00 am

In an answer to this feature request, this will be a port of the MathJax phpBB Integration mod.

----------------------------------------------------------------------------------------

Extension Name: MathJax phpBB Integration
Author: Marcovo (Original author for phpBB 3.0: sergio91pt)

Extension Description: phpBB extension that enables users to post beautiful math in LaTeX and MathML, rendered in all major browsers using the MathJax JavaScript Library.
Extension Version: 1.0.0

Requirements: The MathJax library accessible from the forum web path or the ability to accept MathJax CDN TOS.

Features:
  • Uses the phpBB BBCode system.
  • Multiple BBCodes can be used with static preview texts.
  • Dynamic loading, saving users time and bandwidth.
  • MathJax CDN can be used with a local installed copy for fallback purposes.
  • Rendering is done in the client side, by the JavaScript library. No complicated setups!
  • Works on all major browsers.
  • Renders in native MathML, Web fonts and Image fonts depending on the browser capabilities.
Screenshots of phpBB 3.0 mod:
ImageImage Image Image

Extension Development:
https://github.com/marcovo/phpbb_mathjax
To-do list:
  • 1.0.0 has been released, so nothing to do :) .
Extension Download: https://github.com/marcovo/phpbb_mathja ... /1.0.0.zip

Installation:
  • Copy the extension code to the right subdirectory (/ext/marcovo/mathjax/)
  • Enable the extension in the ACP under Customise -> Extensions
  • In the ACP under Extensions -> Mathjax -> General Settings, do at least one of the following:
Last edited by marcovo on Thu Aug 27, 2015 6:10 pm, edited 13 times in total.

User avatar
yasser33311
Registered User
Posts: 254
Joined: Sat Jul 27, 2013 1:27 pm
Location: algeria
Name: yasser ghe
Contact:

Re: [DEV] MathJax phpBB Integration extension

Post by yasser33311 » Fri Nov 14, 2014 10:02 am

thank you :)
PhpBB Services - install, update, upgrade, customize: https://phpbb.services

gerberli
Registered User
Posts: 45
Joined: Wed Jun 04, 2014 12:57 pm

Re: [DEV] MathJax phpBB Integration extension

Post by gerberli » Sat Nov 15, 2014 8:01 pm

looking forward to this :-)

marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [ALPHA] MathJax phpBB Integration extension

Post by marcovo » Wed Dec 03, 2014 6:47 pm

OP has just been updated. The extension is now in alpha stage, I've included a link to the development page.
Any suggestions or feedback is welcome.

slav2
Registered User
Posts: 2
Joined: Thu Jan 08, 2015 12:06 pm

Re: [ALPHA] MathJax phpBB Integration extension

Post by slav2 » Thu Jan 08, 2015 12:11 pm

marcovo wrote:Extension Download:[/size][/color] Coming soon
when?

marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [ALPHA] MathJax phpBB Integration extension

Post by marcovo » Fri Feb 06, 2015 6:48 pm

A new useful event core.bbcode_cache_init_end has been added to the latest phpBB 3.1.3 . As such, now the extension is stand-alone and doesn't require any edits any more (which was the test.bbcode_cache_init event previously).
I will look into how to submit the extension for validation shortly. A download for testing can be fetched from github (Download ZIP on the right side), any feedback is appreciated!

User avatar
Josh321
Registered User
Posts: 58
Joined: Sun Feb 08, 2015 6:08 am
Location: California

Re: [ALPHA] MathJax phpBB Integration extension

Post by Josh321 » Fri Feb 13, 2015 9:01 am

Looks great. Is there a trick to installing it? I put it in /ext/marcovo/mathjax/ and got this error when I enabled it:

Code: Select all

Fatal error: Cannot redeclare class marcovo\mathjax\migrations\release_0_3_0_data in /home/me/public_html/forum/ext/marcovo/mathjax/migrations/release_0_3_0_convert.php on line 69
(I haven't installed extensions before.)

marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [ALPHA] MathJax phpBB Integration extension

Post by marcovo » Fri Feb 13, 2015 11:43 am

Hmm.. that's not very neat.. As it turns out I haven't tested the migration yet.
Just fixed your error and uploaded to github; I don't know however whether the migration wil work flawlessly yet. I will have to test that shortly I guess.. Thanks for testing :) .

Edit:
Now standard installation works :) . I'll still have to test whether upgrades from phpBB 3.0 work correctly, however.

User avatar
Josh321
Registered User
Posts: 58
Joined: Sun Feb 08, 2015 6:08 am
Location: California

Re: [ALPHA] MathJax phpBB Integration extension

Post by Josh321 » Sat Feb 14, 2015 6:31 am

Thanks, it works now. :)

kristianly
Registered User
Posts: 1
Joined: Thu Mar 05, 2015 12:09 am

Re: [ALPHA] MathJax phpBB Integration extension

Post by kristianly » Thu Mar 05, 2015 1:13 am

hi,

I could install and enable the extension.
When i did [latex]\frac{x}{y}[/latex], I got [math].
What am I missing?

Thanks,
Chris

sergio91pt
Registered User
Posts: 62
Joined: Thu Jul 07, 2011 11:03 am

Re: [ALPHA] MathJax phpBB Integration extension

Post by sergio91pt » Thu Mar 05, 2015 3:31 pm

Chris, probably for some reason the javascript library is not being loaded.
Could you check the page head? It would be easier to diagnose, if you post a link to a test thread.

marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: [ALPHA] MathJax phpBB Integration extension

Post by marcovo » Thu Mar 05, 2015 6:20 pm

You first have to activate the javascript library in the ACP. You can do this by either selecting the CDN option, or by downloading & uploading the latest mathjax javascript file to your forum, and providing the path to the extension through the ACP.

slav2
Registered User
Posts: 2
Joined: Thu Jan 08, 2015 12:06 pm

Re: [ALPHA] MathJax phpBB Integration extension

Post by slav2 » Fri Mar 27, 2015 9:36 pm

while working properly

User avatar
yasser33311
Registered User
Posts: 254
Joined: Sat Jul 27, 2013 1:27 pm
Location: algeria
Name: yasser ghe
Contact:

Re: [ALPHA] MathJax phpBB Integration extension

Post by yasser33311 » Wed Apr 22, 2015 4:41 am

can i use it on a live forum now ?
PhpBB Services - install, update, upgrade, customize: https://phpbb.services

User avatar
FoFa
Registered User
Posts: 200
Joined: Wed Dec 03, 2008 9:21 am
Name: Daniel L.
Contact:

Re: [ALPHA] MathJax phpBB Integration extension

Post by FoFa » Wed Apr 22, 2015 7:36 am

Hello

No. Only for tests purposes because there is no stable version.
Formly ForumsFaciles :wink:

Locked

Return to “Abandoned Extensions”

Who is online

Users browsing this forum: the Jabberwock and 5 guests