[ABD] LaTeX BBcode

Any abandoned MODs will be moved to this forum.

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

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 2523
Joined: Mon Jul 10, 2006 9:58 pm
Name: Andreas Fischer

[ABD] LaTeX BBcode

Post by bantu »

MOD Title: LaTeX BBCode
MOD Description: Allows you to use Image in phpBB.

MOD Version: N/A (Development)
MOD License: GNU General Public License Version 2

MOD Download: N/A - See Repository
MOD Screenshot: N/A

MOD Install Complexity: Easy
MOD Installation time: ~3 Minutes

MOD Project Page: https://github.com/bantu/phpbb3-mod-latex
MOD Repository: git://github.com/bantu/phpbb3-mod-latex.git
Browse Repository: https://github.com/bantu/phpbb3-mod-latex

phpBB Version: phpBB 3.0.4
phpBB Languages: en, de
phpBB Styles: N/A

Author Notes: Your PHP installation has to be able to connect to remote hosts (allow_url_fopen on).

Install instructions
  • Try install.xml ;)
Last edited by bantu on Thu Feb 03, 2011 2:49 pm, edited 1 time in total.
Powered by Coffee
gottkaiser
Registered User
Posts: 2
Joined: Fri Nov 21, 2008 8:51 pm

Re: [DEV] LaTeX BBcode

Post by gottkaiser »

Hi bantu,

thanks for spending your time with the development of this mod.
My hoster set the allow_url_fopen to OFF. So I cant use the "file_get_contents" function.
Can you modify the code to get rid off the dependency on the "file_get_contents" function?

It would be much appreciated.
User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 2523
Joined: Mon Jul 10, 2006 9:58 pm
Name: Andreas Fischer

Re: [DEV] LaTeX BBcode

Post by bantu »

Hi.

No. It's currently not possible to use LaTeX without it.

Another option would be to use latex binaries on the server itself, but most hosters won't have those installed. I'm working on implementing this method, but it will most likely only be usable for those having their own server or virtual server as it would require the exec() function.

Without one of these options, you're out of luck. Sorry.

Edit: A third option that could work would be hosting your own MathTex or MimeTex installation on your webhosting server. But that would require you to have the possibility to use cgi-bin on the server.
Powered by Coffee
User avatar
vbbgold
Registered User
Posts: 31
Joined: Sat Feb 19, 2005 2:45 am

Re: [DEV] LaTeX BBcode

Post by vbbgold »

Dear bantu,

I need this mod for my high school board. Do you think you will continue to develop it?

Thanks!
thesecret
Registered User
Posts: 270
Joined: Mon Sep 29, 2008 12:13 pm

Re: [DEV] LaTeX BBcode

Post by thesecret »

A very good mode
The only problem s that Latex is not an easy language on most of the users, That's why a wysiwyg editor for it will be magnificent

this editor shan't replace the editor of phpBB, It's just an editor for the Latex.
For example, a button of the phpBB editor when click opened a popup with a wysiwyg editor for the latex.
In that popup there's a button title "Insert", when click it inserts the Latex formula bbcode in phpBB editor and closes the popup
EdonitY
Registered User
Posts: 3
Joined: Tue Feb 09, 2010 10:30 am

Re: [DEV] LaTeX BBcode

Post by EdonitY »

After uploading files in FTP and editing the bbcode.php do I have to do anything else? If no, how to write formulas? in what way?
User avatar
USFmaster
Registered User
Posts: 44
Joined: Wed Nov 17, 2010 2:32 am

Re: [DEV] LaTeX BBcode

Post by USFmaster »

where do i configure allow_url_fopen on ?
also do i have to add custom bbcode? [tex]{TEXT}[/tex]

also.. I am using advanced bbcode 3 mod.
does this work with it?

should i make changed to abbcode.php too?

I followed ur instructions.. but getting out put within tex tags as reply.. no latex is dislaying
UniScience - Universal Science Forum
The Complete Science, Math & Puzzle Lovers Round table.
User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 2523
Joined: Mon Jul 10, 2006 9:58 pm
Name: Andreas Fischer

Re: [DEV] LaTeX BBcode

Post by bantu »

This modification is in development and won't come out as a final version for 3.0.x. This is because a new BBcode parser is required to let LaTeX-BBcode work flawlessly and without any security implications.

The code provided is experimental (which also means it might contain security issues or other severe flaws) and is not supposed to be used in production. If you want to use it anyway, you are on your own. I will not provide any support for it until a stable version is released. Obviously, if you can not get it installed, you probably shouldn't be using it.

This topic is solely meant for development related things like feature suggestions.
Powered by Coffee
Tobia
Registered User
Posts: 3
Joined: Sun Aug 12, 2007 9:35 pm

Re: [DEV] LaTeX BBcode

Post by Tobia »

I am sorry, i tried to install it, but WHERE i have to put the latex code? I can not see any new bbcode button. :cry:

Maybe i miss something.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [DEV] LaTeX BBcode

Post by Jessica »

Tobia wrote:I am sorry, i tried to install it, but WHERE i have to put the latex code? I can not see any new bbcode button. :cry:

Maybe i miss something.
you don't need this mod. go here --> http://www.phpbbandbbcodes.com/viewtopic.php?f=3&t=255. you can easily write equations with LaTeX if you follow the instructions there
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] LaTeX BBcode

Post by 4_seven »

first: this here is a real mod and not a snippet with less comfort.
second: The board requires you to be registered and logged in to view this forum.
Current Mods | Mod Base | php(BB) programming | No help via PM
mushi
Registered User
Posts: 2
Joined: Tue Sep 20, 2011 12:40 pm

Re: [DEV] LaTeX BBcode

Post by mushi »

Hi, i m new to PHPBB and very new to PHP. Can you provide really simple instructions to install this mod? please? Also this mod will only [tex][/tex] latex or will it provide a graphical interface for users to use. I have already got tex tex working via another source but after a graphical interface which will allow users to click and what now then post on forums.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [DEV] LaTeX BBcode

Post by Jessica »

mushi wrote:Hi, i m new to PHPBB and very new to PHP. Can you provide really simple instructions to install this mod? please? Also this mod will only [tex][/tex] latex or will it provide a graphical interface for users to use. I have already got tex tex working via another source but after a graphical interface which will allow users to click and what now then post on forums.

search how to install mods
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
aurquiel
Registered User
Posts: 243
Joined: Fri May 15, 2009 1:45 am

Re: [DEV] LaTeX BBcode

Post by aurquiel »

I have a question the latex is install on you server or work wich external image (another server not yours)??
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28950
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: [DEV] LaTeX BBcode

Post by Paul »

This topic has been marked as [ABD] - Abandoned as the mod author has not been active recently. If the MOD author wishes to continue development, please PM anyone on the MOD Team to request this topic be unlocked.

Thank you,
The phpBB Modifications Team

Return to “[3.0.x] Abandoned MODs”