PDA

View Full Version : New Posting Features - Easy Forms v4.x - Create a form or multiple forms without php or html knowledge


Pages : 1 2 3 4 5 6 [7] 8 9

CharlieDelta
10-08-2011, 12:01 AM
For some reason, my new users who fill out the form are moved to a moderated post. It didn't before.

Recently upgraded from 4.1.3 to 4.1.6. I have a MOD installed (GlowHost - Spam-O-Matic), not sure if that could be my problem.

Basically I use the form for potential recruits for our gaming clan. I want the user to post the form unmoderated. Did something change in the settings or did I miss something?
I use one of the forms for the exact same thing and this happened to me once before.
Check your forum permissions within the forum the results are being posted and ensure that you have "yes" checked for "Follow Forum Moderation Rules" for the usergroup posting the form. This should do the trick. ;)

dustoff99
10-08-2011, 11:50 AM
@CharlieDelta

Nice site btw

I made the modification in the Custom Usergroup, so it was global. Now when a new user post, he will be able to without any post placed in the moderation que. If I found the place to do that just for that forum, it would do that as well is my guess.

I only want a new user to be able to post the form (recruiting post) without going to moderation and any other post to still be moderated. I just want to exempt that form. It was doing that fine until my update to 4.1.6 so I can only guess I am missing a setting either in this MOD or re look at my spam mod.

Also I am new to vB, so the learning curve is steep =]

dustoff99
10-08-2011, 12:20 PM
Just found the culprit, pulled the logs from my GlowHost - Spam-O-Matic Log:

Post put under moderation based on Auto-Moderation Keywords

CharlieDelta
10-08-2011, 06:42 PM
Just found the culprit, pulled the logs from my GlowHost - Spam-O-Matic Log:

Post put under moderation based on Auto-Moderation Keywords
Glad to hear you figured it out. Thanks for the props.:D

Sunka
10-09-2011, 04:38 AM
When put image or video code in Field using vBulletin editor, in output it show nothing


How to redirect user to post in thread after complete form? Form automaticlly create post in thread, how to redirect user after complete form to this post (in thaat moment that post is last one in topic). I try this link, but it say invalid url: http://www.pijanitvor.com/showthread.php?p=$newpost[postid]#post$newpost[postid]


Is it possible to have more than 5 columns in Grid option?

ry215
10-09-2011, 10:41 AM
Great Hack,

I've a question: How can i add images from attachment to form result table.

Thanks in advance.

Crotan
10-09-2011, 09:44 PM
Thanks for the resent updates! Working CKeditor in forms and all!

Hendrik83
10-13-2011, 09:59 AM
Thanks for the update!

Installed again.

jimmycongo
10-14-2011, 04:16 PM
I have a myriad of forms set up on my boards, would installing the newest version wipe out those forms? If so, how can I go about saving them before updating?

chrisngrod
10-14-2011, 04:43 PM
Upgraded and downgraded here and it didn't wipe them. YMMV.

thunderclap82
10-17-2011, 02:28 AM
I have attachments enabled and just upgraded to 4.3. Now suddenly I no longer have the Manage Attachments button showing. Instead its just ().

Any ideas how to fix this?

midnz
10-17-2011, 07:38 AM
I have a myriad of forms set up on my boards, would installing the newest version wipe out those forms? If so, how can I go about saving them before updating?
On your misc.php?do=forms page you should see links to export your forms for safekeeping.

Edit Form Delete Form Copy Form Export Form Form Results Form Results Table Form Results Poll Export Form Results to Excel

bigrover
10-20-2011, 04:48 PM
First, I gotta say this is my favorite mod. The help I received in this forum to do some posting to current forums and such was phenomenal. Thank you.

I am working on an upgrade for our current site which is running vB 4.1.2 PL2 and Easy Forms 4.2.5 and am testing it all out on another server. I've installed vB 4.1.7 and Easy Forms 4.3.0, then imported the forms from my main site.

First issue -- I use the custom form output with the following info on my current site:

{qn_restaurant}: {qo_restaurant}
{qn_date}: {qo_date}
{qn_contact}: {qo_contact}
{qn_phone}: {qo_phone}
{qn_email}: {qo_email}
{qn_url}: {qo_url}
{qn_city}, {qn_state}: {qo_city}, {qo_state}
{qn_location}: {qo_location}
{qn_recommend} {qo_recommend}

{qn_comments}:
{qo_comments}

<vb:if condition="$q[24]!=''">{qo_private}</vb:if>

It works perfectly on my main site, but on the test site with the new versions, some of the questions and answers are not properly referenced if I don't use the question number instead of the reference name. Nothing I can't deal with, but it might bite others who migrate over as well.

Second issue -- The other odd issue is on several occasions during testing the browser (firefox) popped up and warned me about leaving the page when I click either the submit or preview button. It doesn't occur every time, but I haven't pinned this issue down yet.

bigrover
10-20-2011, 05:48 PM
A bit more followup...

I modified the output styling to use the question numbers rather than the reference name and that isn't working correctly either.

{qn_29}: {qo_29}
{qn_31}: {qo_31}
{qn_33}: {qo_33}
{qn_34}: {qo_34}
{qn_35}: {qo_35}
{qn_36}, {qn_37}: {qo_36}, {qo_37}
{qn_38}: {qo_38}
{qn_50} {qo_50}

{qn_52}:
{qo_52}

<vb:if condition="$q[54]!=''">{qo_54}</vb:if>

The ouput places the answer to question 54 where answer 52 should be. It does not display the answer to 54. The output is shown below. The public comments question indicates it is question #52. The answer that was submitted was "just here for the view" but you can see it duplicated the result from answer 54. It looks like there are some pointer issues somewhere. I may uninstall version 4.3.0 and try 4.2.5 on vB 4.1.7 and see what happens.

Form output:
Tops
Restaurant Name: Bottom's Up
Date of Visit: right now!
Phone Number:
Email Address:
Website, or Ad:
City, State: sa, mid
Location:
Would you recommend this Restaurant? yes

Public comments:
Why isn't this fo everyone?

answer 54:
Why isn't this fo everyone?

bigrover
10-20-2011, 07:16 PM
Downgrading to version 4.2.5 did not help, and in some ways made matters worse. When it imported the forms that had been modified by version 4.3.0 the question #'s all changes, as did the form id #. All of the custom formatting based on question #'s were now incorrect.

Also, the form displayed properly when selected from the forms menu, but when called through my hooks, the vBulletin editor fields are really messed up.

I'm removing 4.2.5 and going back to 4.3.0 since it knows about the CKEditor. Then I'm going to build a test form from scratch and see if my problems are coming from the export/import process.

djbaxter
10-20-2011, 08:30 PM
Second issue -- The other odd issue is on several occasions during testing the browser (firefox) popped up and warned me about leaving the page when I click either the submit or preview button. It doesn't occur every time, but I haven't pinned this issue down yet.

This is an issue with vBulletin 4.1.6 and 4.1.7, either "by design" or "a bug" depending on who you talk to. It's annoying but nothing to do with this or any other add-on.

bigrover
10-20-2011, 08:33 PM
It appears my problems are related to the use of more than on vB editor field on a form. My forms have two editor fields. If I import a form created in an older version of Easy Forms, I can access both of them, but only the data from the second one is returned regardless of which method I use to access the answer. If I build a new form from scratch and add two editor field questions, the first one does not work. Specifically, most of the buttons in the editor are greyed out, and the text area will not receive the focus to text can be entered. The second editor field works as expected.

Can we no longer have more than one editor field in a form?

I'm still getting the prompt about leaving the page when I try and submit a form, regardless of whether I use Firefox or IE as the browser.

djbaxter
10-20-2011, 08:45 PM
It appears my problems are related to the use of more than on vB editor field on a form. My forms have two editor fields. If I import a form created in an older version of Easy Forms, I can access both of them, but only the data from the second one is returned regardless of which method I use to access the answer. If I build a new form from scratch and add two editor field questions, the first one does not work. Specifically, most of the buttons in the editor are greyed out, and the text area will not receive the focus to text can be entered. The second editor field works as expected.

Can we no longer have more than one editor field in a form?

I'm still getting the prompt about leaving the page when I try and submit a form, regardless of whether I use Firefox or IE as the browser.

No, unfortunately. What I had to do was convert them to multiline text fields.

bigrover
10-20-2011, 09:22 PM
This is an issue with vBulletin 4.1.6 and 4.1.7, either "by design" or "a bug" depending on who you talk to. It's annoying but nothing to do with this or any other add-on.

Yeah, uh that's a bug and I really don't care what the programmers say. That message is intended to indicate to users that they may be accidentally leaving a site where they have entered data but not processed it. Sad to see that cropping up in this new version.

The deeper I get into an upgrade to 4.1.7, the less I am pleased with it. My production site has been compromised and I am constantly fighting spammers using it. The hosts we have used blame it on vB 4.1.2 PL2 and all want me on the latest version. So nice how they screwed up so much that most of my mods no longer function correctly.

Sorry, just venting. In programming, like medicine, the first rule should be "do no harm".

bigrover
10-20-2011, 09:26 PM
No, unfortunately. What I had to do was convert them to multiline text fields.

I was worried that would be the solution. It is a less than perfect solution at best as I am expecting the form to return two large fields with significant formatted text that is then applied to the thread. I use the two separate editor fields so I can wrap a [HIDE] tag around on of them for enhanced membership content. Not having that is going to be sickening.

Maybe I need to look back at vB 4.2.5 patch level 4000 as a workable solution. Then I wouldn't have the spurious browser warnings and the Easy Forms 4.2.5 would work.

djbaxter
10-20-2011, 11:05 PM
Yeah, uh that's a bug and I really don't care what the programmers say. That message is intended to indicate to users that they may be accidentally leaving a site where they have entered data but not processed it. Sad to see that cropping up in this new version.

I don't disagree. Even if it IS a feature, it clearly needs some fine-tuning because as it is now it's annoying.

djbaxter
10-20-2011, 11:07 PM
I was worried that would be the solution. It is a less than perfect solution at best as I am expecting the form to return two large fields with significant formatted text that is then applied to the thread. I use the two separate editor fields so I can wrap a [HIDE] tag around on of them for enhanced membership content. Not having that is going to be sickening.

Maybe I need to look back at vB 4.2.5 patch level 4000 as a workable solution. Then I wouldn't have the spurious browser warnings and the Easy Forms 4.2.5 would work.

:confused: vB 4.2.5 patch level 4000? We're currently only at 4.1.7 and the previous versions of Easy Forms will not work with any version since the CKEditor was introduced.

bigrover
10-21-2011, 12:51 AM
I meant to type vB 4.1.5, latest patch level whatever that is. Sorry to confuse.

djbaxter
10-21-2011, 01:32 AM
Actually, now I've forgotten. Was the CJK Editor introduced in 4.1.5 or 4.1.6? Either way, you'd have to go back to the old editor to get the former versions of this add-on to work.

