vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - vLaTeX - Math parsing with LaTeX (https://vborg.vbsupport.ru/showthread.php?t=230589)

Carnage 12-21-2009 10:39 PM

Have you looked into this library? http://www.math.union.edu/~dpvc/jsMath/

Pod 12-21-2009 11:17 PM

Quote:

Originally Posted by Carnage- (Post 1934955)
Have you looked into this library? http://www.math.union.edu/~dpvc/jsMath/

Yes I did. As I said, there's a number of options, each one with its pros and cons.

Pod 01-24-2010 11:43 AM

Updated with a new version (0.3) that fixes a few issues and adds a new feature: Users will be able to double-click a formula, and a pop-up will... well, pop. This pop-up displays the source code used to generate the image (of course, admin can choose to deactivate this new feature).

vLaTeX 0.3 requires vBulletin 4.0.1. I'll leave the 0.2 version available for download, since it works well with vBulletin 4.0.0 (and the RC versions).

pjkcards 01-24-2010 09:25 PM

I am getting this error on vB 3.6.7:
Fatal error: Class 'vB_Template' not found in /home/user/public_html/domain/forum/vlatex/functions_vlatex.php on line 39

Any ideas? Thanks

Pod 01-24-2010 10:10 PM

Quote:

Originally Posted by pjkcards (Post 1965607)
I am getting this error on vB 3.6.7:
Fatal error: Class 'vB_Template' not found in /home/user/public_html/domain/forum/vlatex/functions_vlatex.php on line 39

Any ideas? Thanks

Architecture changes in vB4 makes this mod (as most) not backwards compatible with vB3.

The core functionality can be used without much difficulty in any version (as it depends on external programs such as latex, dvips and convert), but the bridge between it and vB (i.e, the way to handle templates) is completely different on vB4.

pjkcards 01-25-2010 09:38 AM

Ah, alright.

Edit: Solved: this works great

Varsh 05-22-2010 02:17 PM

Any plans for an update on this mod?

Pod 05-22-2010 02:31 PM

Quote:

Originally Posted by Varsh (Post 2041878)
Any plans for an update on this mod?

What kind of update do you mean? It already works with latest vb version (I run it on vb 4.0.3 without any issue).

If you mean update for new features, then yes. But I can't tell you when it'll release or what new will include. It will be definitively after 4.0.4 (which doesn't mean that it will come out soon after 4.0.4).

RVSmarter 06-17-2010 08:28 PM

Hi there,

Thanks for this great mod!

its working but the double click for code doesnt work... any ideas?
http://www.mathhelpforum.com/math-he...tml#post527732

Pod 06-18-2010 04:01 AM

Quote:

Originally Posted by RVSmarter (Post 2055177)
Hi there,

Thanks for this great mod!

its working but the double click for code doesnt work... any ideas?
http://www.mathhelpforum.com/math-he...tml#post527732

Your bburl variable doesn't contain a trailing /, so the javascript file cannot be found. In the next release (which I don't know when will it be, but hopefully not long after 4.0.4), I'll add a check to add it manually.

In the while, so you can use the mod, please do the following. In your admincp, go to "Plugins & Products" > "Plugin manager" > "Product : vLaTeX" > "Include JS and CSS files". There, find the line

Code:

  $template_hook["headinclude_javascript"] .= "<script type=\"text/javascript\" src=\"{$vboptions[bburl]}vlatex/vlatex.js\"></script>\n";
It should be the 5th line in the text area. Change it to:

Code:

  $template_hook["headinclude_javascript"] .= "<script type=\"text/javascript\" src=\"{$vboptions[bburl]}/vlatex/vlatex.js\"></script>\n";
Note that the only difference is a new / before vlatex/vlatex.js

Hope that helps.

Other than that, I see some permissions errors in your page, did you set the temp and pics folder to be writable by the webserver?


All times are GMT. The time now is 06:56 AM.

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.02364 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete