Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #2  
Old 07-03-2005, 12:46 PM
CBE CBE is offline
 
Join Date: Jun 2005
Location: U.A.E.
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear friend,

i downloaded " mimetex.zip " but there is no file named " mimetex.cgi " ???????

what shall i do ??

thx
Reply With Quote
  #3  
Old 07-03-2005, 05:54 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have to follow the installation steps on that page to create the "mimetex.cgi" file
Reply With Quote
  #4  
Old 09-21-2005, 04:31 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is nice.

anyway, you need to have permission to compile cc, in order to create the .cgi file

i tried using his site:
http://www.forkosh.dreamhost.com/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
its working fine.
Reply With Quote
  #5  
Old 09-29-2005, 09:25 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

his site has an anti-leech system though
Reply With Quote
  #6  
Old 09-29-2005, 09:36 PM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I must not be as smart as all of you, because I have no clue what this is for??
Reply With Quote
  #7  
Old 09-29-2005, 09:43 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it for showing advanced math formulas with a bbcode
Reply With Quote
  #8  
Old 10-19-2005, 01:53 PM
J_Chem J_Chem is offline
 
Join Date: Jul 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

newb here =)

I got the mimetex.cgi working, I'm just not sure where to add the bbcode.

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

I was using this on my forum before I upgraded to 3.5. I created a folder called mimetex, then unzipped the file. I then compiled the file useing the command line cc -DAA mimetex.c gifsave.c -lm -o mimetex.cgi

that creates the mimetex.cgi file which I put in my cgi-bin folder.

I try to execute the file with http://www.actuary.ca/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

and only get an internal server error.

Am I missing something???
Reply With Quote
  #10  
Old 11-07-2005, 10:24 PM
Coldhands's Avatar
Coldhands Coldhands is offline
 
Join Date: Oct 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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 02:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10196 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
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
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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