vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Easy Forms v4.x - Create a form or multiple forms without php or html knowledge (https://vborg.vbsupport.ru/showthread.php?t=234385)

bananalive 03-12-2011 07:04 PM

Quote:

Originally Posted by Internetcafe (Post 2172545)
Great addition to the forum .. thanks.

Question which I hope someone can with :-
Creating a form as a Vendors agreement.
1/ Your Company Name .. Single line text field
2/ Vendors Agreement .. Custom
3/ Comments .. Multi-line text field
4/ Agree to agreement .. yes/no question

When form is submitted, everything but the agreement is submitted but the only place I could place the agreement is in the 'custom' description box. I need that agreement submitted with the form !?

Thanks

I don't understand. Are you using custom output?

markb5900 03-12-2011 07:44 PM

Quote:

Originally Posted by bananalive (Post 2172651)
You'll need to edit template form_list_top and/or form_list_cat.

Thanks

bananalive 03-12-2011 08:13 PM

Quote:

Originally Posted by ascroft (Post 2172180)
Thank you - this is all good. Nearly there.

My one remaining issue is to do with the drop down list of the forums in the custom question (now #1 with prefix #2 question and yes I do have a default forum to get the prefixes from) and filtering using an array. I am using:

$answer = "<select name=\"$formbit[id]\" id=\"q_" . $formbit[id] . "\">";
foreach ($vbulletin->forumcache AS $forumid => $forum)
{
if (!in_array($qo['forumid'], array(53,9999,34,55,65)))
{
continue;
}
if ($qo['forumid']==$forumid)
{
$forum['selected'] = ' selected="selected"';
}
$answer .= "<option value=\"$forumid\"$forum[selected]>$forum[title]</option>";
}
$answer .= "</select>";

However I still don't get any values displayed - the drop down list is empty - would you mind please checking the syntax for this? (I am launching the form from forum 53 by the way)

Finally - one unrelated question - is it possible to display the prefix in the custom form output - I don't see a variable name for it and wondered.

Many thanks for your help.

Try this: (I've altered line 4)

PHP Code:

$answer "<select name=\"$formbit[id]\" id=\"q_" $formbit[id]  . "\">";
foreach (
$vbulletin->forumcache AS $forumid  => $forum)
{
if (!
in_array($forumid, array(53,9999,34,55,65)))
{
continue;
}
if (
$qo['forumid']==$forumid)
{
$forum['selected'] = ' selected="selected"';
}
$answer .= "<option value=\"$forumid\"$forum[selected]>$forum[title]</option>";
}
$answer .= "</select>"

Have you tried using the question hash of the prefix question?

Internetcafe 03-13-2011 12:25 PM

Quote:

Originally Posted by bananalive (Post 2172655)
I don't understand. Are you using custom output?

Custom 'form' template used to create the agreement.
The 'description' box of that template used to add the vendor agreement text.
The custom template added to other already listed elements to complete the form.

All other elements submit as required, but the agreement text does not.

webmaster74 03-14-2011 12:48 AM

hi. it has been a while that I am looking at this mod and would like to know one thing:

can this mod allow the creation of mutliple choice questions and answers that would allow my members to learn new stuff by taking virtual quizzes ?????

Scan Cape Cod 03-14-2011 06:35 PM

I'm running 4.1.2 and the latest version of this mod, which is fantastic. Internet Explorer 8 seems to be having some issues with drop-down menus though...confirmed by two different PC's. The drop-down is only showing the first character of the choices.

It works fine in IE9. Is this an issue anyone else is having? I searched this thread but didn't see anything. As far as I can tell this has only come up after I upgraded to 4.1.2 and the latest version of the mod.

Thanks.

mrbigandwonderf 03-15-2011 12:36 PM

I have a question.... hopefully an easy solution.

Is there a way to have the text editor with the insert picture button. When i chose text editor as an option it appears to be missing.

Everything thing is working great and would love to go live with the forms but this is my missing link to making this happen.

Any help is greatly appreciated

bananalive 03-15-2011 07:06 PM

Quote:

Originally Posted by mrbigandwonderf (Post 2173598)
I have a question.... hopefully an easy solution.

Is there a way to have the text editor with the insert picture button. When i chose text editor as an option it appears to be missing.

Everything thing is working great and would love to go live with the forms but this is my missing link to making this happen.

Any help is greatly appreciated

AdminCP -> vBulletin Options -> BB Code Settings -> Allow [IMG] Code in Non Forum Specific Areas -> Yes

bananalive 03-15-2011 07:07 PM

Quote:

Originally Posted by Scan Cape Cod (Post 2173340)
I'm running 4.1.2 and the latest version of this mod, which is fantastic. Internet Explorer 8 seems to be having some issues with drop-down menus though...confirmed by two different PC's. The drop-down is only showing the first character of the choices.

It works fine in IE9. Is this an issue anyone else is having? I searched this thread but didn't see anything. As far as I can tell this has only come up after I upgraded to 4.1.2 and the latest version of the mod.

Thanks.

Which dropdowns are you having an issue with?

bananalive 03-15-2011 07:09 PM

Quote:

Originally Posted by Internetcafe (Post 2172830)
Custom 'form' template used to create the agreement.
The 'description' box of that template used to add the vendor agreement text.
The custom template added to other already listed elements to complete the form.

All other elements submit as required, but the agreement text does not.

If the agreement text is not included within an answer, for instance if it is in a question description, then it wouldn't go through to the form result

bananalive 03-15-2011 07:11 PM

Quote:

Originally Posted by webmaster74 (Post 2173078)
hi. it has been a while that I am looking at this mod and would like to know one thing:

can this mod allow the creation of mutliple choice questions and answers that would allow my members to learn new stuff by taking virtual quizzes ?????

  1. Upgrade to Easy Forms v4.2.6
  2. Enable Quiz Mode & Disable Form Preview
  3. Edit Questions and add the 'correct answer' for each question

Cyamia 03-15-2011 07:53 PM

Thank you so much! I have installed this wonderful mod already, and I am happy to see my most wanted featured being featured in it: Quiz mode. Rated 6 over 5!
Good job bananalive

Mr_Running 03-17-2011 01:24 AM

I like what I see with this mod

My thoughts.
It would be great to have an option for the admin to create a form and have a tab button in each user profile and posted to an individual forum thread for each individual member with an option for two threads. 1 Private and 2 Public with the user choosing the 1 or 2.

Or maybe the user choosing similar options
as in the vB Profile Privacy

1) Everyone
2) Registered members
3) Your Contacts
4) Your Friends

