The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Form Hack Details »» | |||||||||||||||||||||||||
Form Hack 4.1 Features: Ever wanted an online form that a user can fill out, which when submitted gets:
Or any combination or all of the above? Well, this is the hack for you! You can use this for:
Or anything you like - this hack is totally customizable via the AdminCP. The beauty of this hack is that once you install this hack, to make a new form all you need to do is copy the main hook, rename it to whatever you want, edit the variables in the hook, and you have a totally new form!!! You do not need to touch the templates again, but can always create new ones and use different templates for different forms. Format of the form:
This is customizable via the hook. Also:
INSTALLATION Easy - takes only a few minutes:
Done! Use this hack to make as many forms as you like! Enjoy! Updates: Version 4.0: (09/15/2006)
Version 4.1: (04/24/2008)
MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released. Abe1 with rights from Dr Erwin Loh Supporters / CoAuthors Show Your Support
|
Comments |
#282
|
|||
|
|||
Hey All,
I've seen several people ask how to get the dropdown menus to determine what thread to respond to using this hack. I "think" I figured it out after much cussing lol... I wound up NOT having to declare any new variables, and NOT having to modify the "form" template. All I did was pretty much what I had been working on previously, but called it slightly differently since the calls I was making were causing SQL to panic because of the array usage. Here's the code if you're interested: Replace the $formreplythreadid = "XX"; (in the Form Plugin - NOT the template) with: Code:
//ENABLE FORM TO REPLY TO EXISTING THREAD - 1 = yes, 0 = no $formreply = "1"; if ($dropdownanswer1 == 'Mage'){ $formreplythreadid = "43";} if ($dropdownanswer1 == 'Warlock'){ $formreplythreadid = "34";} if ($dropdownanswer1 == 'Warrior'){ $formreplythreadid = "41";} if ($dropdownanswer1 == 'Rogue'){ $formreplythreadid = "42";} if ($dropdownanswer1 == 'Priest'){ $formreplythreadid = "40";} if ($dropdownanswer1 == 'Hunter'){ $formreplythreadid = "46";} if ($dropdownanswer1 == 'Paladin'){ $formreplythreadid = "45";} if ($dropdownanswer1 == 'Shaman'){ $formreplythreadid = "44";} //EXISTING THREAD ID FOR FORM TO REPLY IN |
#283
|
|||
|
|||
Quote:
|
#284
|
|||
|
|||
I'm interested in getting rid of those notices as well.
Also, in this part of the mod: Code:
REDIRECT OPTIONS: 0 - thank you message (thread, reply, pm, or email) 1 - redirect to post (thread or reply) 2 - redirect to thread (thread only) 3 - redirect to forum (thread only) 4 - redirect to editpost (thread or reply) Feel free to change the thank you message if you choose option 0 $redirectoption = "0"; Anyone? Another issue I'm having is that this mod is creating a bunch of threads with the same title. How would I go about pulling the title of the thread from a text box that the user fills out in the form? EDIT: so I figured there's got to be a way to do this. If I create a question that asks the user to give a basic description of the bug they have found in the software I might be able to pull the answer to that question and have it be the title to the thread. I've created the question, but how do I have it call that answer to name the thread? EDIT2: Found the answer after reading through the thread: Quote:
Quote:
PHP Code:
So far, this mod has been great! |
#285
|
|||
|
|||
I love the mod. It's working perfectly for what I needed.
One quick question though.. how do I keep all of the choices in a checkbox "checked" when it posts? It allows more than one option to be checked but still only sends the first choice. Installed! |
#286
|
||||
|
||||
I can't see anywhere the issue of these forms going into the moderation queue being resolved, or even a pointer as to why this happens when the forum and usergourp permissions have been set accordingly.
Another question I have... is there a way of being able to define the user that actually makes the post (in the event of unregistered guests being able to complet the form) - at least that way the problem of moderation may be cured. A Captcha device would be good too Apart from that, a great mod - excellent |
#287
|
|||
|
|||
Hi
I set this form before and all forms are received me and when my super moderators write reply that form their message number are rising.But after my update forum version, even though I send reply that form viewing number get higher but reply number still 0. When I enter the form I can see the replies. Screen Shot 1 - http://img527.imageshack.us/img527/7943/40914909to6.gif 2 - http://img259.imageshack.us/img259/7732/98835333bh5.gif |
#288
|
||||
|
||||
Well, in asnwer to my previous, I've managed to hack the plugin file to accept vBulletin's own image recognition Captcha system that is being used on the current Contact Us form (sendmessage.php). The image recognition is a 'must have' for my site, and it's the only way I can get this form to work with unregistered users.
However, with those same users, I'm still having a real problem with the Moderation, though... I've allowed the users to post in the preset forum permissions, I've even tried to send values through the $threadinfo array (specifically ['visible'] = '1') into the build_new_post function from the plugin file, all to no avail. Could I be missing something really obvious here? |
#289
|
|||
|
|||
Quote:
Does anyone have any insight? |
#290
|
|||
|
|||
Hopping someone can help me with this.
Ive customized a form and have everything working accept it seems that the person submitting the form needs to be logged into the forum. Is there any way that anyone regardless of whether they are logged in or not can submit? |
#291
|
||||
|
||||
Quote:
You would have to give all guest in admincp/usergroups/usergroup manager/unregistered not logged in/edit rights to post in forums. This form hack is more or less a thread and when a person fills it out it shows as new post. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|