I am webmaster and vBulletin forum admin for my World of Warcraft guild. I’d like to code a web form for guild applications such that pressing “Submit” will post the filled-out form to a specific thread in my guild forum. For example, the user would fill out the following HTML form:
…and, on pressing “Submit”, the form would log in to a special account on my forum, reply to the Applications thread, and post:
Is this possible to accomplish efficiently, and if so, how would I go about it? If it isn’t, I can always just have it email the apps to me and post them manually, but I’d rather have it done automatically (and I like to expand my coding juju whenever possible). Your help is appreciated!
No experience in vBulletin, but this is PHP stuff you’re wanting to do and, honestly, not THAT difficult if you know a little PHP.
Basically, you’d pass the variables from your custom made page into vBulletin’s standard “New Thread” page, but you’d have to add some scripting into that vBulletin script so it could grab those variables and insert them into the textarea.
If you want to insert everything into the DB automatically without being forwarded to the “New Thread” page, its a little trickier but mostly its copying/pasting PHP code to wrangle it into doing what you want. I’m not sure if vBulletin has a plugin or anything for it, but its such a popular piece of software I’d be shocked if no one has done this sort of thing before. Is there a depository somewhere for plugins/additions?
Yeah, that’d be the aforementioned vBulletin.org, which is where I’m headed now. I thought I’d ask here first to see if anyone had tried anything like this. When I ask questions like this on other boards, I tend to get fewer answers and more “why would you want to do THAT instead of this ingenious code modification I invented that accomplishes something sort of tangentially related to one step of what you’re trying to do, plus a bunch of extraneous crap that is meaningless to you?”.
Hopefully vBulletin.org is different. Ah well, thanks for trying!