Version: 4.3.0, by bananalive
Developer Last Online: Nov 2023
Category: New Posting Features -
Version: 4.0.x
Rating:
Released: 01-27-2010
Last Update: 10-04-2011
Installs: 1410
DB Changes Uses Plugins Auto-Templates
Additional Files Translations
No support by the author.
Easily create forms with no HTML or PHP knowledge. Questions can be made compulsory and are checked before the form is submitted. Forms can be previewed. (You can create multiple forms)
Screenshots
There are two posts full of screenshots of this modification
Upload the contents of upload folder to forum root (Allow Overwrite "YES" for overwrite) clientscript\easyforms.css -> \clientscript\
clientscript\easyforms.js -> \clientscript\
So I had that form all created as you see above in screenshot. I then decided to remove 3 questions entirely and delete them. I had two results(forms) already posted though.
I'm trying to remove those two answers (forms) that someone submitted, and I get this:
vBulletin Message
Error, this form does not exist.
I'm assuming its because it's trying to delete those answers with those original questions tied to them, but I deleted them.
If I hover over the delete link:
#
TPA's - jbilliau (Edit | Delete)
Name
Will Have Done by
Ticket #1
I don't even see ID or FID = a number at all....its just = nothing
How can I get a question type like "custom"? For example, the question is what is your favorite song? The answer would be address of the mp3 file. But in the results the answer would be "built in" to the player html code. (same functionality as BB code).
In the other words, can I create a custom bb code and format the answer with it?
2 possible options
Use custom output
Create vBulletin Hook with following attributes: (AdminCP -> Plugins & Products -> Add new plugin)
Change 44 for appropriate form id and 325 for appropriate question id
Change for appropriate bb code
what do i have to have the "Form Actions" set to to do this that you did below...i tried it posting in new thread and thats what it does...tried it in post in thread but then what would i put in the thread id area?? it says it posts but it really didnt.
Quote:
Originally Posted by bananalive
Form Hook: Form Start:
PHP Code:
$form['threadid'] = $q['threadid'];
Form Hook: Before Submit:
PHP Code:
$form['threadid'] = $q['threadid'];
Custom Question
Reference Name:
Code:
threadid
PHP Code:
PHP Code:
$answer = '<select name="'.$formbit[id].'">';
$answer .= '<option></option>';
$thisanswer = $q[$formbit[id]];
$threads = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "thread
WHERE forumid = '2'
ORDER BY title ASC");
while($row = $db->fetch_array($threads)) {
$answer .= '<option value="'.$row[threadid].'"';
if ($row[threadid] == $thisanswer) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[title].'</option>';
}
$answer .= '</select>';
what do i have to have the "Form Actions" set to to do this that you did below...i tried it posting in new thread and thats what it does...tried it in post in thread but then what would i put in the thread id area?? it says it posts but it really didnt.
Post in Thread
You can leave the threadid blank as it is being specified in custom question.
If you export your form and upload it here - i'll have a look for the problem.
Installed, working perfect, Thanks for a great and complex mod.
I have one question :
Is it possible to display a form within a post/thread? Or can forms only be displayed only on their own misc.php URL? It would be great if I could add a form at the bottom of a post but I can't find any option or documentation if this is possible...
Great plugin, works very well, good job. I'm impressed.
Quick question. I've set the form to output to a thread. What I'd like is that when this thread is created by easyform, his signature is a link to that thread.
So user john submits form => thread is created yourforum.com/forum/john-thread/
Now user john has as signature a link to that thread