Custom Template/Pages
Ok, I am new to vBulletin, but not coding in general. I create a template that is basically another type of page that I want uses to use to post to my forums. The template loads great and looks good, but I cannot for the life of me figure out how to post the information so that it will create a new thread.
My first thought was to basically create a big string of all the information that I want posted, put this text into the vB_Editor and then just post it like the standard newthread template.
When I do a vB_Editor['$editorid'].set_editor_contents(mystring), then perform a submit (document.vbForm.submit()), I get the error saying the editor text is not long enough (must be 10 characters).
On the form post, I left the original code, because I want to change as little as possible to get this to work.
If anyone knows what I am doing wrong, or even a product that will make this easier, please let me know. I need help!
|