This would be nice too 5) Just me

All this with no additional set up...it would be automatic when the user becomes a member :) but maybe this might need to be a different mod

Please let me know if this can be done or be considered in a future update.

ascroft 03-17-2011 08:02 AM

Hi - thank you -

1. Drop down list is great and working from the filtered list.

I think I might have referred to this in an earlier post and commented I needed to test further, but I confirmed tonight that the forum that the form actually posts in to however upon submission is still the default one on the form. In other words, although I select another forum from the drop down now working, the post goes in to the original default forum still. Is this something you could advise on please?

2. Re the question of the prefix question - good point - thanks. However when I do this, I get the code for the prefix output rather than the title of the prefix i.e. I get FH001 not 'Family Home to Buy". I am using say {qo_59} where 59 is the custom question.

Thanks for your ongoing assistance.


Quote:

Originally Posted by bananalive (Post 2172678)
Try this: (I've altered line 4)

PHP Code:

$answer "<select name=\"$formbit[id]\" id=\"q_" $formbit[id]  . "\">";
foreach (
$vbulletin->forumcache AS $forumid  => $forum)
{
if (!
in_array($forumid, array(53,9999,34,55,65)))
{
continue;
}
if (
$qo['forumid']==$forumid)
{
$forum['selected'] = ' selected="selected"';
}
$answer .= "<option value=\"$forumid\"$forum[selected]>$forum[title]</option>";
}
$answer .= "</select>"

Have you tried using the question hash of the prefix question?


Badhabitz 03-18-2011 08:55 PM

bananalive 1st off thank you very much for this mod, it has been a great addition to my community.

I do have a bug report that I'm not sure is just me. The correct answer box is not long enough for the answer to a question in quiz mode. It seems like the field is to small?

Cyamia 03-19-2011 01:43 AM

I have installed this mod BUT I did not get what I had expected from the quiz mode. In fact, when a user previews what the form he/she has done so far, the previews shows the results as well, which lets him/her know if he/she got the questions wrong or right. What is worse is that it the preview shows him/her the correct answers (What would be the point of the quiz then?)

So, is there a was to disable this so that the user do not see the result immediately? If not, do you plan to improve this quiz part in future releases?

Thank you.

bananalive 03-19-2011 09:48 AM

1 Attachment(s)
Quote:

Originally Posted by Cyamia (Post 2174962)
I have installed this mod BUT I did not get what I had expected from the quiz mode. In fact, when a user previews what the form he/she has done so far, the previews shows the results as well, which lets him/her know if he/she got the questions wrong or right. What is worse is that it the preview shows him/her the correct answers (What would be the point of the quiz then?)

So, is there a was to disable this so that the user do not see the result immediately? If not, do you plan to improve this quiz part in future releases?

Thank you.

Edit Form -> Disable Form Preview

Or

Import attached file.

bananalive 03-19-2011 09:49 AM

1 Attachment(s)
Quote:

Originally Posted by Badhabitz (Post 2174906)
bananalive 1st off thank you very much for this mod, it has been a great addition to my community.

I do have a bug report that I'm not sure is just me. The correct answer box is not long enough for the answer to a question in quiz mode. It seems like the field is to small?

There's a limit of 60 characters, if that isn't enough for you, import attached file.

bananalive 03-19-2011 09:50 AM

Quote:

Originally Posted by Mr_Running (Post 2174238)
I like what I see with this mod

My thoughts.
It would be great to have an option for the admin to create a form and have a tab button in each user profile and posted to an individual forum thread for each individual member with an option for two threads. 1 Private and 2 Public with the user choosing the 1 or 2.

Or maybe the user choosing similar options
as in the vB Profile Privacy

1) Everyone
2) Registered members
3) Your Contacts
4) Your Friends

