This manual is built up for phpBB-3. You can download the current version (on 05.11.2016 it was phpBB-3.1.10) and install it on your local system. We used a XAMPP installation with Apache Server and MySQL Enviroment. You can use the LaTeX4technics editor in combination with MathJax and also with native LaTeX enviroments. If you want to know how to integrate MathJax into your phpBB-Forum read another article.
Generate buttonsYou need to assign specific classes to buttons in order to connect these buttons with the LaTeX4technics librarycopy
<!-- LaTeX4technics Button for inline equation --> <input type="button" class="button2 L4tinlinebtn" value="Insert inline equation"/> <!-- LaTeX4technics Button for display equation --> <input type="button" class="button2 L4tdisplaybtn" value="Insert display equation"/>We inserted this code at the end of the styles/prosilver/template/posting_buttons.html. If you open a new topic or reply to an existing topic you will see two additional buttons. You can change the text of the buttons and style with additional classes (like button2 does), but the LaTeX4technics default-classnames need to be included!
Please be aware that you need to activate the changes of your style template. Therefore you go to the Admin Control Panel and change the 'Recompile stale style components' from No to Yes.
Connect LaTeX4technics to buttonsRight now the buttons are created but there is no action linked to them. Therefore you go to styles/prosilver/template/overall_footer.html and add this code right before the body tag ends. Be aware of changing the application_id. If you don't have a app-id you can use the connection between LaTeX4technics and your site with all features available. If you want a customized version of the equation editor you have to go to your LaTeX4technics dashboard and create an customized application.Now you can use all the power of LaTeX4technics in your forum. Both buttons are connected to an customized LaTeX4technics instance, which is able to write equations directly to the textarea.copy
We would be happy to support you integrating LaTeX4technics into your website. Feel free to write us on social media or mail.