![]() |
Now, this is another questions... How if I want to attach images as one of the fields in the forms? What should I do?
|
Awesome mod, improved so much from the 3.8 verison I used to use.
A couple of things, when using Yes/No answers, it records in the vote format the language... i.e: Yes: 25% Ja: 25% No: 25% Neine: 25% Would it be possible for it to not record the language variations? Or have an option to do? Another nice feature would be having the number who agreed with a poll option when you hover over the poll bar... i.e. 25% translates to 15 who agreed with it... |
bananalive, could you please code Results Editing option? I'll try to explain what I mean. Hmm. The button "Edit" near the button "Delete" in Form Results near each Result. When you press Edit the button leads us to the Form with predefined answers from the Editing answer. Like Editing threads. Thank you!
|
I've got the 4.0.9 version of this mod installed. Looks great, so congratulations; I'm just playing around with it trying to work out how to use it (I'm not a developer). Just noticed there's a grammatical error in there: Easy to fix in phrases, even I know how to do this, but you might want to change in next release.
In the phrase "Please Note: Questions proceeded by an asterisk (*) are compulsory" the word proceeded needs to be replaced by the word preceded. |
Good Evening...
I noticed this thread is a tad old, so hope I get a response... I installed the mod on my test board. It is great and when I work out the kinks, it'll be marvelous. I run an RPG and need to use the forms to create a character's bio/profile so it's a rather long form with different sections. I'd like to divide the sections with the horizontal rule line (I have the custom BB Code installed)... However, so far, I've been unable to make this work...It's possible it's setting on the actual forum I've missed although I've gone through them all twice.... Any hints, suggestions, ideas, letters, hate mail? *grins* Thanks and Regards, Alisa |
Lets say I have an "Age" field in my form that ranges from 12-99.
How would I go about making it so if they choose and number below 16 they would either instantly be directed or once submitted be directed to a custom error page of my design to tell then they are not old enough? I would really like to do this on my clan application form to weed out the youngsters. Thank you in advance... |
Great mod, just wish there was a readme file with instructions. I had to figure it all out on the fly.
Can forms be posted as a thread instead of having to be linked via misc.php?etc |
Quote:
JJ |
In a specific forum, I would like to have the "Post New Thread" button link to the Easy Form I have created. This would force the first post of any new threads in that forum to have to fill out the Easy Form questionnaire.
Is this possible? What would the template edits be? Could this be implemented through vb Options in later releases of this fine hack? Thanks. |
no more support for this?
|
What is the change log for new v4.0.9 ???
|
Quote:
|
Quote:
Title : can be what you want Hook Location : newthread_form_complete Plugin PHP Code: PHP Code:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
1 Attachment(s)
Quote:
Number 'voted' should show, but there was line missing :eek: fixed in attached file for you. |
Quote:
|
Quote:
|
Quote:
|
Suggestion: Change phrase
Quote:
Quote:
If a user has exceeded the limit for number of times he can submit the form, redirect him immediately to the edit form. |
Bugs:
|
Quote:
1. Replace in plugin Easy Forms Part 1 Code:
if ($form[submitlimitperuser] >= 1) Code:
if (!$formresult && $form[submitlimitperuser] >= 1) 2. In same plugin in the area after Code:
if ($_POST['do'] == 'postform') Code:
if ($count >= $form[submitlimitperuser]) Code:
if ($count > $form[submitlimitperuser]) |
Bug: Poll displays free text entries
Solution: Replace in plugin Easy Forms Part 3 short after Code:
if ($_REQUEST['do'] == 'formresults_poll') Code:
$formbits = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "formbits WHERE fid = $fid AND type != 7 ORDER BY displayorder ASC"); Code:
$formbits = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "formbits WHERE fid = $fid AND type NOT IN (1,6,7,8,9) ORDER BY displayorder ASC"); |
Quote:
(This messes lots of things up in your database as userid 123 will have an effect on userid 12345). It is better to get the userids from a simple SELECT query of forumresults table. Replace in plugin Easy Forms Part 2 Code:
if ($_REQUEST['do'] == 'deleteformresult') Code:
if ($_REQUEST['do'] == 'deleteformresult') |
To have my users automatically redirect to the form results page where they can edit their entries if they exceeded their maximum entries, I use this code in plugin Easy Forums Part 1
Code:
if (!$formresult && $form[submitlimitperuser] >= 1) Code:
$id = $db->query_first("SELECT id FROM " . TABLE_PREFIX . "formresults WHERE fid = '$fid' AND userid = " . $vbulletin->userinfo[userid] . ""); |
This is about the database "review" model where users are allowed to give an entry once (limit: 1).
Users are allowed to see the poll results from all users. However, for Privacy Reasons users can only see their own entries on form results table: In plugin Easy Forms Part 3 replace Code:
$formresults = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "formresults WHERE fid = '$fid' $search AND userid=" . $vbulletin->userinfo[userid] . " ORDER BY time DESC"); Code:
$formresults = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "formresults WHERE fid = '$fid' $search AND userid=" . $vbulletin->userinfo[userid] . " ORDER BY time DESC"); |
After user has completed the entry successfully, he is redirected to the statistic page:
Replace in plugin Easy Forms Part 1 Code:
if ($complete && $show['editing']) Code:
if ($complete && $show['editing']) |
I love this product! Therefore I took some time to look into it and I have some suggestions for its database structure
|
Some suggestions for coding:
|
Security issue. A user may delete other users results by entering their formresults id.
In plugin Easy Forms Part 2 replace Code:
if ($_REQUEST['do'] == 'deleteformresult') Code:
if ($_REQUEST['do'] == 'deleteformresult') |
Quote:
Quote:
|
1 Attachment(s)
I have prepared some suggestions about Form's "first page". May be they could be interesting (see attached picture).
|
1 Attachment(s)
Edit Bug (please see attached picture)
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Added javascript popup to confirm the user wants to delete form result. Also added extras permissions for form results. |
Quote:
|
All times are GMT. The time now is 10:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|