This would be nice too 5) Just me

All this with no additional set up...it would be automatic when the user becomes a member :) but maybe this might need to be a different mod

Please let me know if this can be done or be considered in a future update.

Sorry, I'm afraid that's not possible with this modification

Badhabitz 03-20-2011 02:28 PM

Quote:

Originally Posted by bananalive (Post 2175040)
There's a limit of 60 characters, if that isn't enough for you, import attached file.

Thank you for this, it worked perfectly. Is there a way to shut off the quiz portion on just 1 question so it doesn't mark it as incorrect when it needs to be a different answer for each person? No rush on this if not, just a suggestion for when you release a new version. Another suggestion would be to make it so it goes to different questions based on your answers.


I have been able to get away from google doc forms thanks to you. Now all we need to do is make it so we can use advanced formulas realtime like in excel spread sheets and I will be able to get away from it entirely, lol. I know that's a pipe dream, that would be way to much work for one person to do. :cool:

kisanjong 03-21-2011 03:30 PM

Great mod thanks 5* + MOTM

is it possible to allow only admin to export data xml and excel and disable this feature for other groups?

bananalive 03-22-2011 10:36 PM

1 Attachment(s)
Quote:

Originally Posted by Badhabitz (Post 2175445)
Thank you for this, it worked perfectly. Is there a way to shut off the quiz portion on just 1 question so it doesn't mark it as incorrect when it needs to be a different answer for each person? No rush on this if not, just a suggestion for when you release a new version. Another suggestion would be to make it so it goes to different questions based on your answers.

Import attached file, then questions without correct answer will not be marked as incorrect
Quote:

I have been able to get away from google doc forms thanks to you. Now all we need to do is make it so we can use advanced formulas realtime like in excel spread sheets and I will be able to get away from it entirely, lol. I know that's a pipe dream, that would be way to much work for one person to do. :cool:

bananalive 03-22-2011 10:40 PM

Quote:

Originally Posted by MrKing (Post 2175828)
Great mod thanks 5* + MOTM

is it possible to allow only admin to export data xml and excel and disable this feature for other groups?

Cheers, the permission to export xml is the same as the permission to view form results.

Kenjiwing 03-23-2011 12:32 PM

Hi!

I setup a form and its working great..

My form is an application process that outputs to a thread.. is it possible to allow users to fill out the form without having an account to my website/forums? If so how would I do that?

Thanks,

markb5900 03-23-2011 08:46 PM

As everyone else has said, what a great mod.

I have a large amount of forms and have decided I need to add some questions to them all.
Is there an easy way to "mass add" questions to all the forms. Or just an easy way to copy and paste the code into each form instead of going into each one individually and adding the 3 questions?
The order will be the same for all the forms, just need to add the individual questions.

