K19 Posted April 2, 2009 Posted April 2, 2009 Would You mind telling me how to install plugin vbLatex for vBulletin? Could you tell... step to step. Thanhs a lot. K19:embarass:
the tree Posted April 3, 2009 Posted April 3, 2009 http://xyloid.org/projects/vblatex/ is that not step by step?
Cap'n Refsmmat Posted April 3, 2009 Posted April 3, 2009 If you need any help past what that provides, ask here and I may be able to provide some support.
K19 Posted April 5, 2009 Author Posted April 5, 2009 Thank for helping! 1. Create a folder somewhere web-accessible to hold all of your generated images. You need to create two sub-directories called tmp and img inside this folder, and make them both world-writable. 2. Extract the archived ZIP file somewhere. Carefully read through the configuration file and fill in all required sections. Make sure your paths are correct and agree with step 1. 3. Upload the class.latex.php file to the includes directory of your vBulletin installation. 4. Upload the latex.js file to the clientscript directory of your vBulletin includes, and modify your header template to include this JavaScript file. (This will be done automatically in the future at some point). 5. Install the supplied .xml plugin file using the vBulletin admin control panel. 6. Turn on LaTeX rendering in the vBulletin Options. 7. You’re done! I had done step 4 but I didn't know how to modify header template to include this JavaScript file. and I had done step 5: Import Product: "product-latexvb.xml" But when I came in "the vBulletin Options" I didn't see where is "Turn on LaTeX". I think I haven't modify header template to include this JavaScript file yet.
Cap'n Refsmmat Posted April 5, 2009 Posted April 5, 2009 Go to the headinclude template in whatever theme you're using and edit it to include this: <script type="text/javascript" src="clientscript/latex.js"></script> As for step 6, I don't think you need to do anything like that. Once you've installed the plugin and included the JavaScript you should be able to post LaTeX in math tags.
K19 Posted April 6, 2009 Author Posted April 6, 2009 Go to the headinclude template in whatever theme you're using and edit it to include this: <script type="text/javascript" src="clientscript/latex.js"></script> As for step 6, I don't think you need to do anything like that. Once you've installed the plugin and included the JavaScript you should be able to post LaTeX in math tags. Thanks a lot! I had edited my headinclude template. But I didn't see "LaTeX BBCode Tags yet". I think I have false things in my CONFIGURATION in the class.latex.php My site: http://k19.byteact.com My LaTeX directory was (Directory Tree: root /htdocs /latex) I get CONFIGURATION var $path = array( // Applications 'latex' => '/usr/bin/latex', 'dvipng' => '/usr/bin/dvipng', // Base directory 'base' => '/latex', 'baseurl' => '/latex' Could you tell me what wrong is?
Cap'n Refsmmat Posted April 6, 2009 Posted April 6, 2009 Try making a post with [math]x^2[/math] in it and see if it works. If not... Do you have latex and dvipng (the programs) installed on your server? If not, what operating system are you using on the server? I might be able to find instructions to install LaTeX and dvipng for you. 1
K19 Posted April 10, 2009 Author Posted April 10, 2009 I think not latex and dvipng installed on my server! Now I am busy, I will come-back soon! Thank for your helping!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now