bigrover
10-21-2011, 02:16 AM
This is an issue with vBulletin 4.1.6 and 4.1.7, either "by design" or "a bug" depending on who you talk to. It's annoying but nothing to do with this or any other add-on.

I was able to resolve the problem with the "leave page" issue by modifying and uncompressed version of the clientscript/vbulletin_textedit.js file. I found the fix here - https://www.vbulletin.com/forum/showthread.php/384594-Remove-Confirm-that-you-want-to-leave-the-page?p=2201080&viewfull=1#post2201080

bigrover
10-21-2011, 05:23 AM
I have another mod, vS Hide Hack, the installs a button in the editor toolbar. It shows up everywhere except when the editor is included in the Easy Form vB editor question display. Anyone else see this and is there a workaround to support the custom buttons and related features?

aardel
10-21-2011, 07:51 PM
Hello Banana live, well done for the great mod,

One Question, might be very simple for you but i did not find and answer yet looking around,

I would like to have a quick PM to user link in the form submitted, as to have a quick reply in the posted data.

midgetgrimm
10-21-2011, 10:04 PM
Ok so i installed this, how do make a new form. the only admin options are for user permissions, it asks me for upload xml in my forms button here (http://www.gotgr.com/forms.php?do=forms)

deverill2010
10-24-2011, 09:03 PM
Hiya I haven't updated this for a while as it works perfectly for me before the new editor.

Anyhow before I update I was wondering if there was a way to limit a user sending a form.

I.e needs to have 10 posts before they can submit a form.

Is that possible with the latest version?

bananalive
10-29-2011, 12:51 PM
Hiya I haven't updated this for a while as it works perfectly for me before the new editor.

Anyhow before I update I was wondering if there was a way to limit a user sending a form.

I.e needs to have 10 posts before they can submit a form.

Is that possible with the latest version?

Add the following php code to Form Hook: Form Start:
if($vbulletin->userinfo['posts'] < 10)
{
$errormessage = "You need 10 posts to use this form.";
eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
}

bananalive
10-29-2011, 12:51 PM
Ok so i installed this, how do make a new form. the only admin options are for user permissions, it asks me for upload xml in my forms button here (http://www.gotgr.com/forms.php?do=forms)

Click create new form (below import form)

http://www.yoursite.com/forums/forms.php?do=newform

scubasteve3
10-29-2011, 08:26 PM
Hi,
I was wondering, how can I pull the results from the Form Data base? I created a new form which has the option of Saving the form to a database. I can view the database by clicking Form Results Table but I now want to write some sort of script to automatically pull this info to another html or php page (not the forum). Thanks!

deverill2010
10-30-2011, 12:59 PM
Add the following php code to Form Hook: Form Start:
if($vbulletin->userinfo['posts'] < 10)
{
$errormessage = "You need 10 posts to use this form.";
eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
}

Hi banalive, thank you but I now get this error when trying to view the form -

Parse error: syntax error, unexpected T_STRING in /home/midwife/public_html/misc.php(89) : eval()'d code(1109) : eval()'d code on line 1

Any ideas?

bananalive
10-30-2011, 04:39 PM
Hi banalive, thank you but I now get this error when trying to view the form -

Parse error: syntax error, unexpected T_STRING in /home/midwife/public_html/misc.php(89) : eval()'d code(1109) : eval()'d code on line 1

Any ideas?
ok, try this instead

if($vbulletin->userinfo['posts'] < 10)
{
$errormessage = "You need 10 posts to use this form.";
eval(standard_error($errormessage));
}

bananalive
10-30-2011, 04:40 PM
Hi,
I was wondering, how can I pull the results from the Form Data base? I created a new form which has the option of Saving the form to a database. I can view the database by clicking Form Results Table but I now want to write some sort of script to automatically pull this info to another html or php page (not the forum). Thanks!

stored in ". TABLE_PREFIX ."formresults e.g. vb_formresults

query database to $result then

$data = unserialize($result['sdata']);

contain question answers

Valcav
11-01-2011, 09:42 PM
Maybe it's on the late side, but could you tell me what has changed? I don't see it where you tell what has changed... (https://vborg.vbsupport.ru/showpost.php?p=1968862&postcount=2)

deverill2010
11-01-2011, 10:35 PM
Thanks, Bananalive that worked :)

Goatpod
11-02-2011, 09:53 PM
Great Mod, it's saved me a lot of work!

Got a small problem though; when sending the email or displaying the form I'm getting the raw BB code. Anyone any ideas?

Alex@bulletin
11-03-2011, 08:34 PM
Hey Folks,

i'd like to use Easy Forms to add clubs to the Forum database.
It would be great if it is possible to add a question where the users can mark a special position (the meeting place of the club) on a google map.

Does anyone know whether i could do this with the "Custom Question" feature?
If it isn't possible yet i wish it for the next release. i could make a donation too ;)

SY

Alex

bigrover
11-04-2011, 04:09 PM
Bananalive,

Is there any possibility of multiple vB editor questions in a single form at some point in the future? Maybe using an alternate editor, or if vB can make the ckeditor re-entrant? If you can tell me/us what is broken then I/we can add pressure to vB to make an adjustment to support the feature.

My current workaround is to only have one vB editor field, but our old form provided a richer environment to submit attractive, formatted comments to the forums.

Mastar
11-04-2011, 08:03 PM
How can I write a condition to say: if NO is checked, Display "You Must Agree To Be Accepted!"?

bigrover
11-07-2011, 02:59 PM
My system crashed yesterday and after restoring the database and code, I get the following error when trying to view a form:Parse error: syntax error, unexpected '.', expecting T_VARIABLE or '$' in /home/ourhomen/domains/ourhome2.net/public_html/vb/includes/class_core.php(4444) : eval()'d code on line 86
I have tried creating a new form and it has the same issue. I have uninstalled and reinstalled the mod with no change. I have also disabled all the custom hooks I created to point to the forms. I am stumped at this point. The only thing that appears to be not working at this point is easyforms and I can't find a way to recover, or even start over.

I can edit the form as much as I want, I just can't view it without the error at the top of the page, and the header and footer intact. Just the form itself is missing.

UPDATE

I was able to resolve the problem by reverting some corrupted templates for EasyForms. I knew I had not customized anything in there but two of them showed up in red, indicating they were not the default version. Apparently the database restore wasn't perfect, as the templates are stored in the database on my system.

Lazorbeam
11-09-2011, 05:48 PM
Does this mod offer the option to attach a file?

spr
11-10-2011, 04:46 PM
Hey Folks,

i'd like to use Easy Forms to add clubs to the Forum database.
It would be great if it is possible to add a question where the users can mark a special position (the meeting place of the club) on a google map.

Does anyone know whether i could do this with the "Custom Question" feature?
If it isn't possible yet i wish it for the next release. i could make a donation too ;)

SY

Alex

Don't know if this helps you:

1. Create a custom BB code for Google Maps (see https://vborg.vbsupport.ru/showthread.php?t=235625 or https://vborg.vbsupport.ru/showthread.php?t=234318 )

2. In the form add a normal text field labeled "Location" . If you now write the URL / address into this form field with Google Map BBcode around it, it will show the map in the forum

/spr

zushiba
11-10-2011, 07:08 PM
Can I add a field to the formresults table without breaking anything?

Alex@bulletin
11-10-2011, 09:09 PM
thx spr i will try that ;)

sbhogle
11-11-2011, 04:41 PM
Click create new form (below import form)

http://www.yoursite.com/forums/forms.php?do=newform

This link goes to "Page not found."

Is there a new link to use to create a form for Easy Forms?

Crotan
11-11-2011, 05:25 PM
This link goes to "Page not found."

Is there a new link to use to create a form for Easy Forms?

navigate to http://yoursite.com/forums/forms.php?do=forms

at the bottom there should be a button Create new form.

If that page also gets page not found, check to make sure the directory you installed to is correct. is forums forum for you? Double check everything.

Crotan
11-11-2011, 05:28 PM
Anyone want to share their php hook for minimum post count at form start?

TheLastSuperman
11-11-2011, 05:57 PM
Anyone want to share their php hook for minimum post count at form start?

Hey Crotan it's Supes... haven't had much time for BF3 :p

You can paste this code in while editing the form:

$postcount = '300';
if ($vbulletin->userinfo['posts'] < $postcount)
{
standard_error(fetch_error('easyform_issues', $vbulletin->userinfo['username'], $postcount, $vbulletin->userinfo['posts']));
}

Change the postcount value of 300 to your #

Now create a new phrase:

Phrase Type: Error Messages
Product: vBulletin
Varname: easyform_issues
Text:
An error has occurred {1}! You must have {2} posts in order to submit this form, your current post count is only {3}.

Save the phrase, now view the form and if your post count is over you'll see it just fine, if not a error message is now displayed. Set it to a value over your own current post count to properly test ;).

Crotan
11-11-2011, 06:34 PM
A thing of beauty! Thanks Sup.

ascroft
11-12-2011, 06:58 PM
Hi there.

Sorry if this has been asked before but would it be possible to have a feature to (optionally) post to Facebook at the time of the form submission?

Martyh
11-14-2011, 01:00 AM
Hi BananaLive,

Going back several months, There was/maybe still is, a subscription issue . The problem was that when the form submits to a new thread the user would not be subscribed to it even though the default setting for a new user was set to automatically subscribe the new-user to threads.

Since then I've found that it does subscribe them if they make a second reply to that thread, which would be most of the time, in my case anyway. So the problem is not such a big problem.

I am figuring that for some reason part of the system doesn't know that the user started the thread therefore doesn't know that it needs to subscribe them to it. ( wild guess ) .

Anyway, thanks for a great mod and great support of it.

zushiba
11-14-2011, 04:26 PM
Please consider giving us the option to edit dropdown box content in one large field instead of individual fields. As it stands every time I edit the dropdown box it means copying and pasting 70 some odd options in succession over and over again.

I'd simple delete and readd the question to use the large text box but that means editing a lot of code I have written which requires the use of the that specific dropdown's ID.

zushiba
11-16-2011, 05:55 PM
<span style="text-decoration: line-through">Uhm. I updated and when I click on to edit a form result it takes me to smilies??</span>

Fixed, the edit url has changed for whatever reason from misc to forms

Jokermixer
11-22-2011, 09:05 PM
hi bananalive, can you update this plugin for vbulletin version 4.1.8?

goonyer1
11-24-2011, 01:24 AM
Does this work with this version? It appears that i can only create forms by going directly to my browser (thus outside of vbulletin). I do not see anything inside of Vbulletin other than the permissions.

I have been able to add a plugin to call the forms up whenever someone starts a new thread, but it posts with the name of the form as opposed to the user.

I think this mod has tremendous potential, but the learning curve is steep. (... at least for me...) If you have documentation on how this works along with a few examples, I think it would go a long way in making this more user friendly. Thanks a bunch.

Martyh
11-24-2011, 03:52 AM
Works with 4.1.8 for me so far.

Are you already doing this to get there ?

controlpanel > settings > options > easy forms options > right under "Usergroups Allowed to View Form Lists" click the "form list" link > create new form.

goonyer1
11-24-2011, 10:57 AM
Thanks. Not sure how i missed that. But now it links.

tamdlecomcast
11-27-2011, 12:42 PM
Thanks for the plugins, it works very very well, and I love it...

However, my question is:

I would like to create a form for the user to be able to send in their photo for competition. The photo can not be posted to the forum, rather they have 4 fields on the form to attach 4 different photo from their local disk. Once the form submitted, all the information including the 4 photos will be send to me via email.

I can create the form, however, I can not find any field that suitable to setup for the user to be able to attach their photos. Is there a way to do so?

Thanks in advance,
Tam Le

Jokermixer
11-30-2011, 09:19 PM
please, can you update it at 4.1.8 of vBulletin???

helwoe
12-02-2011, 11:25 PM
Bumping this in hopes of getting an answer..



Sorry for the double post.

Thank you very much Bananalive for the multi-select code!
I found if I use more than one custom question with this code, the extra questions show up as double drop downs side by side instead of just one drop down each.

$answer .= '<select name="'.$formbit[id].'[]" multiple="multiple" size="4">';
$answer .= '<option></option>';
$thisanswer = explode(',',$qo[$formbit[id]]);
$members = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "user
WHERE membergroupids LIKE \"%17%\"
ORDER BY username ASC");
while($row = $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if (in_array($row[username], $thisanswer)) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>';

Cadellin
12-06-2011, 09:52 PM
I've started receiving the following message when guests submit the form:
Form failed to submit. The following error(s) occured:
The string you entered for the image verification did not match what was displayed.


The issue is there is no human verification field in the form - so there is nowhere to enter an answer.

When I add a human verification field the issue changes but is related. The verification appears but the form will submit and show that error if I enter the verification correctly - if I don't the normal inline warnings appear preventing submission.

In my ignorance I suspect VB is trying to add it's own verification image but it's not being displayed correctly. Can anyone confirm?

Tested with ReCAPCHTA and Image Verification

Running VB4.1.7 PL2 & VBSEO and mod version 4.3.0 on default VB theme.

Thank you for any assistance.

EDIT: Further digging reveals this was a previous issue I reported in 4.0.2 which was fixed - can anyone tell me what the fix was? Post #143 (https://vborg.vbsupport.ru/showpost.php?p=1979923&postcount=143)

EDIT2: Rolling back progressively found that forms V4.1.9 is the last working version for me. Forms V4.1.9 displays a verification image for guests by default - future versions don't.

Scans007
12-18-2011, 02:06 PM
I tried to read through everything but there is a lot here. I just have a small issue:

1) I created a form
2) I added a new usergroup
3) I went to the form permissions to add the new usergroup
4) The new usergroup does not show up on the current form.