Thanks

markb5900 03-23-2011 08:51 PM

Quote:

Originally Posted by Kenjiwing (Post 2176528)
Hi!

I setup a form and its working great..

My form is an application process that outputs to a thread.. is it possible to allow users to fill out the form without having an account to my website/forums? If so how would I do that?

Thanks,

Depending on where your form is located on your site, you should be able to use the permissions in
admincp>options>easyformoptions

In there you can set who can see the forms list etc..

Kenjiwing 03-24-2011 12:53 PM

Quote:

Originally Posted by markb5900 (Post 2176713)
Depending on where your form is located on your site, you should be able to use the permissions in
admincp>options>easyformoptions

In there you can set who can see the forms list etc..

I see that and was able to get that part to work.. one more question.

Is it possible to add the registration process to a form? IE you click my recruitment button it takes you to the application form and if you're not logged in the first section is to register for the site?

BadgerDog 03-24-2011 06:38 PM

Quote:

Originally Posted by bananalive (Post 2175040)
There's a limit of 60 characters, if that isn't enough for you, import attached file.

Installed this version with thanks for testing on 4.04 ... :up:

Regards,
Doug

bananalive 03-25-2011 05:46 PM

Quote:

Originally Posted by Kenjiwing (Post 2176959)
I see that and was able to get that part to work.. one more question.

Is it possible to add the registration process to a form? IE you click my recruitment button it takes you to the application form and if you're not logged in the first section is to register for the site?

Not really.

You could re-direct the unregistered users to the registration page, from the form, and then once they are registered they will be able to view the recruitment form.

Edit Form -> Form PHP Hooks

Form Hook: Form Start:
PHP Code:

