I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index » Products » LaTeX Equation Editor »

vBulletin

humongous\′s Photo
14 Mar 10, 6:13PM
(3 replies)
vBulletin
I have installed this on one of my friend's forum on vBulletin using workaround almost similar to phpbb. It works flawlessly. But the problem is that I need to turn off vb's WYSIWYG editor to get the equation copied to the textarea. Any workaround?

Cheers
CodeCogs\′s Photo
14 Mar 10, 6:36PM
I'm assuming if you don't turn off the WYSIWYG editor, then the HTML appears as text rather than an image. Though if its pasted into a textarea, which contains raw HTML, then when WYSIWYG is turned back on then all is good?

I'm not an expert in vBulletin, but what we need is a simple function that can paste into vBulletin. For FCKEditor it looks something like this:
function pasteWYSIWYG(text)
{
  FCKEquation.Add(text);
}

i.e. you need to find out what Javascript function you use to paste to the current cursor position. Even better would be to overwrite the current cursor position if the user selects a block of text. Next step up from that is to allow users to double click an equation and launch the editor with the equation loaded - but we can solve that another time.

If you can figure this out - I can add in the support.
humongous\′s Photo
16 Mar 10, 4:02PM
Thanks Codecogs. I'm not sure if I understood the bits about function and all. I really am a beginner at all these, sorry. The javascript that I used is the default one, supplied in your installation instructions.

As for wysiwyg, the codes will only be pasted if it's turned off. If wysiwyg is turned on, nothing will be pasted onto the post editor.
CodeCogs\′s Photo
17 Mar 10, 7:59PM
Ok. It'll take us a while until we've time to get around to this, but leave it with us.

Eventually we should be able to paste directly into the WYSIWYG editor.

If in the mean time anyone else has suggestions then please let us know.
Currently you need to be logged in to leave a message.