Is there something I can do - or do I have to delete and recreate the form from scratch?

BTW - this mod is awesome and has saved me SO much work. Thx!!

chrisngrod
12-23-2011, 06:31 PM
I still absolutely love this mod, and it's helped me greatly.

My forms get sent to an e-mail address, and I'd like the reply to go to the user who submitted it (their e-mail address).

Earlier bananalive responded about a plugin and hook:

Upgrade to Easy Forms v4.3.0


AdminCP -> Plugins & Products -> Add New Plugin

Create a plugin using hook: easy_forms_action_email

and to use this...
$uheaders .= 'Reply-To: = email@domain' . "\r\n";

I'm actually looking for the code to replace email@domain with the email address of the user who submitted the form if possible. I've tried a few variations and failed unfortunately.

Thanks in advance!

Crotan
12-27-2011, 10:58 PM
I just noticed that threads that are automatically created with a poll from a form, have

Warning: Invalid argument supplied for foreach() [path]/poll.php line 688 at the top of the page when viewing poll results. On 4.1.8


Update, I actually think this is just a bug with my board or possibly 4.1.8 when viewing poll results for a poll I have not yet voted in, as the code does not appear if I view results on a poll I have voted in.

Hahaha Update Update, Known bug in 4.1.8 http://tracker.vbulletin.com/browse/VBIV-13614 Will be fixed in 4.1.10

wally07
12-29-2011, 12:33 AM
I'm on 4.1.9 and when new forms get submitted, whatever the last answer was, it gets copied onto all previous questions.

anyone else experiencing that?

jacobi
01-06-2012, 03:14 PM
This is a fantastic mod. Thank you for contributing it!!

vantastic
01-07-2012, 07:22 AM
This is an excellent mod! Thank you very much.

One future improvement would be to add default values. Other than that, it's great :)