if (!$vbulletin->userinfo['userid'])
{
  
$vbulletin->url $vbulletin->options['bburl'] . "/register.php";    
  eval(
print_standard_redirect('You need to register before you can view/submit this form'01));


Or for standard login/register message

Form Hook: Form Start:
PHP Code:

if (!$vbulletin->userinfo['userid'])
{
  
print_no_permission();



bananalive 03-25-2011 05:50 PM

Quote:

Originally Posted by markb5900 (Post 2176711)
As everyone else has said, what a great mod.

I have a large amount of forms and have decided I need to add some questions to them all.
Is there an easy way to "mass add" questions to all the forms. Or just an easy way to copy and paste the code into each form instead of going into each one individually and adding the 3 questions?
The order will be the same for all the forms, just need to add the individual questions.

Thanks

I'm afraid there's not a way to do that.

If you have access to phpmyadmin you could create the question in one form and then using phpmyadmin copy the corresponding row of `formbits` table and then just edit `fid` column for each question to the appropriate form id.

ascroft 03-25-2011 06:49 PM

Hi there - sorry - just a bump re this one - grateful if you could advise. This has been a bit of a trail of code so let me know if I need to post more info to help trouble shoot this.

Thank you.

Mark


Quote:

Originally Posted by ascroft (Post 2174313)
Hi - thank you -

1. Drop down list is great and working from the filtered list.

I think I might have referred to this in an earlier post and commented I needed to test further, but I confirmed tonight that the forum that the form actually posts in to however upon submission is still the default one on the form. In other words, although I select another forum from the drop down now working, the post goes in to the original default forum still. Is this something you could advise on please?

2. Re the question of the prefix question - good point - thanks. However when I do this, I get the code for the prefix output rather than the title of the prefix i.e. I get FH001 not 'Family Home to Buy". I am using say {qo_59} where 59 is the custom question.

Thanks for your ongoing assistance.


bananalive 03-25-2011 08:08 PM

Quote:

Originally Posted by ascroft (Post 2174313)
Hi - thank you -

1. Drop down list is great and working from the filtered list.

I think I might have referred to this in an earlier post and commented I needed to test further, but I confirmed tonight that the forum that the form actually posts in to however upon submission is still the default one on the form. In other words, although I select another forum from the drop down now working, the post goes in to the original default forum still. Is this something you could advise on please?

2. Re the question of the prefix question - good point - thanks. However when I do this, I get the code for the prefix output rather than the title of the prefix i.e. I get FH001 not 'Family Home to Buy". I am using say {qo_59} where 59 is the custom question.

Thanks for your ongoing assistance.

What have you got in your form hooks? You'll need something like this in Form Hook: Before Submit:

PHP Code:

$forumid $form['forumid'] = $qo['forumid'];
$form['prefixid'] = $qo['prefixid']; 

The prefixes will need the user to reload the page, via clicking preview or submit to load the appropriate prefixes for that forum.

With custom questions $qo and $q are the same so you can't get the prefix title

markb5900 03-26-2011 12:07 AM

Quote:

Originally Posted by bananalive (Post 2177406)
I'm afraid there's not a way to do that.

If you have access to phpmyadmin you could create the question in one form and then using phpmyadmin copy the corresponding row of `formbits` table and then just edit `fid` column for each question to the appropriate form id.

Ok,
Thanks

ascroft 03-26-2011 07:56 PM

Hi

Yes I have that in the form hook - well 'prefix' at the end as that is the way the reference is set up in the custom question. All forums that will be in the array use the same set of thread prefixes. Its more the forum it gets submitted to is the issue - or is that refreshed by the threadids being forced to refresh? (even though in this case they look the same to the user) If the user has to click preview to refresh this, is there a way to force them to preview?

The form in question can be triggered from http://www.shackchat.co.nz/listings/...?53-PW_Dunedin - user TEST997 spider if this helped at all. (even though I might select PW_Lower Hutt City it gets posted to PW_Dunedin - which is the default forum in the form body itself)

Thank you.

Quote:

Originally Posted by bananalive (Post 2177442)
What have you got in your form hooks? You'll need something like this in Form Hook: Before Submit:

PHP Code:

$forumid $form['forumid'] = $qo['forumid'];
$form['prefixid'] = $qo['prefixid']; 

The prefixes will need the user to reload the page, via clicking preview or submit to load the appropriate prefixes for that forum.

With custom questions $qo and $q are the same so you can't get the prefix title


kinhell 03-29-2011 07:19 PM

Really good mod.

Is there a way to link to just 1 form I have created and not show all the menu items above it etc? just call the form into a page I have for recruitment?

kinhell 03-29-2011 07:21 PM

Or if above is not possible, is there a way for when a user clicks on Forms on the Nav Bar it shows my 1 form and not a link to the form?

As I will only be using 1 single form

woffie 03-30-2011 03:43 PM

Quote:

Originally Posted by Scan Cape Cod (Post 2173340)
I'm running 4.1.2 and the latest version of this mod, which is fantastic. Internet Explorer 8 seems to be having some issues with drop-down menus though...confirmed by two different PC's. The drop-down is only showing the first character of the choices.

It works fine in IE9. Is this an issue anyone else is having? I searched this thread but didn't see anything. As far as I can tell this has only come up after I upgraded to 4.1.2 and the latest version of the mod.

Thanks.

I am having the same issue. The dropdown menus in my forms in internet explorer only shows the first two letters in the list. In Firefox everything looks fine. I have also tried it on different computers.

hoochblues 03-30-2011 05:47 PM

Any suggestions on how I might create a field on the form that is a dropdown list of users on the forum?

Or even better, a box in which to enter usernames similar to that in Tournaments & Ladders? Where they are validated against the user base?

wolfey 03-31-2011 10:28 AM

I am trying to post a form that will allow me to collect inventory information

I was trying to use the grid option, that looked like the only one to get mutliple model#'s and qty.

I used the Columns for qty and the rows for the models
1 problem is..it looks like you can only have 10 rows, because the results duplicate from the first 10, if you only answer 10 or less and dont display if you enter more.

would this be the best type of question for collecting this info?
If so I would like to only display the models or columns with answers

ScratchMang 03-31-2011 08:32 PM

Quote:

Originally Posted by ixian (Post 2166731)
I searched the thread - is it possible to create a form that creates a calendar entry instead of a post, and if so how?

The form in question would of course have required fields like date, time, etc.

Thanks! Fantastic addon.

I'm with Ixian,

Fantastic addon Indeed!

I'm no coder by any means, I fumble my way around pre-existing stuff and can edit as per directions when required, and would love to see the ability to take the info submitted on a form and place it into a calendar event.

Any chance of getting it added in as a feature, or possibly a bit more explanation (Or a sample snippit) of just how to get information from a form into a calendar event?

ScratchMang


All times are GMT. The time now is 04:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02667 seconds
  • Memory Usage 1,900KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_php_printable
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete