Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
[latex][/latex] bbcode Details »»
[latex][/latex] bbcode
Version: 1.00, by Dream Dream is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 07-02-2005 Last Update: Never Installs: 18
Re-useable Code  
No support by the author.

Description
Rip-off of http://www.vbulletin-germany.com/for...ad.php?t=17052

This bbcode creates images using LaTeX math expressions.

Installation
- Go to http://www.forkosh.com/mimetex.html
- Download mimetex, compile it and throw it into your cgi-bin folder, or try one of the pre-compiled versions. The Linux one didn't work for me, good luck.
- Test it out with www.yourforum.com/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
- Add the bbcode

Title: Latex
Tag: latex
Replacement: <img src="http://www.yourforum.com/cgi-bin/mimetex.cgi?{param}" />
Example: [latex]x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}[/latex]
Description: Generates images with LaTeX math expressions.
Use {option}: no

I tried using the mimetex from his site and it banned me.

<img src="http://www.forkosh.dreamhost.com/cgi-bin/mimetex.cgi?{param}" />

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-07-2005, 10:48 PM
Coldhands's Avatar
Coldhands Coldhands is offline
 
Join Date: Oct 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, so now my problem is when I use the [tex][/tex] tag in a thread it just shows the text. How do I make this text so it shows the image that does now work and should be used?

Thanks in advance,

CH
Reply With Quote
  #13  
Old 11-08-2005, 03:16 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If this could be made so that the functions are more close to the normal writion of functions in plain text (eg using only parentheses) it would be soooo great!
Even as is I consider installing! The users in my math subforum will loooove this!

[high]* Lea Verou is clicking install to be able to find it easily and maybe actually install afterwards [/high]
Reply With Quote
  #14  
Old 11-08-2005, 03:25 AM
InfidelMatt InfidelMatt is offline
 
Join Date: Oct 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coldhands
Whoops, ignorance strikes again!!!!!!!!!!!


I started to think about this one for a second, and then I realized . . . The quick directions would be a lot quicker if it had "change the chmod of mimetex.cgi to executable" which only makes sence cause people have to execute it in order for it to work . . . . duh.
I have mine set up and chmod'd properly and I still get internal server error. It works fine off the command line, however. :huh:
Reply With Quote
  #15  
Old 11-08-2005, 05:25 AM
DaXecutioner DaXecutioner is offline
 
Join Date: Oct 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

holy shit. this is exactly what my forum needs as it is for math students at my university. thank you for bringing this to my attention.
Reply With Quote
  #16  
Old 02-08-2006, 07:06 PM
JPQuiceno JPQuiceno is offline
 
Join Date: Oct 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wtf, i compiled it myself, put it in my cgi bin, and chmod it to 777, and it still gives out internal server error:

http://www.internationaldiscussionforums.net/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
Reply With Quote
  #17  
Old 05-04-2006, 02:31 AM
niksoft niksoft is offline
 
Join Date: Jul 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i compiled it and installed it fine, this is a really great plugin, but i have the following problem, and i am pretty sure that it is within vbulletin:
ok, it seems like every time i use a parenthesees before an equal sign, the img tag gets truncated and the image that renders fine, upon reload does not appear to be present...

example:
Code:
\int_{a}^bf(x)dt=\sum_{i=1}^n f(\overline{x_i})\Delta x
this renders when i hit submit, but if i reload the page, the picture does not show up

Code:
\sum_{i=1}^n f(\overline{x_i})\Delta x=\int_{a}^bf(x)dt
this however works fine

infact after playing with it
Code:
x=f\left(x\right)=\int_{-\infty}^xe^{-t^2}dt
this will display nicely all the time, while if you take that x out or the first equals sign it bombs and outputs nothing...

nailed it down to this in the html code, and its really weird...

when the image errors out, the image tag reads:
Code:
<img src="http://ourdomain/cgi-bin/mimetex.cgi)dt=\sum_{i=1}^n f(\overline{x_i})\Delta x" />
and that obviously is not valid as .cgi is supposed to be followed by a question mark and instead a bunch of code is missing and it all starts after the close bracket sign...

the same code, but where the 2 sides of the equality are swapped, and hence it runs, like i said, like its supposed to (the equations are those of the above code samples) reads:
Code:
<img src="http://ourdomain/cgi-bin/mimetex.cgi?\sum_{i=1}^n f(\overline{x_i})\Delta x=\int_{a}^bf(x)dt" />
does anyone else experience similar trouble? anyone have any idea where to start looking for a fix? anyone has any suggestions? i cant be the only one with such weird problems...

P.S. site is running vbulletin 3.5.3
Reply With Quote
  #18  
Old 08-13-2007, 04:50 PM
MDK-Indy MDK-Indy is offline
 
Join Date: Mar 2007
Location: Germany
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine with vBulletin 3.6.7 PL1

greeting Indy
Reply With Quote
  #19  
Old 10-20-2007, 02:59 PM
yzeeed.com yzeeed.com is offline
 
Join Date: Oct 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If Hak for latex
Anything link loading
thanks
Reply With Quote
  #20  
Old 02-25-2008, 04:07 PM
etuitions etuitions is offline
 
Join Date: Feb 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi We recently bought the license for vbulletin and we wanted to integrate LATEX following the steps as per this link:

http://pi.bloo.us:800/academic/latex.../#Installation

but after doing all the steps the Editor Menu showed up with the Maths Icons with Sigma ..

But after selecting the Symbol even if we press the Preview or submit the symbols are not visible...

Any other thing we need to do? Please help

You can see our Forum in the following Link:

http://www.etuitions.org/forums/foru...daysprune=&f=5
Reply With Quote
  #21  
Old 02-25-2008, 05:55 PM
etuitions etuitions is offline
 
Join Date: Feb 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We got our License... and we have installed vbulletin in the server...


To integrate the Maths tool set as per below ... We followed the steps in the following link

http://pi.bloo.us:800/academic/latex.../#Installation

After this.. We got the Sigma Icon in the Post / Thread Editor Menu and we could able to select the symbols... but it comes in as a kind of Code... something like this:

[tex]\stackrel{}{\rightarrow}[/tex]

[tex]\sqrt[]{}[/tex]

but even if we preview it or post it ... above continues to be shown as it is ... but not the Symbols as expected...

Please clarify ... should we install the LATEX software in the server? which is around 600 MBs??

Is there anything else we should do? .

Please help

Thanks and Regards,
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05250 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete