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)

sadiq6210 06-18-2010 04:46 AM

Thanks
I got a white page when I write [TEX=tag]E = m c^2[/TEX] and try to preview the thred !

Pod 06-18-2010 04:53 AM

Quote:

Originally Posted by sadiq6210 (Post 2055269)
Thanks
I got a white page when I write [TEX=tag]E = m c^2[/TEX] and try to preview the thred !

You don't appear as having installed it.

Anyway, I'd need more info to troubleshot your problem, a link to your site or something.

RVSmarter 06-18-2010 05:32 PM

Quote:

Originally Posted by Pod (Post 2055258)
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?

Awesome! Thank you.

emath 06-25-2010 10:29 AM

thanks alot, extremely useful .

installed and nominated.

RVSmarter 06-26-2010 08:53 PM

This isnt working yet again.
Could you help?

Quote:

Originally Posted by Pod (Post 2055258)
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?


Pod 06-26-2010 09:27 PM

Quote:

Originally Posted by RVSmarter (Post 2060065)
This isnt working yet again.
Could you help?

I see the call to the javascript file has completely disapeared from your site. I really can't know why without "looking inside".

It'd help to know what happened between the moment it was working and now. Did you install some other mod? Changed the style?

On top of my head, a couple ideas you could try. If you installed a new style, make sure the headinclude template includes the line

Code:

{vb:raw template_hook.headinclude_javascript}
If you installed a new mod, it might be "eating" the template hook. If so, it might help to change the execution order of the same plug-in you edited the last time (instead of 5, make it 100 or some other number bigger than any other mod).

RVSmarter 06-27-2010 10:04 PM

Bills PayPal Donate Lite 4.0 (https://vborg.vbsupport.ru/showthread.php?t=236380)
was the problem.
When I disabled that product the source code came back up.

I would like to run both together. Any ideas?

Pod 06-27-2010 10:42 PM

Quote:

Originally Posted by RVSmarter (Post 2060737)
Bills PayPal Donate Lite 4.0 (https://vborg.vbsupport.ru/showthread.php?t=236380)
was the problem.
When I disabled that product the source code came back up.

I would like to run both together. Any ideas?

I'd have to take a deeper into that mod and see why interacts with vlatex to find out what causes the problem. But I won't be able to do so until next Wednesday, I'll be out of town, I'm very sorry.

In the while, you can try to contact Bills, see if he can help you. Or you can try to paste the code directly into the headinclude template

Code:

<script type="text/javascript" src="http://www.mathhelpforum.com/math-help/vlatex/vlatex.js"></script>
<script type="text/javascript"> <!--
  var vlatex_popup_caption = 'Formula source code:';
  var vlatex_popup_close = 'Close';
  --> </script>


ajhalls 07-08-2010 02:43 PM

I LOVE THIS PLUGIN!!! There isn't a simpler way of getting LaTeX working out there. It is quite simply amazing.

I just started using it and would love to add a couple buttons to the editor for the most common expressions I use. I am working with a group of Chemistry and Math teachers that would probably prefer not to have to learn latex for the simple things like subscript, superscript, fractions...

Can someone point me in the right direction for where I might be able to add some in?

Pod 07-08-2010 02:54 PM

Quote:

Originally Posted by ajhalls (Post 2066359)
I LOVE THIS PLUGIN!!! There isn't a simpler way of getting LaTeX working out there. It is quite simply amazing.

I just started using it and would love to add a couple buttons to the editor for the most common expressions I use. I am working with a group of Chemistry and Math teachers that would probably prefer not to have to learn latex for the simple things like subscript, superscript, fractions...

Can someone point me in the right direction for where I might be able to add some in?

I'd like to add something like that into the mod by default, but I'm not sure when I'll be able to get into that. If everything goes right, it could be this month.


All times are GMT. The time now is 07:25 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.01297 seconds
  • Memory Usage 1,751KB
  • 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
  • (6)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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