mairving
01-12-2012, 11:18 PM
I have tried installing this mod by following the instructions, but when I try to go to the form page (http://memphisroar.com/forum/forms.php?do=forms), I get a 404/page not found error. What doofus mistake did I make? LOL

bananalive
01-14-2012, 11:17 AM
I have tried installing this mod by following the instructions, but when I try to go to the form page (http://memphisroar.com/forum/forms.php?do=forms), I get a 404/page not found error. What doofus mistake did I make? LOL

Have you uploaded forms.php to forum directory?

bananalive
01-14-2012, 11:18 AM
I still absolutely love this mod, and it's helped me greatly.

My forms get sent to an e-mail address, and I'd like the reply to go to the user who submitted it (their e-mail address).

Earlier bananalive responded about a plugin and hook:



and to use this...
$uheaders .= 'Reply-To: = email@domain' . "\r\n";

I'm actually looking for the code to replace email@domain with the email address of the user who submitted the form if possible. I've tried a few variations and failed unfortunately.

Thanks in advance!

$uheaders .= 'Reply-To: = ' . $vbulletin->userinfo['email'] . "\r\n";

bananalive
01-14-2012, 11:19 AM
Sorry for the double post.

Thank you very much Bananalive for the multi-select code!
I found if I use more than one custom question with this code, the extra questions show up as double drop downs side by side instead of just one drop down each.

$answer .= '<select name="'.$formbit[id].'[]" multiple="multiple" size="4">';
$answer .= '<option></option>';
$thisanswer = explode(',',$qo[$formbit[id]]);
$members = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "user
WHERE membergroupids LIKE \"%17%\"
ORDER BY username ASC");
while($row = $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if (in_array($row[username], $thisanswer)) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>';
Use following code..
(first line changed .= to =)
$answer = '<select name="'.$formbit[id].'[]" multiple="multiple" size="4">';
$answer .= '<option></option>';
$thisanswer = explode(',',$qo[$formbit[id]]);
$members = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "user
WHERE membergroupids LIKE \"%17%\"
ORDER BY username ASC");
while($row = $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if (in_array($row[username], $thisanswer)) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>';

chrisu
01-15-2012, 08:51 AM
Hi all,

tried to find an answer, but no luck.

Can I add a form inline into an article?
Is there a BB Code or something to add into an article so that a form could be filled inside an article?

Reg

/chris

bananalive
01-19-2012, 05:21 PM
Hi all,

tried to find an answer, but no luck.

Can I add a form inline into an article?
Is there a BB Code or something to add into an article so that a form could be filled inside an article?

Reg

/chris

If html is enabled for article...

Embed using <iframe>

http://www.yourforum.com/forums/misc.php?do=form&fid=2&embed=1
Change 2 to the appropriate form id

chrisu
01-20-2012, 04:27 PM
Thanks, it helps. Although the form is not formatted like normal. Can I add the css styling with some tag?

/chris

Welshy2008
01-23-2012, 09:14 AM
Can anyone confirm this great mod as working flawlessly on 4.1.10 please?

vrokar
01-23-2012, 05:46 PM
Can anyone confirm this great mod as working flawlessly on 4.1.10 please?

I cant. Have it all installed and I still cant even access the page to build the form. Which should be noted isnt even listed on this mods description. You currently have to search around page 30 or so with the information pointing to the older version which does list it. however I digress, as an administrator this mod says I dont have permission to use it. Sooo... until I see otherwise. No good.

Valcav
01-23-2012, 06:56 PM
I have problems with editing the form...

(an error/warning is that it's missing "jquery-1.4.4.min.js")

vinkenier
01-24-2012, 06:50 AM
Can I let guest/not registered visitors see and fill in the forms also?
The link to the forms doesn't show up for them on the menu (using vb 4.1.9)

-> fixed by also enabling 'list forms' for every group.

Welshy2008
01-24-2012, 10:23 AM
Can anyone confirm this great mod as working flawlessly on 4.1.10 please?


I can now confirm that it IS working flawlessly in vB4.1.10

Alex@bulletin
01-24-2012, 05:59 PM
Hello there,

i'd like to make a form with a question that requires a (european) time specifikation. e.g. 19:30. (no a.m. and p.m.) as an answer.
(Time of meeting)

Is there a php Code available to do this? Something i can add as Custom Question?.
Of Course i also could do a regular Single-Line field. But I'd like to know whether I got more "professional" options ;)

Thx for all answers =)

SR

vantastic
01-24-2012, 11:20 PM
I recently posted a question here: https://vborg.vbsupport.ru/showthread.php?t=277488

It pertains to this mod in particular. I'm just wondering if there's a way within the mod to parse URL's that contain spaces properly (replace space with %20) if part of the url is built using an answer received on a form...

Shadowser
01-29-2012, 02:53 PM
Does this mod work with 4.1.10? Since it's showing up as 4.0.x I'd believe not, but I want to be sure.

Thanks for replying.

SanSource
01-29-2012, 05:24 PM
Look three post up from yours!!! ^^^

Forbiddenz
01-30-2012, 11:51 AM
Hello, i have it worked well, i can create forms normally. and make it works. but until now, i still have problem in the Form List Page.

it's becoming like this : (attached)

i hope someone could help me on the template code. I'm using Skins by Bluepearl Designs.

1F42
02-02-2012, 02:55 PM
Is there any way to get a new form posted as a new thread to show up in mgc chatbox new posts notification window?

KGodel
02-04-2012, 07:08 PM
Is there any way to export form results from a table in a CSV or something?

Toorak Times
02-05-2012, 11:50 AM
Not Found

The requested URL /forms.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8e-fips-rhel5 mod_mono/2.6.3 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.30 Server at www.tooraktimes.com.au Port 80




It appears I'm not getting any better at this.

I think I did as required, but probs didn't...

hh.org
02-06-2012, 11:23 AM
I am using forms to create classifieds. Idea is to have uniform classifieds posting from all users on my forum. In order to force use of forms, I have prevented posting in the selling forums. Forms work very well and users are only able to leave classifieds via forms.

There is only one problem: if usergroup is not allowed to post threads (Forum Permissions: 'Can post threads yes/no' they are not allowed to attach files (mostly pics). The form attachment upload window gives the usual error message saying "<username>, You don't have permission blaa blaa". This is quite strange behavior since posting a thread is possible, but not attachments.

And I tested this several times, and the only setting that allows using attachments in the form is 'Can post threads: yes' for the particular forum. None of the other setting have effect on the issue. Is this a bug or am I doing something wrong?

Description of the form(s):

Form Action: Post New Thread, Allow Attachments

ndahiya
02-10-2012, 12:56 PM
I am using forms to create classifieds. Idea is to have uniform classifieds posting from all users on my forum. In order to force use of forms, I have prevented posting in the selling forums. Forms work very well and users are only able to leave classifieds via forms.

There is only one problem: if usergroup is not allowed to post threads (Forum Permissions: 'Can post threads yes/no' they are not allowed to attach files (mostly pics). The form attachment upload window gives the usual error message saying "<username>, You don't have permission blaa blaa". This is quite strange behavior since posting a thread is possible, but not attachments.

And I tested this several times, and the only setting that allows using attachments in the form is 'Can post threads: yes' for the particular forum. None of the other setting have effect on the issue. Is this a bug or am I doing something wrong?

Description of the form(s):

Form Action: Post New Thread, Allow Attachments


Thanks for checking this hh.org. i am also looking to use the forms as a means to a classifieds, and this functionality would be critical to me as well.

ndahiya

Toorak Times
02-11-2012, 03:15 AM
Not Found

The requested URL /forms.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8e-fips-rhel5 mod_mono/2.6.3 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.30 Server at www.tooraktimes.com.au Port 80


I get this when I click on the Forms tab on my site www.tooraktimes.com.au, can you tell me what I have done wrong please?

Cheers

Mick

trailertalk
02-12-2012, 11:30 PM
So... Can this run with 4.1.10 and can users successfully upload photos of items for sale if using this form?

Outside of that it looks like what i'm looking for...

hh.org
02-13-2012, 11:10 AM
I am using forms to create classifieds. Idea is to have uniform classifieds posting from all users on my forum. In order to force use of forms, I have prevented posting in the selling forums. Forms work very well and users are only able to leave classifieds via forms.

There is only one problem: if usergroup is not allowed to post threads (Forum Permissions: 'Can post threads yes/no' they are not allowed to attach files (mostly pics). The form attachment upload window gives the usual error message saying "<username>, You don't have permission blaa blaa". This is quite strange behavior since posting a thread is possible, but not attachments.

And I tested this several times, and the only setting that allows using attachments in the form is 'Can post threads: yes' for the particular forum. None of the other setting have effect on the issue. Is this a bug or am I doing something wrong?

Description of the form(s):

Form Action: Post New Thread, Allow Attachments

I guess no one else is using Easy Forms this way? Or has the same problem? Or is reading this thread :)

Not sure if this is meaningful, but I am using vBulletin 4.1.5 PL3

deverill2010
02-18-2012, 08:22 PM
I am using the latest version of this.

What I am wanting to do though is call a specific form within a CMS article. I have tried Iframes but it calls the whole VB page ASWELL as the form, how do I get it to just show the form?

poita
02-19-2012, 01:11 PM
Seems a bit hit and miss.

Some users in usergroups can use it no worries at all, then other get error messages like the below.

Using vBulletin 4.1.10 btw ;)

you do not have permission to access this page. This could be due to one of several reasons:

Xxxxxxx, Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

deverill2010
02-21-2012, 12:42 PM
I am using the latest version of this.

What I am wanting to do though is call a specific form within a CMS article. I have tried Iframes but it calls the whole VB page ASWELL as the form, how do I get it to just show the form?

Anyone? I'm kind of held up until I can get this sorted.

Trevor Matthews
02-22-2012, 10:47 PM
Hi

Installed and working great on 4.1.10

I have read the first 20 pages and searched, I need to know how to automatically include the members email address in the form that is emailed to me.

Any way that can be done?

Trevor Matthews
02-23-2012, 05:27 PM
It was in fact a simple thing to do.
Just use {bbuserinfo.email}

Has anyone got this mod working to allow attachments to be sent when the form is emailed out to me?

setishock
02-26-2012, 01:20 PM
Thank you for porting this over to version 4. I was using the version for my VB3 forum and stopped being able to use it when I jumped versions.
Since I found a gallery program to house all my images I really needed something like this to make a artwork/wiki link setup. But I looked at this like I looked at the VB3 version and had that deer in the headlights look. I did remember you made a demo xml form for me to get started and it's still live in the old thread. I nabbed it and I'm off to save myself hours of having to generate all that by hand. With 120 albums that would be a lot of work. So combined with the embeded link generator module in the gallery and your mod for the forum this is going to be a snap.
THANK YOU!!!

setishock
02-27-2012, 12:55 AM
I'm getting 2 error messages.
Failed to submit form
Please fill out title and message fields
And
Please fill out title and message fields.

If memory serves this error also appeared in my VB3 setup but I can't remember how it was fixed. I'm sure it's something simple cause you don't make no trash. If we can get it going it will save me a lot of time and effort.

I got it sorted out. Just needed to make a new form from scratch. Works fine now.

xili4n
02-27-2012, 07:12 AM
It would be so extremely nice if there was an option to select Who Can View Results ... (hint hint)

twista46
03-03-2012, 10:06 AM
How can I show two questions in a row

https://vborg.vbsupport.ru/external/2012/03/45.png (http://s14.directupload.net/file/d/2818/x79hde2a_png.htm)

zushiba
03-06-2012, 05:36 PM
bananalive, I've suddenly lost the ability to edit 3 of my forms. I tried to edit it via the URL but that just says I don't have access to edit those forms.
The Edit Form option is no longer present on the 3 forms we use the most. Every other form is still editable.

Message

Zushiba, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


I am the head administrator of this forum. How do I not have access to edit these forms? I haven't fiddled with permissions in months and this just happened within the last week or so. I've not updated anything on the forum, addons, themes, nothing.

Not just asking bananalive, if anyone has any idea why I would suddenly lose the ability to edit these forms please let me know. This is sort of a crippling issue.

hpidriver
03-09-2012, 08:50 PM
Did you double check the Easy Form view/edit permission settings in AdminCP?

zushiba
03-09-2012, 09:01 PM
Yes I did I even cleared and reset them. The result is the same I can edit every other form but the 3 I mentioned.

EDIT: I'm also unable to export these forms to make copies :/

EDIT2: I was finally able to track down the issue but I'm still scratching my head as to why this caused this particular problem.

This is the offending option that caused me the problem. It was set to yes
https://vborg.vbsupport.ru/external/2012/03/34.png

I've created every form so I figured, I'd only want people who created their forms to edit their forms IE: Me. Even though all the "Usergroups Allowed to Edit Forms" includes Admins.

Since I created all the forms, I don't understand how that option somehow turned off my ability to edit some forms while leaving other forms alone.

Andyrew
03-13-2012, 08:15 PM
How do I get a form that posts a new thread to go in the moderation queue.

hpidriver
03-14-2012, 03:13 PM
zushiba - that's funky, I've experienced a few issues that seem to be similar in the way that they have no obvious cause.

How do I get a form that posts a new thread to go in the moderation queue.
I would guess you need to turn post moderation on in the forum you've selected the results of the Easy form to post to.

MaxLiao
03-16-2012, 09:07 AM
1. Download and then extract .zip archive
Done.

2. Upload the contents of upload folder to forum root
(Allow Overwrite "YES" for overwrite)
clientscript\easyforms.css -> \clientscript\
clientscript\easyforms.js -> \clientscript\
Done.

3. Import product file (product-easyforms v4.0.xml) in admincp
AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product]
Done.

4. Change usergroups permissions at:
AdminCP -> vBulletin Options -> Easy Form Option
This option does not appear in my AdminCP.

When I go to the AdminCP > Plugins & Products > Plugin Manager I see the following items unchecked and crossed out:
Force Thread Close
Force visible post
WOL Part 1
WOL Part 2
I thought that maybe this was the problem, but marking them active did nothing.

I have verified multiple times that all of the files have been uploaded to the proper locations on the webserver, and the file sizes are the same there as in my extracted d/l file.

I'm assuming that when I can see the Easy Form option in my AdminCP, I can make any necessary configs to make this work. But currently I have nothing.

Thanks in advance for any assistance in resolving this issue.

Andyrew
03-16-2012, 10:19 PM
I would guess you need to turn post moderation on in the forum you've selected the results of the Easy form to post to.

It is turned on, normal threads go into the moderation queue, threads created by the form bypass the moderation.

hpidriver
03-18-2012, 09:15 AM
It is turned on, normal threads go into the moderation queue, threads created by the form bypass the moderation.
I remember someone had an issue where new threads created by the form would bypass a previously imposed post limitation in that forum, so I am going to guess your problem is of related reasons.

edit: see here - https://vborg.vbsupport.ru/showpost.php?p=2110360&postcount=1529

betinfo
03-19-2012, 04:23 PM
Hey there,

I just installed this mod, and it works great.
But now I've got a question.

I would like to show some questions if the first question is answered with 'yes', and when the answer is 'no', than other question must show up instead.

I searched this (large) thread, but could not find the answer. Can somebody help me with a 'how to'?

Br,
Bas

Ps, sorry for my poor English

Cleeq
03-20-2012, 02:17 AM
I have the mod installed and running nearly flawlessly, aside from one issue. Whenever a form is submitted a thread is created and the results are displayed as they should be save from one annoyance. The answers always appear in the color green, no matter what I attempt to change it to. When you preview the form before submitting, the answers show up in the correct color, but once posted they're green. The questions, however, appear in whatever color they're supposed to during preview and after posted.

Any ideas as to what may be causing the issue, and / or how I may go about finding said issue and resolving it would be greatly appreciated.

##edit## I have a small request for the mod, just a small quality of life issue. Is there any way to add the option of closing the poll after x days when creating a poll with a thread from the form submission? This option is available by default when creating a new thread and posting a poll.

ngphuc2k
03-20-2012, 08:45 AM
Very easy for install & use

betinfo
03-20-2012, 10:56 AM
Hey there,

I just installed this mod, and it works great.
But now I've got a question.

I would like to show some questions if the first question is answered with 'yes', and when the answer is 'no', than other question must show up instead.

I searched this (large) thread, but could not find the answer. Can somebody help me with a 'how to'?

Br,
Bas

Ps, sorry for my poor English

I'd forget to mention that the hidden field must show up before submit. So If form option selected show hidden field.

Niak_Judge
03-24-2012, 06:32 PM
Very great mod. Very useful
Thanks !

Edit :
Is there a way to close a poll (generated from a form) after x days ?
Why do I have "Poll: Moderated: " in message's title (generated from a form) ? Is there a way to create a "non moderated" message/poll ?

Thanks :) !


Edit#2 :


##edit## I have a small request for the mod, just a small quality of life issue. Is there any way to add the option of closing the poll after x days when creating a poll with a thread from the form submission? This option is available by default when creating a new thread and posting a poll.
Yeah :D that I want too !


Edit#3: Ok, I found the "problem"... in "form_edit" template :
<div class="blockrow" style="display:none;">
<label for="polltimeout">
[...]
</div>

"Woot!?", I just removed the "display:none;" style, it's just fine now !

Scan Cape Cod
03-29-2012, 03:26 PM
Next to each result on Form Results there is a delete button.

Sorry to be late to the party on this one, but I'm not finding a solution, and I'm not seeing this delete button. I'm trying to remove test data from a new form. Before I tear into MySQL I figured I'd dredge this question up again.

Thanks.

Edit: Uh...DUH? Operator error....not properly configured to delete under Options in Control Panel....carry on.... :D

Scan Cape Cod
03-29-2012, 06:34 PM
On another note I have found one problem that seems to be pertinent to this mod. It's occurring with two different forms that I use to post new threads to two different forums. I am running vBulletin 4.1.1 and I'm wondering if this started after the update to it. The forms work fine, they post to the forums as they should, but the thread does not show as "new" but instead shows as "read". Otherwise, function is fine. Any thoughts? The only thing I can think of that's changed is the update to the forums software. This has occurred with both 4.2.6 and 4.3.0 versions of this mod, incidentally.

Thanks!

MacroPhotoPro
04-03-2012, 01:55 PM
This looks like a great and very complex MOD, but does it only have to do with the Forums/PM/Email system ... or can you create actual webpages with it?

I am trying to create custom image-hosting database, where subscribed users enter in their photograph information (upload photos, etc.) that generate to actual webpages (not PMs/emails/forum posts). Kinda like Flickr or Pbase.

Can this MOD be configured to do something like this, or does it only have to do with forum posts/emails/PMs etc.?

Thanks!

blueperspective
04-03-2012, 03:19 PM
I'm interested in using this as an application/test/quiz for new members.
1. Does it work on 4.1.X ?
2. Does it have timer ? Meaning.. users should answer to all questions in 10 minutes for example.
3. If creating more tests, can they be random for users ? Meaning.. when a user should start/pass the test, from a number of 20 tests the mod should randomly choose 1 for every applicant.

Waiting for answers.
Thanks in advance!

Webrunner
04-07-2012, 06:49 AM
1: yes, i have it running on 4.1.11
2: no
3: no

Webrunner
04-07-2012, 06:53 AM
I have a question myself.

I have created a contactform that sends me an email and posts a topic in a hidden board when someone enters the form.
That is working just fine.

In this form i created an e-mail field that only people who are NOT logged in can see and fill in.
I would like to use this field as the reply-to value in the e-mail that is send to me so i don't have to copy and paste email address when i try to reply the e-mail.
(but only when it was send by a user that was not logged in)
Is this possible?:confused:

peril
04-15-2012, 03:07 AM
I just installed this on 4.1.1 and it doesn't seems to be working for me.

I downloaded zip file.
Extracted contents and ftp'd to correct folders.
imported product.
Set permissions in Admincp.

And I am stuck after this. I don't see a place to create forms. Also clicking on forms list in admincp gives 'no permission' error.


I'm interested in using this as an application/test/quiz for new members.
1. Does it work on 4.1.X ?
2. Does it have timer ? Meaning.. users should answer to all questions in 10 minutes for example.
3. If creating more tests, can they be random for users ? Meaning.. when a user should start/pass the test, from a number of 20 tests the mod should randomly choose 1 for every applicant.

Waiting for answers.
Thanks in advance!

Webrunner
04-15-2012, 05:39 AM
Go to http://yourdomain.com/forumroot/forms.php?do=forms

kardac.stenfot
04-16-2012, 07:47 PM
Hi. I want to create new forum threads in two different subforums on my site for a form result. I guess I need to use hooks. Can anyone help me? I suck at coding :D

chrisbjax
04-17-2012, 02:46 PM
Hello,
I'm trying to reproduce the request to change a members primary group after successfully submitting a form.

I believe originally discussed here (https://vborg.vbsupport.ru/showpost.php?p=1972313&postcount=95)

Essentially I am trying to change a members group from 2 to {something else} ,and update their display_usergroup, however, when I attempt to incorporate the code, I receive the following:
http://usmilitarygamers.com/files/forms_error.png

Here is the code I attempted to use: (I first tried it in its original state, them tried changing line 4 to its current iteration - It was: $userinfo=fetch_userinfo($qo[1]);)
if ($complete)
{
/*replace 45 with appropriate question hash*/
$userinfo=fetch_userinfo($qo_1);
$user=$userinfo;
/*replace 18 with choosen usergroupid you want to add them to*/
$newmembergroupid = '57';
$user['membergroupids']=explode(',',$user['membergroupids']);
foreach($user['membergroupids'] AS $mi => $mii)
{
/*replace 17 with usergroupid you want to remove them from*/
if ($mii==2)
{
unset($user['membergroupids'][$mi]);
}
}
$user['membergroupids'][]=$newmembergroupid;
$display_usergroup = $newmembergroupid;
$user['membergroupids']=implode(',',$user['membergroupids']);
$userdata =& datamanager_init('User', $vbulletin, ERRTYPE_STANDARD);
$userdata->set_existing($userinfo);
$userdata->set('membergroupids', $user['membergroupids']);
$userdata->save();
}

Thank you very much for any help.

SilverBoy
04-20-2012, 11:17 PM
I have some user groups in my forum that all posts of them goes to moderation queue, so how I can make threads created by forms goes to moderation queue if the user behind one of that user groups??? (the are primary groups and some user effected by some groups because of infraction system).

afcbob
04-26-2012, 03:12 PM
Is there away i can get it so i can pick a prefix in the form.

I have the prefix setup for selection there location but i have no way of adding it to the form so they can pick what prefix they want

afcbob
04-28-2012, 08:52 PM
Any chance of some help me get this as i have prefix turned on in the forum but this from does not let them select what one the want to use.

Thanks

ntldr1962
05-01-2012, 06:31 PM
How can i make the next:
I want to open a new thread with your easy form add, but at the same time i wish to make that this new created thread have the same title than one of the fields of the form.
It is possible to make?
Maybe do you have any suggestion?
Thank you in advance,
Best regards,

posh007
05-01-2012, 11:39 PM
I am familiar with this mod.. and have not ran into this before
I have the 404 page not found

http://shoptalkcentral.com/forums/forms.php?do=forms

afcbob
05-02-2012, 10:55 AM
I have did this and can select the prefix when am filling out the form but will not assign the thread with the prefix i have to then go back in and edit the thread and pick the thread prefix and the it does assign it.

Help please

Create Custom Question


Reference Name: prefix
PHP Code: require_once(DIR . '/includes/functions_prefix.php');
$thisanswer = $q[$formbit[id]];
$prefix_options = fetch_prefix_html($form['forumid'], $thisanswer, true);
$answer = '<select name="' . $formbit[id] . '" id="q_' . $formbit[id] . '" class="bginput">';
$answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>';
$answer .= $prefix_options;
$answer .= '</select>';


Add the following to Form Hook: Before Submit:

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

Tri@de
05-03-2012, 05:50 AM
There's a way to create a form, and then the answer can be displayed in postbit like a custom field?

DannyV
05-10-2012, 03:59 PM
In the admin panel, I have the option "All registered users can view/edit/delete their own form results saved to database."set to "Yes".
However when somebody tries to delete one of his own entries, he gets permission denied.

2 other questions:
Can I display the delete button also on the form results table?
Is it possible te remove some of the links on top of the results page. So when somebody is watching the form results, there is no link to the tables,poll page, etc

JabirA
05-11-2012, 09:53 AM
Does anyone know if its possible to Edit the entry's on the Results Table?
Please let me know!

ImaJedi
05-13-2012, 05:05 PM
Awesome mod!

JabirA
05-15-2012, 06:40 AM
-gfh

John Lester
05-15-2012, 11:03 PM
I want to add a question that would display as a table with 2 columns and multiple rows. Any advice on how to do this?

Scan Cape Cod
05-23-2012, 08:27 PM
Hello,

Before I upgrade to 4.2, will this plugin continue to work in that version of vBulletin?

Thanks in advance.

Scan Cape Cod
05-24-2012, 04:16 PM
Hello,

Before I upgrade to 4.2, will this plugin continue to work in that version of vBulletin?

Thanks in advance.

I set up my testvb per license stipulations and installed this hack in it. It seems to work fine.

Kahmy
05-24-2012, 06:15 PM
This version doesn't seem to be able to add link to the navbar or quicklinks in vBulletin 4.2. otherwise it seems to function

kamran_dotnet
05-25-2012, 07:24 AM
This version doesn't seem to be able to add link to the navbar or quicklinks in vBulletin 4.2. otherwise it seems to function

i hear that in Vbulletin 4.2 we can manually add link to navbar without any add-one
if its true then "Easy Forms" work in Vbulletin 4.2 yes?
anyone else test it on 4.2 ?

lafsunlmtd
05-26-2012, 09:37 PM
In 3.8 I was able to use conditionals in certain forums based on the forumid to change the URL of the new thread button. I've tried to rewrite the conditionals for vb 4.2 and just doesn't seem to work, any thoughts?

<vb:if condition="$show['newthreadlink']">
<vb:if condition="$foruminfo['forumid'] == 70"><a href="/forums/forms.php?do=form&fid=1" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a>
<vb: else />
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if></vb:if>

I go to the forum with the forumid of 70 and the new thread button does not go to the form but the regular new post form.

Thoughts?

lafsunlmtd
05-26-2012, 09:39 PM
i hear that in Vbulletin 4.2 we can manually add link to navbar without any add-one
if its true then "Easy Forms" work in Vbulletin 4.2 yes?
anyone else test it on 4.2 ?

I have it in vb 4.2 and use the Navigation Enhancement Manager and was able to post the form navigation as a main tab with sub links and menus for other menus.

dustoff99
05-27-2012, 02:20 PM
I have it in vb 4.2 and use the Navigation Enhancement Manager and was able to post the form navigation as a main tab with sub links and menus for other menus.
Can you explain how you did this?

I see the Navigation Manager in the Settings window. I see the Add Tab icon at the bottom. It will try to add it as a main tab, I would like to add this as a sub ling under Forums.

It would be nice if the settings window had options to where you want this link to be displayed.

dustoff99
05-27-2012, 02:24 PM
Just read my settings:

Auto insert link to form list in navbar? Yes

Auto insert link to Form List in quick links? Yes

That is where I would like my Forms list link to be displayed.

lafsunlmtd
05-27-2012, 04:01 PM
Can you explain how you did this?

I see the Navigation Manager in the Settings window. I see the Add Tab icon at the bottom. It will try to add it as a main tab, I would like to add this as a sub ling under Forums.

It would be nice if the settings window had options to where you want this link to be displayed.

My main nav with sub nav: http://gyazo.com/2eff0a7f3ac59cea45ab193fa1795564

Settings for the main tab: http://gyazo.com/41639cfc27eddde0f3a663ceff8819e0

Tab(s) Scripts is set to "forms" so it recognizes when people are on this tab and the sub menus and links show up.

alhidaya
05-27-2012, 05:29 PM
Hello,

I installed version 4.2.0 and I don't see 'Create a form " on the navbar. I réuploadé but still nothing. Since Vbulletin 4.2.0, 'Create a form " disappeared from the navbar and does not want to reinstall

Could you do an update please?

dustoff99
05-28-2012, 12:38 AM
My main nav with sub nav: http://gyazo.com/2eff0a7f3ac59cea45ab193fa1795564

Settings for the main tab: http://gyazo.com/41639cfc27eddde0f3a663ceff8819e0

Tab(s) Scripts is set to "forms" so it recognizes when people are on this tab and the sub menus and links show up.
Thanks for the screenshots, by your method I have it on the main nav bar, I would like to put it on the Forum / Quick Links if possible.

dustoff99
05-28-2012, 12:14 PM
Ok, figured it out. "Add Tab" meant just that. I went to the "Quick Links" menu and click "Add Link" and viola - I have it where I want it.

Just wanted to post my results...

kvnband
05-31-2012, 08:28 PM
I love this addon and we use it heavily throughout our websites. One thing I can't figure out, though. How can I change the recipient of the email form through hooks? I intend to have a dropdown question with a list of departments, and I want to use the before submit hook to change the recipient email address based on what the user selected. How can I do that?

kvnband
05-31-2012, 08:39 PM
Figured it out by looking at the PHP code. In your before submit hook, just put the following to change the email addresses that it goes to:

$form['email'] = 'email@domain.com;email2@domain2.com';

HolyKiller
06-01-2012, 09:23 AM
Hi,

i would like to edit template "form_edit" but when i try to save it, an error appear:

http://img52.imageshack.us/img52/9027/errorrq.th.png (http://img52.imageshack.us/img52/9027/errorrq.png)

This is happening even if i not perform any changes in the code, so it is not caused by my changes.

Any ideas? I don't have idea how to track that lines. (Did not find anything in adminfunctions_template.php). I'm using vBulletin 4.1.11

Thanks !

pcmwebmaster
06-02-2012, 04:58 PM
hello

in Form Results why i can not see number column from who filled form?i can not see how numbers filled the form?

mmacrypt
06-10-2012, 09:44 PM
Ok, figured it out. "Add Tab" meant just that. I went to the "Quick Links" menu and click "Add Link" and viola - I have it where I want it.

Just wanted to post my results...

I feel kinda stupid for even asking but where is the "quick links" add link option. Im not seeing it. I got rid of my menu mod I had install cause 4.2 seems to make it a thing of the past, maybe I shouldn't of.

dustoff99
06-10-2012, 09:47 PM
Navigation Manager
- Click Forum
- Scroll down to Quick Links (Menu)
- In the drop down menu (to the right), select "Add Link"

mmacrypt
06-10-2012, 09:53 PM
Nice, thank you. I don't think I was going to find that on my own. But that does open up a whooooole of more options.

Thanks again Dust.

dustoff99
06-10-2012, 10:12 PM
Nice, thank you. I don't think I was going to find that on my own. But that does open up a whooooole of more options.

Thanks again Dust.
No Problem :)

Skivey
06-12-2012, 10:02 AM
having problems here, I have managed to do some of the outputs but having trouble with a couple of things.

If i make it output as a thread, how do I make it so the title is what was requested as one of the questions?

also I have posted a yes/no question with the output customised:

<vb:if condition="$q[4]=='yes'">Only members may buy this item<vb:else/>Anyone may buy this item</vb:if>

Is this wrong??

Please help!

Thanks

Matt

Skivey
06-12-2012, 10:15 AM
aha I worked out the itle thing, its just teh <vb:if condition="$q[4]=='yes'">Only members may buy this item<vb:else/>Anyone may buy this item</vb:if> I ned to work out now :)

Dragonsys
06-13-2012, 08:46 PM
How can i add a Date Stamp to the results on a form?

Consciously79
06-14-2012, 11:28 AM
Hi Guys,

at first this is a great an very useful mod.

But I have a question or problem. But before I come to that I explain what I want.
I have created a forum and within that I had provide a FanFic section which my users can
write an public their own stories.
But before they do that, there should be a story-header in the first post of the new created
thread.
Normaly each user which want to public a Story use a prefabricated template to copy this in the

first post of the story.

But this is inflexible because the users can't define and choose different values e.g. title of

the story, category in which the story is sort in, age details and so on.
Therfore this mod allowed me to create a template so each of my users can use that for their own

story. This will be very flexible and useful.

Now I come to my problem or question:

When the user use the story-form for his own story and fill in all fields, is there a posibility

when he click on submit, that the form mod will create a thread in the right section with the

value of the e.g. dropdown category field.

Here a example:
Within the FaFic section, there is e.g. two subforen. The first subforen ist called Crime and

the other one is horror. Each subforen is a category at the same time. That means, if the user

had chosen a category the form mod should take the value of the category and will create a new

thread in the right section.

kether1
06-17-2012, 04:52 PM
Can anyone help with this issue? I have a form that posts a new thread in a section of my forum where I only want threads posted created with this modification. Problem is, the "Post New Thread" button is at the top of the forum section. Is there a way to hide that button for this forum so that members can only reply to the threads posted with the form, but not create new threads in this forum without using the form?

Thanks.

Nano_
06-19-2012, 03:24 AM
Any way to export for json?

pcmwebmaster
06-20-2012, 01:08 PM
hello

how can i lock a form after end of date

i mean i want close form and prevent users to access it

Dragonsys
06-20-2012, 01:54 PM
Can anyone help with this issue? I have a form that posts a new thread in a section of my forum where I only want threads posted created with this modification. Problem is, the "Post New Thread" button is at the top of the forum section. Is there a way to hide that button for this forum so that members can only reply to the threads posted with the form, but not create new threads in this forum without using the form?

Thanks.

Edit the forum permissions to not allow users to post. The button will still display, but they will get access denied when they click on it.

If you want to hide the button, you will need to make a few template edits and add some vb:if statements. All of which are unrelated to this plugin.

wuto
06-21-2012, 03:49 PM
Wondering if you guys can help me out with this.

I've created a "Date" question, and would like to use it as a unique ID to be tracked/searched easily. In "Date Format in Output:" I'm using PHP format of "mdyGis" but only the month,day,year displays. Time does not display correctly at all and only shows 0000. Any ideas?

afmarko99
06-21-2012, 04:51 PM
Wow, this is soooooo much better than the "form hack" by Abe on version 3.8.6. Extremely easy. Thank you very much!!!!!!!!!!!!!!

Captain Tycoon
06-23-2012, 02:44 PM
Is it possible to have a vb if conditional statement based on the form ID? If so, what's the code?

lafsunlmtd
06-26-2012, 12:52 PM
In 3.8 I was able to use conditionals in certain forums based on the forumid to change the URL of the new thread button. I've tried to rewrite the conditionals for vb 4.2 and just doesn't seem to work, any thoughts?

<vb:if condition="$show['newthreadlink']">
<vb:if condition="$foruminfo['forumid'] == 70"><a href="/forums/forms.php?do=form&fid=1" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a>
<vb: else />
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if></vb:if>

I go to the forum with the forumid of 70 and the new thread button does not go to the form but the regular new post form.

Thoughts?

Anyone know who to make the new thread for certain forums automatically redirect to the form? I have no idea why the code above isn't working.

Yihya
06-26-2012, 04:13 PM
Is this not compatible with 4.2 yet?

Crotan
06-26-2012, 09:28 PM
Is this not compatible with 4.2 yet?

working fine here

Dragonsys
06-27-2012, 06:28 PM
How can i add a Date Stamp to the results on a form?

anyone?
I would like this to be auto completed. Maybe even a hidden field

Would adding <?php date("M j, Y") ?> to the value of a field work?

wuto
07-03-2012, 03:30 PM
anyone?
I would like this to be auto completed. Maybe even a hidden field

Would adding <?php date("M j, Y") ?> to the value of a field work?

+1 interested as well.

Crotan
07-03-2012, 09:28 PM
+1 interested as well.

anyone?
I would like this to be auto completed. Maybe even a hidden field

Would adding <?php date("M j, Y") ?> to the value of a field work?

You guys got my attention what are you using this for? The date is already recorded in the Time column when viewing the form results table. This column is already sortable, ascending and descending. Example: 03-13-2012 08:58 PM

In addition if you are having it posted to a thread, the date is recorded just like any other thread. So what would be the benefit of displaying it twice?

Dragonsys
07-06-2012, 12:59 AM
You guys got my attention what are you using this for? The date is already recorded in the Time column when viewing the form results table. This column is already sortable, ascending and descending. Example: 03-13-2012 08:58 PM

In addition if you are having it posted to a thread, the date is recorded just like any other thread. So what would be the benefit of displaying it twice?

I do not what to have to view the Results table, my users want to view the formatted results, with the Date/Time Stamp included.

I have tested what I put above, and it works perfectly fine

imported_polygrinder
07-07-2012, 09:36 PM
Is there a tutorial on how to use this product? Never mind. I figured it out.

TerryMason
07-08-2012, 01:37 AM
Amazing mod - thank you very much. I do have a request though

Can we add an admin only field (checkbox) to each response?

I use a form to take request for free stickers. They submit the form with their address, etc, and I mail out the sticker. I'd like to put a check next to each name where I've mailed something out.

Thanks.

DannyV
07-10-2012, 07:51 AM
Couldn't find an answer yet in this long thread.

Is it possible to have the results posted in a certain thread that is selected by the person filling in the form.
All the threads would be in the same subforum.

Valcav
07-10-2012, 05:48 PM
just to let you know that the "Version Check" isn't working...
(Is it possible because on that page, the productid doesn't match the productid of the product itself?)
( https://vborg.vbsupport.ru/misc.php?do=productcheck&pid=vbeasyforms ):
<version productid="vbeasyforms">4.3.0</version>

Installed product:
Product ID easyforms

ascroft
07-14-2012, 04:01 AM
Hi there. I was looking to be able to place a google map in my posted thread from a form utilising the form header as an address. For example - "154 Eglinton Road, Mornington", and that would insert a small map as part of the post. (In New Zealand, so may need to append "NZ" on the end of the form header info. Example is: http://www.shackchat.co.nz/listings/showthread.php?590-154-Eglinton-Road-Mornington

michal72
07-14-2012, 09:43 AM
Hi there. I was looking to be able to place a google map in my posted thread from a form utilising the form header as an address. For example - "154 Eglinton Road, Mornington", and that would insert a small map as part of the post. (In New Zealand, so may need to append "NZ" on the end of the form header info. Example is: http://www.shackchat.co.nz/listings/showthread.php?590-154-Eglinton-Road-Mornington

for that I'm using map bb code:

<div align="center" style="margin: 5px 5px 5px 5px;">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" style="text-align:center"><iframe width="600" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q={param}&output=embed"></iframe></td>
</tr>
</table>
</div>

ascroft
07-14-2012, 10:58 PM
Hi there - thanks for that.

I have two questions please -

1. Where am I sticking the BB code for this in to the form? (presume its under form output styling?)
2. Re the {param} - where is that getting it from? Should that be replaced with for example {threadtitle} or {qo_85} etc?

Mark

michal72
07-15-2012, 06:50 AM
First you need to install this bb code in admincp: AdminCp->Custom BB Codes->BB Code Manager and set for example:

Title: Map
BB Code Tag Name: map
Replacement: - code from previous post
Example: Paris,France
Description: Insert Google map

then in the form output add something like:
{qo_72},{qo_73},{qo_74}

For me the best results I have when I use:
number and street, city ,country

John Lester
07-22-2012, 08:13 PM
Anyone know how to use this form to create tables?

sgtjones12
07-27-2012, 06:05 PM
Can i use this for 4.2.0? I tried installing it worked but it doesnt show up in Navbar or quick links. I am using (Morbid Dark) Style by Digital VB

Trek
07-27-2012, 06:46 PM
Can i use this for 4.2.0? I tried installing it worked but it doesnt show up in Navbar or quick links. I am using (Morbid Dark) Style by Digital VB

You need to go to your URL /misc.php?do=forms

From there, you can access everything. Just make sure you setup the permissions in the Options in the AdminCP.

And yes, it works on 4.2 without issue.

Craigr
07-28-2012, 12:06 PM
You need to go to your URL /misc.php?do=forms

From there, you can access everything. Just make sure you setup the permissions in the Options in the AdminCP.

And yes, it works on 4.2 without issue.

For me the URL is just forms.php

You can easily add it using vBulletin Navigation Manager.

RoC wonko
07-28-2012, 07:25 PM
hi
as in the title have installed the mod (twice) as per instructions but still do not have quick link or nav bar access, and can not create a form either, some help please to point me in the right direction. Have tried the above fixes but still no joy.
using BtechBlue style with vb 4.2
many thanks:)

Craigr
07-29-2012, 01:33 PM
hi
as in the title have installed the mod (twice) as per instructions but still do not have quick link or nav bar access, and can not create a form either, some help please to point me in the right direction. Have tried the above fixes but still no joy.
using BtechBlue style with vb 4.2
many thanks:)

Go to your forum home page and rather than forum.php what appears when you type in forms.php into your browser?

RoC wonko
07-29-2012, 01:42 PM
thx for getting back to me, just done it again and I am now able to create the form, but still no sign of the nav bar or quick links option, how am I going to be able to make it visible for my members?

Craigr
07-29-2012, 01:53 PM
thx for getting back to me, just done it again and I am now able to create the form, but still no sign of the nav bar or quick links option, how am I going to be able to make it visible for my members?

ADMIN-CP > SETTINGS > NAVIGATION MANAGER > ADD TAB

Product : Easy Forms
Target URL : forms.php
Active : Yes
Display Order : Up to you where you want it to appear. (i have 70 here)

Hit save. :up:

RoC wonko
07-29-2012, 02:21 PM
Many thanks all sorted now, I think vb need cach clearing or something along those lines:D

ascroft
07-30-2012, 07:22 AM
Thanks for that - worked well.

Mark

First you need to install this bb code in admincp: AdminCp->Custom BB Codes->BB Code Manager and set for example:

Title: Map
BB Code Tag Name: map
Replacement: - code from previous post
Example: Paris,France
Description: Insert Google map

then in the form output add something like:
{qo_72},{qo_73},{qo_74}

For me the best results I have when I use:
number and street, city ,country

bigandy
07-30-2012, 02:40 PM
Same here, attachment function is broken.

Create new thread, checked.
Allow attachment, checked.

User groups can make new threads with attachment, without Easy Form.

Any fixed?

Trek
08-01-2012, 03:12 AM
Has anyone ever figured out how (or even IF), you can save a field to a customfield in the user profile?

ruacononline
08-01-2012, 10:50 PM
Thanks for your Good Mod.
How can I export Form Result to Excel with UTF-8 charset?

Chivava
08-02-2012, 09:49 PM
Allright, i just installed Easy Forms, and know that i go to the directory of the forms.php i get this message

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/14/9675814/html/forms.php on line 73

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/14/9675814/html/forms.php on line 73

Anyone knows why this is happening ?

tomlarose
08-03-2012, 02:35 AM
How would I go about inserting the answers of a specific form into my database? (Not the default save to databse function)

Elenna
08-04-2012, 12:07 AM
During a previous installation, I had a form set up to insert info into the database in the user profile field. If you want it inserted elsewhere, you'll need to modify as necessary. I HIGHLY HIGHLY HIGHLY recommend developing this on a test install because, if you don't know what you're doing, you can royally mess up your database.

Note: This may no longer work, try and use at your own risk. ;)


You first need to get the question number where they enter in the info - you get this in the questions list (I believe) or by editing the individual question.

Then you need to find the corresponding user profile field ID. This is seen in the "name" field on the profile field manager (i.e. "field34").

There are two basic parts to this, the first is to make the field "play nice" with the database so it doesn't break any code. Replace the $q[###] with the appropriate question number. Repeat this line for each question you have that you want to insert into the database... change the $info# AND $query# so that each line (variable) is unique.


$userid=$vbulletin->userinfo['userid'];

$info# = addslashes($q[###]);

$query = $db->query_first_slave("UPDATE userfield SET field###='$info1' WHERE userid='$userid' LIMIT 1");

So for example, if I have a question #12 that I want put in user field 30, and a question #14 that I was in user field 33, this is what mine might look like:

$userid=$vbulletin->userinfo['userid'];

$info1 = addslashes($q[12]);
$info2 = addslashes($q[14]);

$query1 = $db->query_first_slave("UPDATE userfield SET field30='$info1' WHERE userid='$userid' LIMIT 1");

$query2 = $db->query_first_slave("UPDATE userfield SET field33='$info1' WHERE userid='$userid' LIMIT 1");

tomlarose
08-04-2012, 04:13 AM
Very helpful.

Thank you.

Trek
08-04-2012, 04:20 AM
Elenna, thank you very much!! That worked out great! I did have to remove the back slashes where you were escaping the single quotes, but after that, all is good.

Thanks again, it's very much appreciated!

imported_polygrinder
08-04-2012, 04:36 PM
I need to put a link on a form to a URL. I am putting it in the "Title" "Description" on the form.
I am using BB Code. But this does not create a link the code just shows up. What am I doing wrong?

Elenna
08-05-2012, 05:50 PM
Elenna, thank you very much!! That worked out great! I did have to remove the back slashes where you were escaping the single quotes, but after that, all is good.

Thanks again, it's very much appreciated!


Aha, thanks! I fixed that in my post. That's what I get for copying from a old database backup. :) Glad to help!!

We used to do this for very complex database things (specifically messing with the Event Attendance tables) without giving members direct access to the queries. We even added in error checking (like "You aren't RSVPd for this event") by sometimes using variables and if statements.

Elenna
08-05-2012, 05:51 PM
I need to put a link on a form to a URL. I am putting it in the "Title" "Description" on the form.
I am using BB Code. But this does not create a link the code just shows up. What am I doing wrong?

I believe you need to use HTML to put links in forms, rather than BB Code (or it's reversed, and you need to used BB Code and not HTML).

What ever way you're trying now, use the other "code" type and all should be well!

thenoob2012
08-06-2012, 08:28 PM
First wanted to say I love the mod. It is helping me out a lot. I am having one problem with it. Whenever I copy a form and then use the copied form, I get the following error message:

Form failed to submit. The following error(s) occured:
Please complete both the subject and message fields.

There is nothing being left blank when I use my form, I am filling out all required information.

Any idea what I am doing wrong? I am using the newest version of VB. Thanks in advance for your help!

Elenna
08-06-2012, 10:02 PM
Hi noob (boy, that sounds bad - sorry!),

When you copy the form, does it copy over the form "Title"? Sounds like you may have some of the settings blank?

thenoob2012
08-07-2012, 02:20 AM
Thanks for your reply Elenna. Your post made me dig a little digger and I was able to figure it out.

After copying the form, at first glance everything was filled out like it was suppose to, including the title. I had it as q_1 (question 1)

The problem was that question 1 was no longer q_1 in the database for this form. It was q_13. Once I change that the title error was no longer a problem.

Another issued I had was when I was editing the copied formand selected all, it was not properly updating the database. I had to select each section individually for it to properly update.

Now that I know what I did wrong everything works great!

thenoob2012
08-07-2012, 02:22 AM
I was wondering is it possible to set an option to where the user can select from a drop down menu which forum he would want the form to be submitted into as a thread?

Chivava
08-08-2012, 09:20 AM
Allright, i just installed Easy Forms, and know that i go to the directory of the forms.php i get this message

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/14/9675814/html/forms.php on line 73

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/14/9675814/html/forms.php on line 73

Anyone knows why this is happening ?

Anyone?

Elenna
08-09-2012, 10:02 PM
To get to your forms, don't visit forms.php directly. Instead go to your_forum/misc.php?do=forms

imported_polygrinder
08-10-2012, 12:50 PM
I believe you need to use HTML to put links in forms, rather than BB Code (or it's reversed, and you need to used BB Code and not HTML).

What ever way you're trying now, use the other "code" type and all should be well!

Elenna,

Thanks. I tried html href. It doesn't work either. Any other suggestions?

Elenna
08-10-2012, 08:21 PM
I just checked, we have a link in our Description section with this format:
link text here (/private.php?do=newpm&u=1)

If you're trying it in the title, maybe it won't work?

And just to confirm, it is displaying the code when people view the form, or it's displaying the code after they submit the form and the results are sent to a PM or new thread?

ascroft
08-11-2012, 01:00 AM
Hi there.

One tweak I wanted to make is pass the forum in the string - {qo_72},{qo_73},{qo_74} but strip a prefix I have on the forum (one of the questions).

For example if {qo_73} actually contained "PD_Wakari", I wanted the insert in to the string to be "Wakari" i.e. drop the first 3 chars. I know how to do that in Excel but not that useful here!

Is there a simple way to do this please?

Thanks.

Mark


First you need to install this bb code in admincp: AdminCp->Custom BB Codes->BB Code Manager and set for example:

Title: Map
BB Code Tag Name: map
Replacement: - code from previous post
Example: Paris,France
Description: Insert Google map

then in the form output add something like:
{qo_72},{qo_73},{qo_74}

For me the best results I have when I use:
number and street, city ,country

wolfey
08-27-2012, 05:56 PM
I am currently using this form for an employee to request a vacation from work
What I would like to do is check the start date against todays date and make sure it is 2 weeks in advance.

Can you point me in the right direction with what code or hook I can use

Thanks!

wolfey
08-28-2012, 06:49 PM
Originally Posted by wolfey

I want to make a look up tool for part#'s using a website

I created a form asking for the part#
the I used the url to redirect user and added to link the {qo_part} after the slash..but it doesnt work
The url doesnt come out right...it says the {qo_part}

Is what I am doing possible?
Added the functionality to attached file.

Import attached product file and then it should work.
Added the functionality to attached file.

Import attached product file and then it should work.

Trying to use this again, not working correctly

I get this:
vBulletin Message

Invalid Redirect URL (http://www.metraonline.com/part/99-2003)
but it is all correct..just wont redirect

using latest version 4.3.0 on VB 4.2.0

svaghari
08-30-2012, 04:29 AM
I want to use this for event registration.
Does anyone know if there is a way to add a payment field?

Thnx

svaghari
08-30-2012, 05:12 AM
I get this error during some instances. How do I fix it?

Parse error: syntax error, unexpected '<' in /home/...../forums/forms.php(664) : eval()'d code on line 1

bananalive
08-30-2012, 04:42 PM
I get this error during some instances. How do I fix it?

Parse error: syntax error, unexpected '<' in /home/...../forums/forms.php(664) : eval()'d code on line 1

Have you put anything in the php form hooks?

bananalive
08-30-2012, 04:45 PM
I want to use this for event registration.
Does anyone know if there is a way to add a payment field?

Thnx

Nope, you would have to create a custom question for this

bananalive
08-30-2012, 04:46 PM
I am currently using this form for an employee to request a vacation from work
What I would like to do is check the start date against todays date and make sure it is 2 weeks in advance.

Can you point me in the right direction with what code or hook I can use

Thanks!

You can do validation with php via the: Form PHP Hooks -> Form Hook: Before Submit:

bananalive
08-30-2012, 04:47 PM
Hi there.

One tweak I wanted to make is pass the forum in the string - {qo_72},{qo_73},{qo_74} but strip a prefix I have on the forum (one of the questions).

For example if {qo_73} actually contained "PD_Wakari", I wanted the insert in to the string to be "Wakari" i.e. drop the first 3 chars. I know how to do that in Excel but not that useful here!

Is there a simple way to do this please?

Thanks.

Mark

You can use form php hooks and php function substr() (http://php.net/manual/en/function.substr.php)

Reference: http://php.net/manual/en/function.substr.php

svaghari
08-30-2012, 05:38 PM
Have you put anything in the php form hooks?

Nothing, I think it comes up when someone forgets to answer a mandatory field.

svaghari
08-30-2012, 07:13 PM
nvm, got it fixed

svaghari
08-30-2012, 07:17 PM
Nope, you would have to create a custom question for this


:confused:I'm not sure how you would do this. Can I pay someone to get a 'payment' question working for me via paypal etc...?

springchiken
09-04-2012, 04:47 AM
bananalive

Had a question for you. Is there anyway to get the max text amount over 5000 i need it to be around 5600-6000. Some of are forms a very large.

Elenna
09-05-2012, 04:49 PM
That is likely a vBulletin setting for the max characters per post. You can change that in the settings (Message Posting options, I believe).

deadlySniper
09-11-2012, 12:32 AM
I must not be looking in the right areas or something. Is there a way to edit the top part of a form when they are looking to fill it out.

http://gameboxtools.com/uploads/imagehost/20120911013222290.png

sniper pak
09-21-2012, 08:49 AM
Friends, i have very strange question...pls help.

1. Admin of forms create form with option save to DB and posting result to forum.
2. User fill out and submit.
3. User wants to change its, and send PM to admin of forms. Example: @I made a mistake with Number of places, I have not 3, i wanna 4".
4. Admin changed result of form.
5. But, in autopost 3 not changed on 4!

Q: How to link edit the result in the administrative part of the result in a forum?

Budget101
09-26-2012, 12:00 PM
I originally asked, "Is there any way to add an "Upload Photo" field?? "

You can allow attachments, when the form creates new thread.


Ok, I tried this, but then I have to go back to all the usergroups and change their permissions to allow attachments and then they can view the attachments box.

Is there a way to add a short "Upload" button that just says, "browse for photo" or something to that effect without having to give sitewide attachment permissions??

I need an "Upload Photo" button that can be used if the form is being sent to email, rather than posted to thread and submission of photo is Required- not optional.

singabaloo
09-27-2012, 11:08 AM
Is there anyway to make one form lead to another ? I am thinking of a basic workflow.

User submits form and becomes a new thread in a subgroup, admin opens it and after some checks can click another button somewhere which will grab the information n that form to populate another form that will do things like add a user to a group, move a thread to a different forum and send a pm to the original user.

I can get everything working (I think) using two seperate forms but I'd love to tie them together so the admin doesn't have to cut and paster from one submitted form to another open form.

Trevor Matthews
09-28-2012, 09:01 PM
I have searched this thread and can't find the answer.

I have a simple form that is emailed to me when submitted.
{username}

{bbuserinfo.email}

{qn_61} {qo_61}
{qn_62} {qo_62}
{qn_63} {qo_63}
{qn_64} {qo_64}
{qn_65} {qo_65}
{qn_66} {qo_66}
{qn_115} {qo_115}
{qn_139} {qo_139}
{qn_140} {qo_140}

I really need to send a copy of the submitted form by email to the person submitting it.

How would I send an email to the forum member who submitted the form?

Many thanks.

Trevor Matthews
09-29-2012, 04:59 PM
I looked again though the posts and found this;

$uheaders .= 'Reply-To: = ' . $vbulletin->userinfo['email'] . "\r\n";

But where in the form do I put this????

Goatpod
10-01-2012, 11:55 AM
Haven't used forms since upgrading to 4.2.0.

Just started using them again and I've found that it's dumped all the permission settings from the AdminCp-->Options-->Settings-->Easy Forms and won't save them when they're reset!

Anyone experienced this and anyone know a fix?

Thanks for any advice or help.

Dave


EDIT: Problem solved: for some reason, would not save settings when accessed with "show all settings" but would save permissions fine when the individual Easy Forms option was chosen from the list.

knikio
10-01-2012, 04:52 PM
There's a Way To Upload Files (Attachment) Directly In To The From ?
(Without Using A Thread)
Maybe By Using A Custom Question ?

Thanks
Knikio

zushiba
10-15-2012, 09:45 PM
Is there any way to allow a user to upload/manage attachments to a previously submitted form, if they are able to edit previously submitted records?

edit: I guess it's a somewhat similar question to the post above me.

andy_mcguire
10-18-2012, 12:51 PM
I am having a problem where I press create a form, press "save" and then on the next screen modify something, hit "save" again and it redirects me to the forum rules. So stumped, anyone got any idea?

madness85
10-19-2012, 07:19 PM
is this possible i want my forum private so permission are set so unregistered users cant see forum .

but i would like to use this as an app to enter if approved i send them a invite ive added the app link to navbar and added permissions but still no access

Z3R0Skull
10-27-2012, 10:43 AM
Hello
Very useful AddOn! Thank you! Only question I have is: Is it possible to add my custom human verification? e.g. Motion Capcha? How would I do this?
Thanks

djbaxter
10-28-2012, 08:45 PM
Note: Many of the bugs mentioned above, e.g., the "navigate away from this page" popup, are cause by using the ckEditor in your form. In particular, note that you can NOT have more that one editor field on a form or the form will not submit.

Workaround: Change any ckeditor items to multline text fields.

bigrover
10-30-2012, 06:30 AM
I have duplicated my live site domain/vb to a test site domain/vbtest and upgrade from vB 4.1.11 to vB 4.2.0pl2. I have also created a new database and restored a backup of the live site to the test database. I adjusted the config settings so the test site is functioning as expected, with one exception. The Forms tab and the Forms Quicklinks menu item are missing. The form processing is working as expected, and I can get to the forms.php page when needed to modify the forms. In my live site I access the forms through redirects based on code examples you provided. That also is working in the test site. The only thing failing is the Forms tab and the Forms Quicklinks menu.

I uninstalled and reinstalled with no change. Any ideas? Is this related to the upgrade?

boss22
11-02-2012, 04:39 PM
Can someone help me to get links to work..mean forms list in quick links and navbar link (settings for that works not in admin cp). Use vb 4.2.0 PL3

regards

bosss

mike weeks
11-05-2012, 02:00 PM
Well I get this message every time somebody tries to submit the form the user gets the following error Illegal variable _files or _env or _get or _post or _cookie or _server or _session or globals passed to script - I also get it as admin if I click on the edit question link however if I right click on the link I can open it in a new tab

Help really needed

Mike

Cadellin
11-07-2012, 10:46 AM
I've recently updated to 4.3.0 and found a couple of bugs which it would be great to get fixed:


[Major] After submission as unregistered user in "verification stage" fields which are marked guest only are removed. This can prevent submission if they are marked compulsory
"Allow attachments" causes non-existent verification image to be checked at submission for unregistered users
Styling is broken on human verification field if label is hidden

Badhabitz
12-04-2012, 09:26 PM
Still an Epic Mod could not live without it.

I have a problem that I have been banging my head on the wall with. I currently have it set up that users are assigned different usergroup based on what options they pick. I would like to take it a step further and based on these same options it PM's a predefined usergroup or users. Here is my try. I believe the field for PM is incorrect possibly even the code.

if ($complete)
{
if (strpos($qo['12'], "Counter-Strike") !== false)
{
$form['userfield_txt'] .= ';user1';


if ($complete)
{
if (strpos($qo['12'], "SWTOR") !== false)
{
$form['userfield_txt'] .= ';user2';



So for every additional option selected it should add more users to the PM. Would like it to be a usergroup since its always changing ,but can live with individual users.

bananalive
12-09-2012, 03:31 PM
Still an Epic Mod could not live without it.

I have a problem that I have been banging my head on the wall with. I currently have it set up that users are assigned different usergroup based on what options they pick. I would like to take it a step further and based on these same options it PM's a predefined usergroup or users. Here is my try. I believe the field for PM is incorrect possibly even the code.

if ($complete)
{
if (strpos($qo['12'], "Counter-Strike") !== false)
{
$form['userfield_txt'] .= ';user1';


if ($complete)
{
if (strpos($qo['12'], "SWTOR") !== false)
{
$form['userfield_txt'] .= ';user2';



So for every additional option selected it should add more users to the PM. Would like it to be a usergroup since its always changing ,but can live with individual users.

You need to close your brackets using }

if ($complete)
{
//blah blah blah
}

Forbiddenz
12-18-2012, 10:00 AM
Form failed to submit. The following error(s) occured: The string you entered for the image verification did not match what was displayed

I am getting this error everytime my member tried to submit a form, even though i have put Human Verification Captcha inside the Form, and they type it correctly.

This problem occurs after i tried to turning on Captcha Required before Posting. because too many spam bots on my forum.

Can someone help me?

jcgriff2
12-24-2012, 12:33 PM
I don't see how Spam bots could be an issue unless perms allow Guests to submit.

Do you have SFS or similar installed?

https://vborg.vbsupport.ru/showthread.php?t=248042

KGodel
01-08-2013, 10:48 PM
Hey bananalive, I was wondering if there is a way to add something in the link to auto-select certain things, so say I have a question about a recruiter or something, and I want a link like:

http://www.blabla.com/forum/forms.php?do=form&fid=1&fielduser=KGodel

So it would automatically place KGodel into that field is there an easy way of doing that?

richardevans123
01-10-2013, 02:40 AM
Heya, I'm trying to get it so that when a user submits a form, they can only see their own results saved on the database, and no one elses. Any way of doing this? Thanks