PDA

View Full Version : Easy Forms - Create a form or multiple forms without php or html knowledge


Pages : 1 [2] 3 4 5 6 7

SnowBot
02 Feb 2009, 03:52
EDIT

Got it working

nascartr
02 Feb 2009, 04:05
I have an idea that I think would be a useful feature.

Allow an email field for the user.

A member can enter their email into an optional field and if they do then they get a duplicate confirmation to the email of the submitted form.

Dax IX
02 Feb 2009, 04:18
I have an idea that I think would be a useful feature.

Allow an email field for the user.

A member can enter their email into an optional field and if they do then they get a duplicate confirmation to the email of the submitted form.

That could open the door to spam, but if it were to be sent to the user's account email, that would be nice...

Ah...yes, if you're using it as a registration form, I guess that wouldn't work too well. :(

nascartr
02 Feb 2009, 04:27
What about have an option to include a checkbox that if the member checks it then the form data is sent as a confirmation to the email address on file for them.

I am using this form system for a fantasy sports game and the results go into a private topic. Some of the members would like confirmation of their votes since they can't view the private topic.

bananalive
02 Feb 2009, 10:41
Thanks for the great modification. I am just starting to use it and have two questions.

Question 1:
How do I get the form results to be saved to the database? When I creating a new form I see a drop down box with the following options:

PM Form to User
Post New Thread
Post in Thread
Email Form


I do not see anything that allows me to "save to database".

I checked the tables after creating a form and using the form and the formresults tables is empty.

Question 2:
Ideally I want a user to fill out a form and submit it. When it is submitted it is posted to a thread and saved to a database. Is this possible?

Thanks!

A1. I missed the option of new form, I'll correct this in next version. In the meanwhile just create the form and then when you edit it the option t save to database will appear.

A2. Yes. Use the following code in Form Hook: Before Submit:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

I discover that the form is submited or not depending of the order of the variable options that I indicate in the "Thread/ PM/ Email Title: " field:

Example: It's ok with "{q_1}: {q_2}" but not submit the form if I wrote "{q_2}: {q_1}"

In other form it's ok with "{q_6} {q_5}" but not with "{q_5} {q_6}"

:confused: :confused: What's wrong?

Thank you bananlive! ;)
I'm not sure why this is happening, but I've found a fix for next release.
whats the point of this mod ?
You can collect data in the form you want from your users.
Im able to access the form via misc.php?do=form&fid=10&threadid=(dynamic) but the script is unable to figure out which thread to post in.

I left "Threadid where Post is Created:*" blank since this would need to be dynamic. Unsure where to proceed from here.
What exactly do you mean by dynamic? Do you mean if misc.php?do=form&fid=10&threadid=12345 it gets posted in thread 12345.
Thanks for this mod!!.

I have a question. In my form I have a field with this custom form output.

{q_1}

When the answer is blank it shows code because this field is not compulsory, like this

[IMG].

If the field is blank I don´t want to show BBcode, how could I correct this??

Form Hook: Before Submit:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

What about have an option to include a checkbox that if the member checks it then the form data is sent as a confirmation to the email address on file for them.

I am using this form system for a fantasy sports game and the results go into a private topic. Some of the members would like confirmation of their votes since they can't view the private topic.
Create yesno option

Form Hook: Before Submit:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Hi, Banana,

At last, got enougth time to study latest changes in your form constructor. Thanks a lot for your work. I have some proposals, may be, youll find those useful for your 3.0 version :) .

1. Processing can be switched from "form parameters" to "form actions". That will spin flexibility to the next level, and will simplify / improve coding & interface for each action.

Each action can have a custom parameter & action can be added to form in the same manner, as questions. The big advantage is, that you can have several action in one time (or just skip unnecessary one). Here is actions examples:

- posting
Create Thread
PM form
Email Form
... (other types of data processing)- customisations
Custom success message (? with JS redirect to URL)
Custom error message if no permissions to use form (? with JS redirect to URL)Of cause, that can be done via hooks, but that method is much more complicated, than just push mouse buttons :) . And you are not limited to add new actions, when required. That's a kind of "advanced hooks conctructor" :)

(*) Don't know what is better: to keep title & template common, or make it individual for each posting action. Probably, second method is better and simplify main form editing page.

2. "Only for guest" questions.

Reason is simple: User should not care, which form to select for feedback. That's extremly significant for advertiser and payed visitors. If he is registered, then additional information is taken from profile. If not - he is asked to fill additional input fields.

Solution is trivial: add flag "only for guests" for all questions.

3. Full template language support in form templates.

AFAIK only macroses are supported now. But it would be useful to support <if> <else> and all internal forum variables in form templates. It seems, there are no serious barriers to do that. vBulletin have a powerful templates parser, that can be used. It's useful with proposal (2), when you can easily fix template output, depending on user permissions.

4. Please, check vulnerabilities issues

- What happens, if user enter macros name in text field? Are such patterns stripped (or converted to safe style) prior to process form?

5. It's better so send Emails in HTML. Вetter look, when use several actions (make post and send email)

(*) If you'll switch to "actions", it's possible to create new one "send email as HTML" :) . If each action has personal template, that's not a problem at all.

6. Don't know, if it's useful, but I'd enlarge default form description font to SIZE=2. And would remove "Form Description" from border.

7. It would be useful to have form active for user, but hidden from public list. No ideas, why you use 2 access settings in product options, but only sigle setting for each form. Parameter "who can view form in list" can solve it.

8. Date question format. Some prefer dd-mm-yy. May be, format type to this question?

9. Does "send email" support multiple addresses?

(*) Useful, but not critical if multiple actions are supported.

Regards,

Vitaly.
1&2. These would require alot of edits, but will probably be available in the future.
3. I've tried and failed to find easy way to allow <if> in form custom output
4. Shouldn't do, I'll check this
5. vbulletin mail system doesn't allow html or bbcode :(
6. You can use bbcode to do that
7. ? I don;t understand what you're saying
8. You can change that by editing form_formbit_date and:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

to


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

9. Should do, haven't actually tested it

Vitaly
02 Feb 2009, 13:06
1&2. These would require alot of edits, but will probably be available in the future.

PM me, if you need some help. I don't want to make a separate product and support it, but can invest some time/money to improve your one.

Another good option is to import-export actions in XML.

7. ? I don;t understand what you're saying

If user have access to form, then form is listed on the main product page. But when this page is used as "contacts", it's better to hide some (liks to those can be shown on another pages).

For example, I have english contact form, rarely used. And I don't wish to show it to russian-speaking visitors, that are 99% at my site.

lazyseller
02 Feb 2009, 14:28
Originally Posted by lazyseller
Im able to access the form via misc.php?do=form&fid=10&threadid=(dynamic) but the script is unable to figure out which thread to post in.

I left "Threadid where Post is Created:*" blank since this would need to be dynamic. Unsure where to proceed from here.
What exactly do you mean by dynamic? Do you mean if misc.php?do=form&fid=10&threadid=12345 it gets posted in thread 12345.

Yes you are exactly correct.

All i would have to do is a simple template edit on the reply button and we would have

reply to thread (forum based)

bananalive
02 Feb 2009, 14:45
Yes you are exactly correct.

All i would have to do is a simple template edit on the reply button and we would have

reply to thread (forum based)

http://www.bananalive.co.cc/misc.php?do=form&fid=2&threadid=92

Uses Form Hook: Form Start:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

lazyseller
02 Feb 2009, 14:53
Thanks for the help.

Im getting "Parse error: syntax error, unexpected $end in /home/log/public_html/beta/misc.php(97) : eval()'d code(983) : eval()'d code on line 5
"

Attempted to fill the form out anyhow and it wasnt able to redirect or link to the right page. (broken link)

bananalive
02 Feb 2009, 15:00
Thanks for the help.

Im getting "Parse error: syntax error, unexpected $end in /home/log/public_html/beta/misc.php(97) : eval()'d code(983) : eval()'d code on line 5
"

Attempted to fill the form out anyhow and it wasnt able to redirect or link to the right page. (broken link)
Double check you have the right php code and then try putting the code in both form hooks



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

nascartr
02 Feb 2009, 15:14
Create yesno option

Form Hook: Before Submit:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




Ok, I entered the code as you posted but it didn't work so I changed the "54" to the actual # of the question. That works, it will email the votes to the users email however the layout is badly messed up. There is no formatting after it submits...everything is on one line.


RaceWeek THUNDER EZ Form

Pole Sitter -----Pole Sitter----- Wreckers -----Wreckers----- Checkers -----Checkers----- Dominator -----Dominator----- Underachiever -----Underachiever----- Wildcard -----Wildcard----- Email Confirmation? Yes


This is before...


RaceWeek THUNDER EZ Form

Pole Sitter 24-Jeff Gordon Wreckers 77-Sam Hornish Checkers 14-Tony Stewart Dominator 88-Dale Earnhardt Jr Underachiever 55-Michael Waltrip Wildcard 20-Joey Logano

bananalive
02 Feb 2009, 15:17
That works, it will email the votes to the users email however the layout is badly messed up. There is no formatting after it submits...everything is on one line.

add \r\n at end of the question bbcode, answer bbcode and section bbcode

nascartr
02 Feb 2009, 15:22
add \r\n at end of the question bbcode, answer bbcode and section bbcode

That works a little better. Still not like before but at least everything's not on one line.

RaceWeek THUNDER EZ Form

Email Confirmation?
Yes
Pole Sitter
-----Pole Sitter-----
Wreckers
-----Wreckers-----
Checkers
-----Checkers-----
Dominator
-----Dominator-----
Underachiever
-----Underachiever-----
Wildcard
-----Wildcard-----

lazyseller
02 Feb 2009, 15:25
Made a donation for you help bananna. Thanks so much.

I was able to get it to work!

nascartr
02 Feb 2009, 15:45
Ok, what if I had the option to PM confirmation to user instead of emailing it. How would I get it to do that and still submit to the threadid?

vBulletin's mail system must not allow formatting, but maybe the PM system would?

Simon Lloyd
02 Feb 2009, 16:03
Ok, what if I had the option to PM confirmation to user instead of emailing it. How would I get it to do that and still submit to the threadid?

vBulletin's mail system must not allow formatting, but maybe the PM system would?It can be custom formatted in the custom output, here's mine:
[COLOR=black]Top Tip[/COLro][/SIze]
Submitted By: {q_14}
[SIez=3]Date: {q_16}
Tip Description

{q_10}
Posted Top Tip
{q_12}all bbcode changed so they dont parse here!

alduren
02 Feb 2009, 16:09
Form Hook: Before Submit:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




Thanks for your support!!!, it works perfect.

Sc00by22
02 Feb 2009, 18:37
Could you add custom user groups into the selection?

bananalive
02 Feb 2009, 18:38
Ok, what if I had the option to PM confirmation to user instead of emailing it. How would I get it to do that and still submit to the threadid?

vBulletin's mail system must not allow formatting, but maybe the PM system would?

The PM system allows BBcode



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Thanks for your support!!!, it works perfect.

I'm not sure if you worked it out but there were meant to be [img] tags in the str_replace but they got removed
Could you add custom user groups into the selection?
Whereabouts? For the questions?

brainfood
02 Feb 2009, 19:42
Thanks bananalive for the quick response on my other questions. I have that working now.

I have another question. When customizing the Custom Form Output:, I noticed that the customized output only applies to newly created thread posts. Is it possible to get the previous posts updated so they incorporated the customized Custom Form Output?

Thanks again!

nascartr
03 Feb 2009, 05:25
Thanks!

brainfood
03 Feb 2009, 08:43
Hi,

Is it possible to organize the answers to the form questions so they are displayed in a table when the form is posted to a thread?

I don't think there is a bbcode table tag. I might use HTML but do not want to turn it on for the whole forum. Plus I tried using HTML and it is displayed in the preview and looks really bad.

Thanks

bananalive
03 Feb 2009, 09:01
Hi,

Is it possible to organize the answers to the form questions so they are displayed in a table when the form is posted to a thread?

I don't think there is a bbcode table tag. I might use HTML but do not want to turn it on for the whole forum. Plus I tried using HTML and it is displayed in the preview and looks really bad.

Thanks
Use BB Code [table] (http://www.vbulletin.org/forum/showthread.php?t=107985)
Is it possible to get the previous posts updated so they incorporated the customized Custom Form Output?
Sorry no, unless you manually edit them.

bananalive
03 Feb 2009, 14:14
v2.8 Beta has just been released (see first post), it includes the following new features:

- Added security to prevent possible use of macroses in form inputs
- Guest only questions
- Modify post top with macroses & bbcode
- Search Form Results saved to database
- Option to not show form on form list (only applicable for those who cannot edit forms)
- Added rel="nofollow" to links on formlist
- Increased performance by consolidating preg_replace functions

Simon Lloyd
03 Feb 2009, 15:44
Bananalive, i noticed you visited my forum and made a slight change to the plugin code on my top tips form....Thanks!, it's beyond the call of free support!

One question what does the && do?, i was going to delete one but ten thought better of it hence me asking.

bananalive
03 Feb 2009, 16:44
One question what does the && do?, i was going to delete one but then thought better of it hence me asking.

When using php conditionals:

if ($a & $b) if $a is true it will exec php code

if ($a && $b) requires both $a and $b to be true to exec php code

Vitaly
03 Feb 2009, 18:03
7. ? I don;t understand what you're saying

Sometime it's useful to have form, accessible by direct link, but hidden from list in main easyforms page.

Current rules doesn't allow to do that.

For example, I have rаrely user for for english feedback, but I don't like to abuse russian-speaking users with it (those are 99% visitors of my site).

I don't know, which implementation is more correct from ideological point of view:

Separate setting for each group "can see this form in global list"
Just a flag "hide from global list".

bananalive
03 Feb 2009, 18:13
Sometime it's useful to have form, accessible by direct link, but hidden from list in main easyforms page.

Current rules doesn't allow to do that.

For example, I have rаrely user for for english feedback, but I don't like to abuse russian-speaking users with it (those are 99% visitors of my site).

I don't know, which implementation is more correct from ideological point of view:

Separate setting for each group "can see this form in global list"
Just a flag "hide from global list".
'Show on Form List ' is a checkbox feature of v2.7+ (default = checked/ true)

Vitaly
03 Feb 2009, 19:24
Thanks. Probably, I've missed that.

Vaupell
03 Feb 2009, 22:55
tx for the update ;)

pursuited
05 Feb 2009, 02:50
Great addon!

I have a question I am not too good on the php part, but what would I put in the form start to prevent users from filling the form out who does not have 200 posts?

Thank you!

bananalive
05 Feb 2009, 10:34
Great addon!

I have a question I am not too good on the php part, but what would I put in the form start to prevent users from filling the form out who does not have 200 posts?

Thank you!

Form Hook: Form Start:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

nelson.cabral
05 Feb 2009, 14:27
Hi !
I installed the plugin, but I cannot access the page misc.php?do=forms
Is there something to do after the installation to enable the product?

Answered : I should have read more carefully the description... Sorry for annoyance

nelson.cabral
05 Feb 2009, 14:38
When choosing the action "post to thread" or "post to new thread", is it possible to set the destination thread and/or the destination forum as a form argument?

bananalive
05 Feb 2009, 14:59
When choosing the action "post to thread" or "post to new thread", is it possible to set the destination thread and/or the destination forum as a form argument?

Yes use the form output complete hook.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


(Replace 1 with appropriate # of the question)

nelson.cabral
05 Feb 2009, 15:11
Wow that was quick! Thank you!
If I want to set the list of all threads in a specific forum as a dropdown question items, is it also possible?

EDIT : more generally is it possible to generate forms choices with php?

bananalive
05 Feb 2009, 15:19
Wow that was quick! Thank you!
If I want to set the list of all threads in a specific forum as a dropdown question items, is it also possible?
Custom Question

php code:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

(Change forumid = '10' to the forumid you want)

EDIT : more generally is it possible to generate forms choices with php?
What do you mean?

nelson.cabral
05 Feb 2009, 15:26
You just answered my second question, I meant generate dropdown items with php (so that i can access database).

Is it possible to link questions? Ie. in a first dropdown list select a forum and in a second one select a thread in that forum?

TheFocusElf
05 Feb 2009, 16:58
Ban, the latest update is fabublous, my LAST question would be VBACMPS integration, survey of the month, for instance. Does it exist? Has anyone had success?

Copying the form elements and using as an HTML code has rendered FAIL for me so far!

Thanks in advance!

ssslippy
05 Feb 2009, 18:35
How do we search?

myke2008
05 Feb 2009, 19:07
Great Mod, thank you!

I wasl struggling with the moderated post thing.

I had the form set to post new thread in a forum.

I thought I had edited all the permissions for the forum to allow new posts from everybody but it still was moderating the new posts until I found this place that also needed to set to yes.

Follow Forum Moderation Rules If no, posts are always placed into moderation queue

Now it works as intended.

I do have one question however, how can I change this url so that it opens the link without opening a new tab or page?

/misc.php?do=form&fid=1

Thanks again,

myke

brainfood
05 Feb 2009, 20:19
Hi,

Is it possible to organize the answers to the form questions so they are displayed in a table when the form is posted to a thread?

I don't think there is a bbcode table tag. I might use HTML but do not want to turn it on for the whole forum. Plus I tried using HTML and it is displayed in the preview and looks really bad.

Thanks

Use BB Code [table] (http://www.vbulletin.org/forum/showthread.php?t=107985)

Sorry no, unless you manually edit them.


Hi, Are there any plans to save each question response to a database as a seperate field so that answers can later be pulled from the database. It will allow the answers to be used for any number of reasons.

Alternatively is it possible to apply the formatting after the answer is stored in the database? Right now the formatting is being saved as part of the response so any changes to the formatting is not retroactive. If the responses to each question are stored in a seperate field in the database then the answers can be formatted as they are pulled form the database and any subsequent changes to formatting will always be applied to the answers as they are pulled from the DB.

Thanks for the great mod!

Kiint
05 Feb 2009, 22:52
Well I've been using Form Hack for a long time now and I've just stumbled upon Easy Forms and to be honest I am amazed at how good this is, it's easy to use, it's easy to install and easy to configure.

Thanks for this :)

I'll be converting my forms over to this when I get some time, but one question for you:
My users sometimes create a checklist of things they have to do/achieve and then edit their list as and when they need to update things, something similar to this:

[ ] step 1
[X] step 2
[ ] step 3
[X] step 4

I've noticed that you can creat multiple checklist forms to create something like this, but is there any way to get it so that it creates its output like above and includes all the options but with a [] or [X] instead of just the selected options once a user submits the form?

Or is there anyway of re-editing a submitted form back into the original form template that created it? (so a user could change previous options they had saved)

Thanks again, and I will be nominating this for motm, nice work.

bananalive
06 Feb 2009, 09:39
Well I've been using Form Hack for a long time now and I've just stumbled upon Easy Forms and to be honest I am amazed at how good this is, it's easy to use, it's easy to install and easy to configure.

Thanks for this :)

I'll be converting my forms over to this when I get some time, but one question for you:
My users sometimes create a checklist of things they have to do/achieve and then edit their list as and when they need to update things, something similar to this:

[ ] step 1
[X] step 2
[ ] step 3
[X] step 4

I've noticed that you can creat multiple checklist forms to create something like this, but is there any way to get it so that it creates its output like above and includes all the options but with a [] or [X] instead of just the selected options once a user submits the form?

Or is there anyway of re-editing a submitted form back into the original form template that created it? (so a user could change previous options they had saved)

Thanks again, and I will be nominating this for motm, nice work.
Sorry, I can't think of a way to do this atm
Hi, Are there any plans to save each question response to a database as a seperate field so that answers can later be pulled from the database. It will allow the answers to be used for any number of reasons.

Alternatively is it possible to apply the formatting after the answer is stored in the database? Right now the formatting is being saved as part of the response so any changes to the formatting is not retroactive. If the responses to each question are stored in a seperate field in the database then the answers can be formatted as they are pulled form the database and any subsequent changes to formatting will always be applied to the answers as they are pulled from the DB.

Thanks for the great mod!

I decided against doing this as I thought it was over-complicated. Maybe storing the answers in php variables which could be eval'ed and then put through into the form layout. (It would be more server intensive though)

I do have one question however, how can I change this url so that it opens the link without opening a new tab or page?

/misc.php?do=form&fid=1

Thanks again,

myke
Glad it's working now.

target="_self"

You just answered my second question, I meant generate dropdown items with php (so that i can access database).

Is it possible to link questions? Ie. in a first dropdown list select a forum and in a second one select a thread in that forum?

I don't think so, I think that would require both addition JavaScript/ajax. Although if your experienced with java-script you could try adding your own java-script with $headinclude

How do we search?

See attached screenshot

designerweb
06 Feb 2009, 13:08
It is important to be able to call these via variable in other parts of the site. I thought that this is possible since you are now saving answers to database. Am I wonrg? If I am, Any plans to do this?

Vaupell
06 Feb 2009, 15:20
alright just testet the beta,,
Tx i needed that, it includes all my usergroups, where the other didnt.

Lovely.. :up:

biocyberman
06 Feb 2009, 17:59
This mod looks very promising. I am trying to make use of it. And I have a question: when I save to database, how do I do some kind of statistics from form submission data. After that I want to present the statistics in form of graphs. This mod then will work like a survey kit which make it very practical. Is is possible? If yes, a "hello world" tutorial, including form one time form submission limit, will be really helpful. I am sorry if the question has been asked cause I couldn't find it.

Kiint
06 Feb 2009, 23:14
How would I go about changing the output of the form so that it displays the answer next to the question, instead of underneath it?

Currently it's like this:

This is the question?
......This is the answer.

I would prefer it like this:

This is the Question? This is the answer

Edit: figured it out, just removed the Indent bb codes from the Answer BBcode: section and added \r\n\r\n in the 2nd box.

bananalive
07 Feb 2009, 10:47
This mod looks very promising. I am trying to make use of it. And I have a question: when I save to database, how do I do some kind of statistics from form submission data. After that I want to present the statistics in form of graphs. This mod then will work like a survey kit which make it very practical. Is is possible? If yes, a "hello world" tutorial, including form one time form submission limit, will be really helpful. I am sorry if the question has been asked cause I couldn't find it.
The form results are currently saved into the database like a post all in one field, so this wouldn't be possible.

pursuited
09 Feb 2009, 10:41
First thank you for answering my question! However in your help file you have an error:

Question:
How can I limit form access to users who have at least 10 posts?


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Should be:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Not a big change, but might confuse some people.

Could you also help me in providing an example of a 'Custom Form Output'? I do not know where to even start there. Your help files states:

Custom Form Output: (optional) You can create your own layout to the thread/ pm/ post/ email the form created. BB code and all macroses allowed. Leave blank to use default layout.

What do you mean by macros?

So could you provide a simple example of a custom form output please?

Thank you and for sure I nominated this mod!

Thanks Again!

tehtide
09 Feb 2009, 12:36
Is there a way that we could PM a notification to a different user on our forums when this form has been submitted?

Right now I'm using this as an application on our website. When the form is completed a poll is created in a forum that the submitting user cannot access. However I'd like the ability to shoot a notification pm off to another user in the forum to let them know that a new application has been submitted. Is there any easy way of doing this?

tehtide
09 Feb 2009, 13:47
Is there any way to keep the new thread when posted to not show-up in the users subscribed threads list?

bananalive
09 Feb 2009, 15:15
First thank you for answering my question! However in your help file you have an error:

Question:
How can I limit form access to users who have at least 10 posts?


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Should be:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Not a big change, but might confuse some people.

Could you also help me in providing an example of a 'Custom Form Output'? I do not know where to even start there. Your help files states:


What do you mean by macros?

So could you provide a simple example of a custom form output please?

Thank you and for sure I nominated this mod!

Thanks Again!
OK thanks updated help file.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

bananalive
09 Feb 2009, 15:21
Is there any way to keep the new thread when posted to not show-up in the users subscribed threads list?

Try adding:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



after


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

bananalive
09 Feb 2009, 15:24
Is there a way that we could PM a notification to a different user on our forums when this form has been submitted?

Right now I'm using this as an application on our website. When the form is completed a poll is created in a forum that the submitting user cannot access. However I'd like the ability to shoot a notification pm off to another user in the forum to let them know that a new application has been submitted. Is there any easy way of doing this?
Form hook, before submit


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Welshy2008
09 Feb 2009, 23:54
Installed and "Install" clicked.

Sorry for what may sound a dumb question, But - How do I select the usergroups that I want to see and use the forms that I make Please?

I , as Admin - am the only one that is allowed to make the form / put the forum together.

It appears that the E-mail form is not being E-mailed to me either. :(

Thanks in advance for your help.

Battle_Ring
10 Feb 2009, 02:42
Im using this for memebrs to submit Reviews

IS there a way that will lett the memebr filling out the form input a title that it will use for a thread title??

bananalive
10 Feb 2009, 13:41
Im using this for memebrs to submit Reviews

IS there a way that will lett the memebr filling out the form input a title that it will use for a thread title??
Use macrose (replacement variables) in the form {q_X} where X is the # number of the question. So for question 1 being the title use {q_1}

bananalive
10 Feb 2009, 13:44
Installed and "Install" clicked.

Sorry for what may sound a dumb question, But - How do I select the usergroups that I want to see and use the forms that I make Please?

I , as Admin - am the only one that is allowed to make the form / put the forum together.

It appears that the E-mail form is not being E-mailed to me either. :(

Thanks in advance for your help.
To set usergroup permissions for all form:
vbulletin options -> Easy Forms Options -> Select Usergroups
(hold down ctrl to select more than one usergroup)

To set usergroups permissions for one form
Edit Form -> Usergroup Permissions -> Check the usergoups allowed to view form
Blank = uses vbulletin options settings

Lone Gunman
10 Feb 2009, 15:09
have you released 2.9 yet? i just got this installed and saw there wasnt yet an option to redirect to a custom page after submitting form. was going to ask about that, but looks like youre already working on it.

also is there a way to choose multiple submit options on submit.... email and pm or email and post or post and pm, etc.... (if already answered my appologies and ill find it tonight when i read through the whole thread).

great job btw! thanks!

bananalive
10 Feb 2009, 15:49
have you released 2.9 yet? i just got this installed and saw there wasnt yet an option to redirect to a custom page after submitting form. was going to ask about that, but looks like youre already working on it.

also is there a way to choose multiple submit options on submit.... email and pm or email and post or post and pm, etc.... (if already answered my appologies and ill find it tonight when i read through the whole thread).

great job btw! thanks!

I'm working on v2.9 atm. A beta of it will be released soon. It will include optional redirect to url and allow multiple actions (eg. pm'ing & emailing the form).

RedeemedWarrior
11 Feb 2009, 08:04
This page is not designed to be access directly. whenever i submit a form

though i notice the forms do submit

Welshy2008
11 Feb 2009, 10:18
To set usergroup permissions for all form:
vbulletin options -> Easy Forms Options -> Select Usergroups
(hold down ctrl to select more than one usergroup)

To set usergroups permissions for one form
Edit Form -> Usergroup Permissions -> Check the usergoups allowed to view form
Blank = uses vbulletin options settings


Hi - thanks for your reply,

Although that does work - the problem I get is that I cannot selct individual usergroups.

ie:
Administrators
Banned Users
Moderators
Not loggin
Super Moderators

I click on Administors and that is highlighted, I then click on moderators and the "Banned Users" between the two highlights. I have tried all ways to do it - but the Only way that I could get it to work is Add an "A" before the ones that I want to be able to view the form.

Also, how do I get it as a link please? It shows in the address bar as "http:// mywebsite.com/admin/index.php" or words to that effect, Sorry.

I can not get the security / Anti-spam question to work either.

I type the question, and the answer, but Both the question and answer show on my form. (Is the answer case sensitive? The reason I ask is that I entered the answer twice, once with a capital and agin with a lower case letter at the start of the answer. Maybe this is the reason).

I cannot get the Capatcha image on, by itself - I have to type a security question in for it to show.

Your help on the above matters would be very much appreciated.

RedeemedWarrior
11 Feb 2009, 11:56
ah as for my issue its talkerbot related

as for welshy have you tried ctrl as you select options?

that works for me :)

Welshy2008
11 Feb 2009, 12:40
Hi Redeemed - I followed the Mod's Instructions to the tee and used the "CTRL" Key.

It did work upto the point maentioned in my post above. post number 313 (http://www.vbulletin.org/forum/showpost.php?p=1740638&postcount=313")

With regards to my question on the "Human Verification Question", It still don't work with just the one answer.

When I select the "HVQ" it shows the CaPacha image also. I just want one or the other.

Your help is appreciated and congratualations on a great hack.

bananalive
11 Feb 2009, 13:59
Hi - thanks for your reply,

Although that does work - the problem I get is that I cannot selct individual usergroups.

ie:
Administrators
Banned Users
Moderators
Not loggin
Super Moderators

I click on Administors and that is highlighted, I then click on moderators and the "Banned Users" between the two highlights. I have tried all ways to do it - but the Only way that I could get it to work is Add an "A" before the ones that I want to be able to view the form.

Also, how do I get it as a link please? It shows in the address bar as "http:// mywebsite.com/admin/index.php" or words to that effect, Sorry.

I can not get the security / Anti-spam question to work either.

I type the question, and the answer, but Both the question and answer show on my form. (Is the answer case sensitive? The reason I ask is that I entered the answer twice, once with a capital and agin with a lower case letter at the start of the answer. Maybe this is the reason).

I cannot get the Capatcha image on, by itself - I have to type a security question in for it to show.

Your help on the above matters would be very much appreciated.
If you only want one usergroup selected then don't hold down ctrl. To deselect a usergroup ctrl+click it.

That's due to the frames used in the admin control panel:
admincp/options.php?do=options&dogroup=easyforms

The human verification question is the default vBulletin human verification question.

There was error with human verification question which is causing it to display twice, which will be fixed in next version.

bananalive
11 Feb 2009, 15:01
Attached v3.0 Screenshots - Editing Form

v3.0
- Edit Form Redesigned
- Multiple Form Actions
- Redirect to url after form is submitted (accepts $newpost[postid] for newthread being created and $postid for new post in thread being created)
- Custom Form Output Conditionals: <if condition="$q[4]">$qn[4]: $q[4]<else />Field left blank</if>

nascartr
11 Feb 2009, 15:18
I have an error in beta 3.

At the top of the specific form's page there's this.

Warning: in_array() [function.in-array (http://diecastcrazy.com/community/function.in-array)]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code on line 3552

nascartr
11 Feb 2009, 15:20
Also, when trying to submit the forum I get errors saying the form was not filled out.

The form did not submit as the following questions are unanswered:


Pole Sitter
Wreckers
Checkers
Dominator
Underachiever
Wildcard

nascartr
11 Feb 2009, 15:20
Link to form
http://diecastcrazy.com/community/misc.php?do=form&fid=1

Options selected are post to thread and pm form to user.

bananalive
11 Feb 2009, 15:31
Thanks,

Fixed above errors in v3.0 Beta2 - attached in first post

nascartr
11 Feb 2009, 15:34
Now I have this at the top of the page.

Warning: in_array() [function.in-array (http://diecastcrazy.com/community/function.in-array)]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code on line 3306

Form submits fine now though.

Also, where the option to PM form to user, what value would I use to submit to the user that voted?

nascartr
11 Feb 2009, 15:38
Guests also see this as well as the last argument

Warning: in_array() [function.in-array (http://www.vbulletin.org/forum/function.in-array)]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code on line 3370

bananalive
11 Feb 2009, 15:43
Now I have this at the top of the page.



Form submits fine now though.

Also, where the option to PM form to user, what value would I use to submit to the user that voted?

Try v3.0 beta 3

{username}

Vaupell
11 Feb 2009, 15:46
use your easy forms, for various tasks and registrations
plus usergroup surway ;) love them.

is there a way i can change the ansver layout from



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



to something like this


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



was thinking in terms when posting responses to a thread

nascartr
11 Feb 2009, 15:48
Warning: in_array() [function.in-array (http://www.vbulletin.org/forum/function.in-array)]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code on line 2660

Warning: in_array() [function.in-array (http://www.vbulletin.org/forum/function.in-array)]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code on line 2724

PM to user option worked, thanks!

bananalive
11 Feb 2009, 15:49
use your easy forms, for various tasks and registrations
plus usergroup surway ;) love them.

is there a way i can change the ansver layout from



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



to something like this


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



was thinking in terms when posting responses to a thread
Remove answer bbcode [indent]

bananalive
11 Feb 2009, 16:44
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code on line 2660

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code on line 2724
Fixed in v3.0 Beta 4

nascartr
11 Feb 2009, 16:46
Yep, all errors fixed now! Thanks!

mk craig 42
11 Feb 2009, 16:52
This shows up for me at the top of the forms page

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code on line 1644

Also when i try to submit it form this shows up..

vBulletin Message
Unable to add cookies, header already sent.
File: /home/mkcraig/public_html/forum/includes/class_core.php
Line: 3254

and this at the top of the forum

Warning: Cannot use a scalar value as an array in [path]/includes/functions_newpost.php on line 394

ChrisChristian
11 Feb 2009, 18:14
THANK YOUUUUUUUUU!!!!!!!!

This modification is absolutely FANTASTIC!!!!!

It´s exactly what I was looking for! God bless you! Thank you! :up::up::up::up::up:

shadowedsoul
11 Feb 2009, 18:51
I'm getting a very similar error:

Warning: Cannot use a scalar value as an array in [path]/includes/functions_newpost.php on line 394
vBulletin Message
Unable to add cookies, header already sent.
File: /homepages/38/d268453651/htdocs/forums/includes/class_core.php
Line: 3254

This was on a form that was set to submit to a thread and an email address.

mk craig 42
11 Feb 2009, 19:06
Yup, same error message as me..

Could somebody help us please?

Lone Gunman
11 Feb 2009, 19:46
im getting some blank pages when posting new thread after upgrading. if i disable this then everything works. i think its just a conflict with something else i got.

Vaupell
11 Feb 2009, 20:52
again.. love the mod.

i use this form for all kinds of beuracratic tasks,
on a few gameing forums, great for user feedback and suggestion forms.. LOVELY!!
specially love that feature add to database, so i can extract the data for my
own display.. lovely.

if i had any money this is worth donating to.

Lone Gunman
11 Feb 2009, 21:57
im getting some blank pages when posting new thread after upgrading. if i disable this then everything works. i think its just a conflict with something else i got.

ok got it working....

does the usergroup that submits the form have to have access to the thread/forum in which it posts in or can i have it post in an admin only forum?

P.Cahill
11 Feb 2009, 22:29
ok got it working....

does the usergroup that submits the form have to have access to the thread/forum in which it posts in or can i have it post in an admin only forum?

its easy enough to find out that for yourself.

create a test account, edit the form so that it submits to an admin only area. fill in the form on the test account and see what happens

Lone Gunman
11 Feb 2009, 23:43
its easy enough to find out that for yourself.

create a test account, edit the form so that it submits to an admin only area. fill in the form on the test account and see what happens

it only emailed it and didnt post it. thats why i was asking

n.sinha.p
12 Feb 2009, 00:54
Marked for use!

mk craig 42
12 Feb 2009, 07:32
I downloaded the product-easyforms.xml as the Beta v.30 isn't working..

and it sumbits fine, but the Multi line text don;t work when i submit it

bananalive
12 Feb 2009, 10:09
Warning: Cannot use a scalar value as an array in [path]/includes/functions_newpost.php on line 394

This should be fixed with attached file

Blackheart_72
12 Feb 2009, 10:54
Will look like and idiot but when i submit the form i get this error:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I have set it to post a new thread. :o

metalguy639
12 Feb 2009, 12:53
I've noticed with my hack of this that it automatically marks the thread that I submitted via the form as a subscribed to thread. Is there any way to stop it from doing this?

Vitaly
12 Feb 2009, 14:09
Attached v3.0 Screenshots - Editing Form

1. Consider form hooks as actions. That's more "proper" design structure, and simplify interface.

2. Consider limited access to form editing only for superadmins & admin permissions (look imlementation in my pm log mod). Possibility to grant access to hook code not for admin makes me neurvous :)

Welshy2008
12 Feb 2009, 16:51
bananalive; If you only want one usergroup selected then don't hold down ctrl. To deselect a usergroup ctrl+click it.

Yes Sir, I understand that, unfortunately, It doesn't work for me. If I deselect a usergroup (From several that has been highlighted) the one that I select it highlighted and the others - which I want to remain selected/highlighted - Don't. :(

That's due to the frames used in the admin control panel:
admincp/options.php?do=options&dogroup=easyforms

? Sorry, although I am getting better daily, I am still new to this? I don't understand what you mean.

The human verification question is the default vBulletin human verification question.

I did notice. :)

There was error with human verification question which is causing it to display twice, which will be fixed in next version.

Brilliant. I appreciate that - Thank You. Could you tell me what your latest version is please? Do I need to un-install the one that I have/ Or overwirte it all?

Thank You in advance for such a fantastic Mod and Fantastic Support and Patience.

Welshy2008
12 Feb 2009, 16:53
I see the latest version is V3.0 Beta5. :)

Welshy2008
12 Feb 2009, 17:08
Remove answer bbcode [indent]

I would like to do this too, But I am new - Would be able to explain this for me please? If not - No problem. :D

Welshy2008
12 Feb 2009, 17:26
The problem that I had with the multi selection of Usergroups has now gone by uploading the beta 5 and overwriting my previous version.

I get the following " &lt;/i&gt; " at the end of my question on the "Radio Button" selection?

Any Ideas Please?

Many Thanks.

Welshy2008
12 Feb 2009, 17:32
PS:

I like the new "Guest Only Question: This question is for guests only" option that you have added to this version too. :p

Altered
12 Feb 2009, 17:45
1 small thing i noticed, on my install anyway, when using 'Field using vbulletin editor' under the smiles section where it should display [More] it just displays [].

Anyway to get this to show the more button?


Thanks for the updates, love the mod! :up:

Vaupell
12 Feb 2009, 20:36
hmm gonna update,,,, feel free to test this should work for "unregistrered" but it dosent submit.. some odd bug..
http://www.evisystems.org/forums/misc.php?do=form&fid=9

gonna get new beta and try that.. naa dosent work either, connection lost when submitting.
such a shame,.


Page can not be shown, page using invalid compression, not supported by this browser
both in IE8 and firefoxchrome no errors but no submission either.

plus my moderation que grows, and nothign to moderate..

EDIT 4 : got the beta 5 working.. lol :D

Simon Lloyd
13 Feb 2009, 07:22
Bananalive, i upgraded to beta 5 and now get Warning: Cannot use a scalar value as an array in [path]/includes/functions_newpost.php on line 394
and cannot post a for to a thread, any ideas?

EDIT: I reverted back and have now lost the date fields!

Vaupell
13 Feb 2009, 14:26
and over night WITH no changes, it dosent work anymore again

wth worked yesterday and there WASENT a rechapta box
but now there is..

http://www.evisystems.org/forums/misc.php?do=editform&fid=9

i dont get it.

bananalive
13 Feb 2009, 14:28
I would like to do this too, But I am new - Would be able to explain this for me please? If not - No problem. :D

Edit Form -> Answer BBcode:

Remove indent bbcode/ tags from both boxes.

bananalive
13 Feb 2009, 14:29
The problem that I had with the multi selection of Usergroups has now gone by uploading the beta 5 and overwriting my previous version.

I get the following " &lt;/i&gt; " at the end of my question on the "Radio Button" selection?

Any Ideas Please?

Many Thanks.

Have you used any special characters in the radio button options? Like &%$£*#'@...

bananalive
13 Feb 2009, 14:34
1 small thing i noticed, on my install anyway, when using 'Field using vbulletin editor' under the smiles section where it should display [More] it just displays [].

Anyway to get this to show the more button?


Thanks for the updates, love the mod! :up:

Odd, the [More] link shows for me. What vbulletin version are you using?

Edit: I'll add 'posting' phrase group to $phrasegroups array but it should not be needed as $vbphrase[more] is also included in global phrasegroup.

bananalive
13 Feb 2009, 14:37
and over night WITH no changes, it dosent work anymore again

wth worked yesterday and there WASENT a rechapta box
but now there is..

http://www.evisystems.org/forums/misc.php?do=editform&fid=9

i dont get it.

Posting to a new thread by a guest/ unregistered user requires a human verification question.

bananalive
13 Feb 2009, 14:38
Bananalive, i upgraded to beta 5 and now get and cannot post a for to a thread, any ideas?

EDIT: I reverted back and have now lost the date fields!

The previous version probably didn't include the date fields question.

Veer
13 Feb 2009, 15:10
Bananalive, Its really a fantastic mod, Great Job buddy! :)

Please guide me how can i disable Italic style of description text.
94815

Thanks.

Simon Lloyd
13 Feb 2009, 15:22
I am using your latest Beta 5, but i still get the Warning: Cannot use a scalar value as an array in [path]/includes/functions_newpost.php on line 394message, the post then says i have already posted, taking you to thread but then get the admin message saying i have followed an invalid thread...and of course the post hasn't been made in forum id 52.

EDIT: is it possible to have the username and date entered automatically? right now i have a field for Enter your username and one for Enter todays date.

EDIT 2: you latest Beta 6, works fine except it doesn't show the date from the date boxes, not a problem if you could point me on how to do the above

bananalive
13 Feb 2009, 15:47
Bananalive, Its really a fantastic mod, Great Job buddy! :)

Please guide me how can i disable Italic style of description text.
94815

Thanks.

Open all templates beginning form_formbit_

Find


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Replace with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

bananalive
13 Feb 2009, 15:54
I am using your latest Beta 5, but i still get the message, the post then says i have already posted, taking you to thread but then get the admin message saying i have followed an invalid thread...and of course the post hasn't been made in forum id 52.

EDIT: is it possible to have the username and date entered automatically? right now i have a field for Enter your username and one for Enter todays date.

EDIT 2: you latest Beta 6, works fine except it doesn't show the date from the date boxes, not a problem if you could point me on how to do the above
The fix for beta 5 would be...

Find in plugin: Easy Forms Part 1


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Replace with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Username Field:

Create custom question:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Today's Date Field:

Create custom question:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Simon Lloyd
13 Feb 2009, 15:58
As ever fantastic support!, i am now using Beta 6, are those changes ok with that?

bananalive
13 Feb 2009, 15:58
As ever fantastic support!, i am now using Beta 6, are those changes ok with that?

Beta 6 should work without any changes applied to it.

Simon Lloyd
13 Feb 2009, 16:05
You are right, i made the form changes for custom question and looks good in the preview, however, using beta 6, one of my dropdown fields is showing the number of the selection rather than the words....dropdown 1 just has numbers, choose a number and thats ok, the next question also has a dropdown with words in the list but this is just returning the position of the word rather than the word.

Is it something i have done?

Altered
13 Feb 2009, 16:21
Odd, the [More] link shows for me. What vbulletin version are you using?

Edit: I'll add 'posting' phrase group to $phrasegroups array but it should not be needed as $vbphrase[more] is also included in global phrasegroup.


I'm using Vbulletin 3.8.0

Using default style and EZ form 3.0 Beta 6 - [More] hasn't worked on any versions I've tried yet.

Thanks for great support!!

bananalive
13 Feb 2009, 16:43
You are right, i made the form changes for custom question and looks good in the preview, however, using beta 6, one of my dropdown fields is showing the number of the selection rather than the words....dropdown 1 just has numbers, choose a number and thats ok, the next question also has a dropdown with words in the list but this is just returning the position of the word rather than the word.

Is it something i have done?

Use $qo[18] instead of $q[18]

For dropdown select questions if you want the value shown to the user use $qo rather than $q

bananalive
13 Feb 2009, 16:44
I'm using Vbulletin 3.8.0

Using default style and EZ form 3.0 Beta 6 - [More] hasn't worked on any versions I've tried yet.

Thanks for great support!!Same vbulletin version as me

Are you using any modifications which alter the vb editor or vb smilies?

Simon Lloyd
13 Feb 2009, 16:47
Great!, thanks for the reply, and thanks for the change....i really appreciate it! ;)

Simon Lloyd
13 Feb 2009, 16:49
Same vbulletin version as me

Are you using any modifications which alter the vb editor or vb smilies?I'm using 3.8.1 and get the same no [More] just [], i had this before using sunrise2006 Quick Editor improver and still have it afterwards....smilies aren't important for me, i just mentioned it for your information.

Altered
13 Feb 2009, 16:59
Same vbulletin version as me

Are you using any modifications which alter the vb editor or vb smilies?

I only have 2 modifications installed.

Easy Forms 3.0
vBadvanced CMPS 3.1.0

I don't think VBA changes anything in editor.

CPOWA
13 Feb 2009, 20:27
Just installed and tested on 3.8.1, It works great! Thank you! :)

Anybody wanna fill out my new questionnaire? Heheh, just kidding about filling it out but, It works great!

Regards,
Nita

Kiint
13 Feb 2009, 21:55
I'm using 3.8.1 and get the same no [More] just [], i had this before using sunrise2006 Quick Editor improver and still have it afterwards....smilies aren't important for me, i just mentioned it for your information.

I'm getting the same problem on my forms, [] instead of [more] on the smilies, I'm running 3.8.1vbulletin and 3.6beta of forms, I have extra smilies installed.

On the Edit Form section of the Edit page, when I try to "Increase Size" on the Description: text box it doesn't work. All other text boxes allow me to increase their sizes, I've tried this on 3 different computers running IE7, IE8 and Firefox, it doesn't work on any of them.

Also, when installing from 2.8 to 3.6 my Advanced Navbar Links dissappeared from my navbar template, I had to re-install the product and restore the database links to get them back. Does the installation modify any templates?

Apart from those problems, it's working fine :)

Veer
14 Feb 2009, 21:17
Hi bananalive, there is something missing in "Section" type question, the result of this option is not looks good, check the result screen shot:
94889

ZeepySea
15 Feb 2009, 07:52
I just installed this as I had the other and it screwed up on me.

I got just 2 small questions.

For some reason the {value=x} put in the drop down box shows when form is submitted. I need the value to just know what forum to post it to.

Also I can't get the redirect to work. I don't see an option to specify what page to redirect to. Being posted to a forum, I would of thought it would redirect to that thread by default.

If these where discussed I'm sorry, but 25 pages to look thru. I got to page 11

bananalive
15 Feb 2009, 10:40
Hi bananalive, there is something missing in "Section" type question, the result of this option is not looks good, check the result screen shot:
94889

Edit Form -> Section BBcode:

Use \r\n to add new line

bananalive
15 Feb 2009, 10:49
I just installed this as I had the other and it screwed up on me.

I got just 2 small questions.

For some reason the {value=x} put in the drop down box shows when form is submitted. I need the value to just know what forum to post it to.

Also I can't get the redirect to work. I don't see an option to specify what page to redirect to. Being posted to a forum, I would of thought it would redirect to that thread by default.

If these where discussed I'm sorry, but 25 pages to look thru. I got to page 11

It's easier to use form hooks $qo[x] (x is the question #)


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



----------------------------------------------------

Check 'Redirect user after form is submitted'

URL of webpage user is redirected to:
http://www.yoursite.com/forum/showthread.php?p=$newpost[postid]#post$newpost[postid]

Kiint
15 Feb 2009, 12:56
Is there any way to get the output of a Multi-line text field to appear on the next line?

So instead of my result looking like this:
This is my Question? This is my answer

it would appear like this:

This is my Question?
This is my answer

bananalive
15 Feb 2009, 13:05
Is there any way to get the output of a Multi-line text field to appear on the next line?

So instead of my result looking like this:


it would appear like this:
For all questions:
Add \r\n to end of question bbcode.

If you only want it for one question, then you could use the custom output.

CPOWA
15 Feb 2009, 15:23
Hi bananalive,

I was trying to edit my first form this morning at I got a runtime error. I'm not sure if I did something wrong or I found a bug. Here's what I did:

Brought the form up (using an admin ID):
1. Edited line 4 of my form. T'was a good edit.
2. Edited line 3 of my form. When I clicked Submit I got the following error:

Runtime Error: Line 308
Error: ‘vB_Editor.’ Is null of not an object

I ran debug on the script. The code is below. Line 308 is the last line.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



As I mentioned, I'm not sure if I'm using it right or not but, it seems pretty striaght forward.

Regards,
Nita

bananalive
15 Feb 2009, 15:29
Hi bananalive,

I was trying to edit my first form this morning at I got a runtime error. I'm not sure if I did something wrong or I found a bug. Here's what I did:

Brought the form up (using an admin ID):
1. Edited line 4 of my form. T'was a good edit.
2. Edited line 3 of my form. When I clicked Submit I got the following error:

Runtime Error: Line 308
Error: ‘vB_Editor.’ Is null of not an object

I ran debug on the script. The code is below. Line 308 is the last line.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



As I mentioned, I'm not sure if I'm using it right or not but, it seems pretty striaght forward.

Regards,
Nita

What are you editing? the plugins?

CPOWA
15 Feb 2009, 15:38
What are you editing? the plugins?

No. From FORUMHOME/Quick Links/Forms/form name/Edit Form

Changed Description field and checked the "This is a compulsory question" box. Clicked Submit and got the runtime error. I just did it again to make sure the steps above are correct and I got the same error. I didn't go into debug this time and the changes are reflected in the form now. It's still catching the error though.

I doubt if this will help but, here's a link to the form that my user would see: FORM (http://www.usfcralliance.org/forums/misc.php?do=form&fid=1)

bananalive
15 Feb 2009, 16:57
No. From FORUMHOME/Quick Links/Forms/form name/Edit Form

Changed Description field and checked the "This is a compulsory question" box. Clicked Submit and got the runtime error. I just did it again to make sure the steps above are correct and I got the same error. I didn't go into debug this time and the changes are reflected in the form now. It's still catching the error though.

I doubt if this will help but, here's a link to the form that my user would see: FORM (http://www.usfcralliance.org/forums/misc.php?do=form&fid=1)
Find and delete in template form_editq


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

CPOWA
15 Feb 2009, 17:21
Find and delete in template form_editq


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Deleted per instruction. Works perfect!

Thanks bananalive, this is the best mod I have. I can't vote for MOTM though because I already voted.

Also changed form_editq in my style and it's working fine as well. :)

Regards,
Nita

Heldenverband
16 Feb 2009, 08:08
I missed the clock field :(

We need this to create a date / time for meeting ( example ).

s810car
16 Feb 2009, 08:09
maybe i totally missed it, but I'm trying to incorporate the prefixids to assign to new threads, I can't figure out how to set this when creating the new thread. Is it just something I can add to the process/submit hook, or am I missing something totally?

AWESOME work on this btw, It has allowed me to do some special applications I've been scratching my head about for almost a year:D Nominated for sure!

xlguy
16 Feb 2009, 15:02
How do I pass a hidden variable to the form before it's submitted? Thanks :)

Like if I want to pass the referring URL from where the form link is clicked?

bananalive
16 Feb 2009, 15:11
How do I pass a hidden variable to the form before it's submitted? Thanks :)

Use Form Hook: Before Submit

bananalive
16 Feb 2009, 15:12
maybe i totally missed it, but I'm trying to incorporate the prefixids to assign to new threads, I can't figure out how to set this when creating the new thread. Is it just something I can add to the process/submit hook, or am I missing something totally?

AWESOME work on this btw, It has allowed me to do some special applications I've been scratching my head about for almost a year:D Nominated for sure!
Find in plugin: Easy Forms Part 1


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Add Below:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



You'll need to specify the prefixid in the single quotes

xlguy
16 Feb 2009, 15:16
Use Form Hook: Before Submit

Thanks, I should have been more specific. What I'd like is this:

misc.php?do=form&fid=1&refurl=http://www.something.com/page.php?p=1

How can I pass the refurl value through the form (behind the scenes) and output the other end?

Thanks in advance, this would be ideal :)

bananalive
16 Feb 2009, 15:25
I'm sure you could make it hidden without editing form_view

Here's how to do it without making it hidden.

Form Hook: Form Start


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Custom Question with following php code:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

xlguy
16 Feb 2009, 15:38
Wow, that's perfect : thanks a lot :)

Blackheart_72
16 Feb 2009, 16:30
Will look like and idiot but when i submit the form i get this error:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I have set it to post a new thread. :o

Still an idiot and still cant figure this one out.:(

bananalive
16 Feb 2009, 16:34
Will look like and idiot but when i submit the form i get this error:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I have set it to post a new thread. :oStill an idiot and still cant figure this one out.:(

Odd, what version of Easy Forms are you using?

What vb version?

Are you logged in when you get the error?

xlguy
16 Feb 2009, 16:37
Found something interesting. If you are having the form contents sent to a private forum, if the user submits their form twice, they get a "duplicate warning" and then they are attempted to be redirected to this hidden forum. This gives them the hidden forum ID and can cause confusion. Anyway of skipping the duplicate check or perhaps skipping the redirect?

Blackheart_72
16 Feb 2009, 16:41
Odd, what version of Easy Forms are you using?

What vb version?

Are you logged in when you get the error?

Easyforms 3.0 beta6

vBulletin 3.8.1

I am logged in but i also had the same error with beta5, thought i was missing something but cant find an option to add a user for the post.

TROLL
16 Feb 2009, 17:15
I have a quick question before I begin testing this mod.

I have a forum which is devoted to selling/buying on my site and we currently use formhack. What we need is to require a user to input name/price/location, ect. The problem that we currently have is that the hack we use lets anyone submit a thread.

I want to require users to have 25 posts to post or reply to a thread, but 0 posts to view. Is this currently possible with this mod?

Thanks!

metalguy639
17 Feb 2009, 07:07
Again I still have the problem of although I have it marked not to subscribe to a new thread in my UserCP this hack is only subscribing to the things that I have submitted thorugh it as a thread. Is there a way to stop this from happening please.

bananalive
17 Feb 2009, 08:45
Easyforms 3.0 beta6

vBulletin 3.8.1

I am logged in but i also had the same error with beta5, thought i was missing something but cant find an option to add a user for the post.

There isn't one, it uses the username of the user.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



What PHP version are you using?

bananalive
17 Feb 2009, 08:47
Again I still have the problem of although I have it marked not to subscribe to a new thread in my UserCP this hack is only subscribing to the things that I have submitted thorugh it as a thread. Is there a way to stop this from happening please.

I've fixed this in v3.1, to be released.

bananalive
17 Feb 2009, 08:48
I have a quick question before I begin testing this mod.

I have a forum which is devoted to selling/buying on my site and we currently use formhack. What we need is to require a user to input name/price/location, ect. The problem that we currently have is that the hack we use lets anyone submit a thread.

I want to require users to have 25 posts to post or reply to a thread, but 0 posts to view. Is this currently possible with this mod?

Thanks!

A user can post form without forum permissions - so you could deny everyone posting access

Add to Form Hook: Form Start


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Blackheart_72
17 Feb 2009, 09:24
There isn't one, it uses the username of the user.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



What PHP version are you using?

Apache 2.2.8

PHP 5.2.5

MySQL 5.0.67

Just upgraded to 3.1 and still the same.

metalguy639
17 Feb 2009, 09:35
I've fixed this in v3.1, to be released.

Great thanks!

bananalive
17 Feb 2009, 09:53
Apache 2.2.8

PHP 5.2.5

MySQL 5.0.67

Just upgraded to 3.1 and still the same.

I thought it might be php 4 error but obviously not. You could try replacing:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Blackheart_72
17 Feb 2009, 11:17
changed it in the plugin and still no joy.

bananalive
17 Feb 2009, 11:35
changed it in the plugin and still no joy.This won't solve it but it will help me find the problem.

Find in plugin: Easy Forms Part 1


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Add Before:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Blackheart_72
17 Feb 2009, 12:03
Resulting info

Array ( [parseurl] => 1 [poststarttime] => [posthash] => [title] => Veccy 150 Area Rep Application [userid] => 1 [username] => Veccy 150 [message] => Area RepWhat is your forum username? xxxxxx What is your real name? xxxxxx What is your email? xxxxxxxxxx What area are you interested in? xxxxxxx Can you spare one or two days a month for meets? Yes About you? xxxxxxx [openclose] => 1 [disablesmilies] => 0 [visible] => 1 [stickunstick] => 0 [folderid] => 0 [emailupdate] => 9999 )

mk craig 42
17 Feb 2009, 20:42
could someone help me when i click submit this comes up

http://img21.imageshack.us/img21/1068/help1xm7.png

bananalive
17 Feb 2009, 20:56
could someone help me when i click submit this comes up

http://img21.imageshack.us/img21/1068/help1xm7.png

Try upgrading to version 3.1

SouthpawK
17 Feb 2009, 21:40
Can someone please tell me where to go to set up my form? I swear I am not a stupid person, I have downloaded and installed this just fine. I can see the options in vb options for allowing usergroups, navbar links and such but I am missing where to set up my forms at. Yes, I followed the installation instructions but nothing.

I feel like I am in the twilight zone...what am I missing?

Thanks

Andyrew
17 Feb 2009, 21:50
Can someone please tell me where to go to set up my form? I swear I am not a stupid person, I have downloaded and installed this just fine. I can see the options in vb options for allowing usergroups, navbar links and such but I am missing where to set up my forms at. Yes, I followed the installation instructions but nothing.

I feel like I am in the twilight zone...what am I missing?

Thanks

http://your-forum.com/forums/misc.php?do=forms

It says this at the top of every page in this thread. :p

SouthpawK
17 Feb 2009, 22:21
http://your-forum.com/forums/misc.php?do=forms

It says this at the top of every page in this thread. :p

I understand that and again I have done that. When I go there it says... The requested document was not found on this server.

What could be the cause of this?

Thank you for your response

Andyrew
17 Feb 2009, 22:24
I understand that and again I have done that. When I go there it says... The requested document was not found on this server.

What could be the cause of this?

Thank you for your response

Not sure, you are changing that link to suit your forums. ?

SouthpawK
17 Feb 2009, 22:38
Yes I am. I have also uninstalled and reinstalled and same thing happens.

d0nbiz
17 Feb 2009, 23:53
Looks very good. Reserved ;)

Anung Mwka
18 Feb 2009, 02:11
I have a question, I need a form where people can assign a amount of points. What I'm basically looking for is a way to add up each row (about 25-30 in total). Is this possible?

bananalive
18 Feb 2009, 08:56
I have a question, I need a form where people can assign a amount of points. What I'm basically looking for is a way to add up each row (about 25-30 in total). Is this possible?
Yes, use form hook: before submit



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

bananalive
18 Feb 2009, 08:57
Yes I am. I have also uninstalled and reinstalled and same thing happens.

misc.php is a standard page, included with vBulletin

Kiint
18 Feb 2009, 09:15
Yes I am. I have also uninstalled and reinstalled and same thing happens.

It looks like you have your forums in the root directory of your server, not in a subdirectory, so you need to change the link to:

http://forums.yourwebsite.com/misc.php?do=forms

change "yourwebsite" to your website name.

abdelghani68
18 Feb 2009, 09:38
Thanks for this good add-on. I have a little problem :



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



thanks for your help

bananalive
18 Feb 2009, 10:00
Thanks for this good add-on. I have a little problem :



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



thanks for your help

Have you got any code in the form hooks?

dutchbb
18 Feb 2009, 10:26
Will this form spit out the data like a regular post in the forum, or is every answer listed in the database separately? (hopefully the latter)

bananalive
18 Feb 2009, 10:38
Will this form spit out the data like a regular post in the forum, or is every answer listed in the database separately? (hopefully the latter)
Like a regular post.

dutchbb
18 Feb 2009, 11:02
Ok, it's a very good add on , a lot easier than the other form hack, thank you :)

dutchbb
18 Feb 2009, 11:23
I'm trying to use the 'Custom Form Output', but it's not working correctly, this is my code:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



The drop down does not show the content answer , it shows the drop down order number instead.

In case you are wondering why I'm using $q[1] instead of {q_1} this was actually automatically changed when saving the form.

bananalive
18 Feb 2009, 13:16
I'm trying to use the 'Custom Form Output', but it's not working correctly, this is my code:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



The drop down does not show the content answer , it shows the drop down order number instead.

In case you are wondering why I'm using $q[1] instead of {q_1} this was actually automatically changed when saving the form.
$q[1] is the new format for v3.x

Use $qo[1] for drop down menu

$qn[8] to show question 1 eg. Age
$q[8] $qo[8] to show question 1 answer eg. 45

And make sure you are using the # of the question eg. 8 not 2(see screenshot)

dutchbb
18 Feb 2009, 15:38
Thank you!

Just one question: is there a way to make the img tag work in the drop down menu (create new form page)?

SouthpawK
18 Feb 2009, 16:50
It looks like you have your forums in the root directory of your server, not in a subdirectory, so you need to change the link to:

http://forums.yourwebsite.com/misc.php?do=forms

change "yourwebsite" to your website name.

Thank you Kiint

I didn't even think about that being the problem but should have because I had the same problem with something else I was doing. It is one of those Duh moments.

I did have to change it a bit to http://yourwebsite.com/forum/misc.php?do=forms to make it work but it works! :D The vBulletin guys installed my forums for me and that's where they put it. I am going to make myself a note to check the url when I have a problem like this again.

Anyway, thank you so much for pointing me in the right direction. I really do appreciate it! ;)
Kimberly

Andyrew
18 Feb 2009, 20:21
I'm using {q_1} {q_2} {q_3} For sale, as a thread title but it's only posting as {q_1} For sale. :confused:

SAT2M
18 Feb 2009, 21:11
Hello
I have this error message at top of my form page that I created :

Parse error: syntax error, unexpected T_STRING in /home/sat2mnet/public_html/misc.php(100) : eval()'d code(1442) : eval()'d code on line 1

dgkrob
18 Feb 2009, 22:37
I have been looking through all the posts and i havn't come accross this question yet..

The mod is fantastic and i have had no issues at all however what i would like to do is change the name of the link thats placed in my navigation bar from "Forms" to "Join Us"

Could you tell me where i can find this info to change it?

I've tried adding a direct link in the navigation/breadcrumb templates > Navbar using this code "<td class="vbmenu_control"><a href="/misc.php?do=forms$session[sessionurl_q]">Join Us</a></td>" but that doesn't work it just takes me to a page about the smilies available on my site.

Help please??

Kind Regards

Rob

Andyrew
18 Feb 2009, 23:00
Just edit the phrase as the link is put there for you.

Go to admincp > Search in Phrases

Type in forms then pick the product Easy forms

Then press find, it will be the first one under GLOBAL Phrases Containing 'forms'

Click edit and type Join us in the box. :up:

dgkrob
19 Feb 2009, 00:19
Thanks buddy really appreciate it!

bananalive
19 Feb 2009, 09:12
I'm using {q_1} {q_2} {q_3} For sale, as a thread title but it's only posting as {q_1} For sale. :confused:

Are you using the # values for the macroses? See screenshot

bananalive
19 Feb 2009, 09:13
Thank you!

Just one question: is there a way to make the img tag work in the drop down menu (create new form page)?

I'm sorry I don't understand?

dutchbb
19 Feb 2009, 11:06
I'm sorry I don't understand?
I'm sorry , this screenshot will help explain

I would like to use rating stars in the topic, but they show up in the drop down menu with img tags. Also please let us know how we can donate :)

bananalive
19 Feb 2009, 11:11
I'm sorry , this screenshot will help explain

I would like to use rating stars in the topic, but they show up in the drop down menu with img tags.

Oh I see. It's not possible to have images in html dropdown menus

Kiint
19 Feb 2009, 12:05
I've just installed version 3.1 and the smilie [] problem is fixed now, thanks.

I am still getting some problems with the Increase Size/Decrease size links under multi-line text boxes.

If I edit a form, the first Increase Size link you encounter doesn't work, and if I attempt to edit/create a Multi-line text field I get the same problem, On IE 8 I'm getting the following error:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I've also tried this in IE7 with the same results, neither works.

In Firefox it works ok...

any ideas?

Andyrew
19 Feb 2009, 12:13
Are you using the # values for the macroses? See screenshot

Thanks now i see what was wrong, as i had kept deleting questions and adding others the numbers were different. :o:up:

bananalive
19 Feb 2009, 12:15
I am still getting some problems with the Increase Size/Decrease size links under multi-line text boxes.

If I edit a form, the first Increase Size link you encounter doesn't work, and if I attempt to edit/create a Multi-line text field I get the same problem, On IE 8 I'm getting the following error:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I've also tried this in IE7 with the same results, neither works.

In Firefox it works ok...

any ideas?
Have you modified the template form_formbit_textarea?

SAT2M
19 Feb 2009, 18:26
Hello
I have this error message at top of my form page that I created :

Parse error: syntax error, unexpected T_STRING in /home/sat2mnet/public_html/misc.php(100) : eval()'d code(1442) : eval()'d code on line 1

Hello Again
I think you forget to answer me in last page ... !!!!

Thanks a lot

dgkrob
19 Feb 2009, 22:05
Hi Again,

Quick question around permissions.

I have the mod working 100% and love it however i have an issue that when someone completes the form it posts a new thread in a particular forum that i want, This forum is only available to a select few via usergroups permissions but when the form is submitted it always puts the thread into a moderation que that i then have to go to and authorise before the post is made.

I have tried many different things from completely deleting the set forum and re adding them along with deleting the usergroups and starting again but i have the same issue.

I have been through every usergroup and made sure that the moderation is not on at all but every time someone submits a form it always gets put in the moderation que.

Could you help me get round this or point out my stupid mistake that im making.

Cheers

Rob

Kiint
19 Feb 2009, 22:11
Have you modified the template form_formbit_textarea?

Nope, not modified.

It's strange because the other text boxes on the page increase/decrease fine.

This is the error message I am getting when I attempt to decrease the size:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



As mentioned earlier, works fine in firefox, but not in IE7 or IE8 on 2 different computers....

Andyrew
20 Feb 2009, 05:47
Hi Again,

Quick question around permissions.

I have the mod working 100% and love it however i have an issue that when someone completes the form it posts a new thread in a particular forum that i want, This forum is only available to a select few via usergroups permissions but when the form is submitted it always puts the thread into a moderation que that i then have to go to and authorise before the post is made.

I have tried many different things from completely deleting the set forum and re adding them along with deleting the usergroups and starting again but i have the same issue.

I have been through every usergroup and made sure that the moderation is not on at all but every time someone submits a form it always gets put in the moderation que.

Could you help me get round this or point out my stupid mistake that im making.

Cheers

Rob

Edit:

I have the same problem, hadn't noticed that before. :confused:

bananalive
20 Feb 2009, 09:20
Hello
I have this error message at top of my form page that I created :

Parse error: syntax error, unexpected T_STRING in /home/sat2mnet/public_html/misc.php(100) : eval()'d code(1442) : eval()'d code on line 1

Have you got anything in the form hooks?

bananalive
20 Feb 2009, 09:21
Nope, not modified.

It's strange because the other text boxes on the page increase/decrease fine.

This is the error message I am getting when I attempt to decrease the size:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



As mentioned earlier, works fine in firefox, but not in IE7 or IE8 on 2 different computers....

Could you pm/email me the page source and I'll try and find an error.

bananalive
20 Feb 2009, 09:38
Hi Again,

Quick question around permissions.

I have the mod working 100% and love it however i have an issue that when someone completes the form it posts a new thread in a particular forum that i want, This forum is only available to a select few via usergroups permissions but when the form is submitted it always puts the thread into a moderation que that i then have to go to and authorise before the post is made.

I have tried many different things from completely deleting the set forum and re adding them along with deleting the usergroups and starting again but i have the same issue.

I have been through every usergroup and made sure that the moderation is not on at all but every time someone submits a form it always gets put in the moderation que.

Could you help me get round this or point out my stupid mistake that im making.

Cheers

Rob

Try attached file

Andyrew
20 Feb 2009, 14:58
Works for me. :up:

Reece^B
20 Feb 2009, 17:54
Hey,

Is there a way to make this mod work so when you post a thread, you have to fill in a form?

dgkrob
20 Feb 2009, 18:04
Try attached file

If i upload this will it delete the forms i currently have? or will it keep them?

Cheers

Rob

basilrath
20 Feb 2009, 19:20
Great idea and works great as feedback form with a floating image linked as a target to the form.

Nice one

Andyrew
20 Feb 2009, 21:09
Bug?

Options per row, does not show when creating a radio button or check box question.
You have to create question then go back to edit questions screen and then edit question to get the option for options per row.

Kiint
20 Feb 2009, 21:10
Could you pm/email me the page source and I'll try and find an error.

Thanks, I've sent you an email via this site :)

PimvanJ
21 Feb 2009, 07:11
I have a forum with prefixes.
It seems that this hack can't handle a forum with prefixes or do I miss something?
By the way this is a very good job after all!

Andyrew
21 Feb 2009, 11:45
Custom form output.

How do you make it pull the text that was next to the selected radio button, at the moment i can only get it to display what number radio button was picked eg: 1 2 or 3 :confused:

Simon Lloyd
21 Feb 2009, 11:59
Custom form output.

How do you make it pull the text that was next to the selected radio button, at the moment i can only get it to display what number radio button was picked eg: 1 2 or 3 :confused:
look here (http://www.vbulletin.org/forum/showpost.php?p=1747872&postcount=426)

Andyrew
21 Feb 2009, 12:15
Thanks, missed that.

Chet T16
21 Feb 2009, 13:02
Slightly related...

Does anyine know how i would make the "new thread" link point to a specific form for different sub-forums?

i.e. I want to use the forms as a template for posting new classifieds in the for sale forum but have the new thread link go to a different form if trying to post from the wanted section

Simon Lloyd
21 Feb 2009, 14:45
Just change the new thread button in your particular forum and add the link to the form id like this

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

this will point to form id 1 (fid=1)

bananalive
21 Feb 2009, 18:13
If i upload this will it delete the forms i currently have? or will it keep them?

Cheers

Rob

keeps the data

bananalive
21 Feb 2009, 18:16
Hey,

Is there a way to make this mod work so when you post a thread, you have to fill in a form?

Slightly related...

Does anyine know how i would make the "new thread" link point to a specific form for different sub-forums?

i.e. I want to use the forms as a template for posting new classifieds in the for sale forum but have the new thread link go to a different form if trying to post from the wanted section

Create Plugin: newthread_start



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

bananalive
21 Feb 2009, 18:17
Thanks, I've sent you an email via this site :)

I've had quick look through and couldn't find an error, I'll have another look later when I'm less tired

bananalive
21 Feb 2009, 18:18
Bug?

Options per row, does not show when creating a radio button or check box question.
You have to create question then go back to edit questions screen and then edit question to get the option for options per row.

Nope, deliberate.

theczech
21 Feb 2009, 21:53
Great product, banana, thank you.

Would it be hard to make another option for this form to update user profile fields with the answers?

mk craig 42
22 Feb 2009, 09:22
Hi i think i'm having problems, when my members try to use the forum it says

vBulletin Message

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

1. 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?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


And i have made it so that users CAN view and use it, I cant think what could be wrong, ive tried everything i can think of, also i get this message when i click 'add new user' in the admin panel
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/admincp/user.php(544) : eval()'d code on line 11

i can still access the page, it just says this right at the top, could this have anything to do with why its not working?


Edit: also i should mention i can access the page fine, but I'm administrator
thank you.

bananalive
22 Feb 2009, 09:59
Hi i think i'm having problems, when my members try to use the forum it says



And i have made it so that users CAN view and use it, I cant think what could be wrong, ive tried everything i can think of, also i get this message when i click 'add new user' in the admin panel


i can still access the page, it just says this right at the top, could this have anything to do with why its not working?


Edit: also i should mention i can access the page fine, but I'm administrator
thank you.
Check you have no usergroups selected on 'Edit Form' (hence disabling this feature)

Have you tried disabling this mod? If so do you still get the error? (This mod does not run or change anything in the admincp)

bananalive
22 Feb 2009, 10:01
Great product, banana, thank you.

Would it be hard to make another option for this form to update user profile fields with the answers?

Sorry that's not possible.

bananalive
22 Feb 2009, 10:02
Hello,
I installed your modification, "Easy Forms", and my forum is right-to-left aligned, but the forms are still aligned left-to-right.
Can you please tell me how can I change it to r-t-l?

Import attached file

Andyrew
22 Feb 2009, 10:15
Can forms created by forum owners be used on any other forum owners site, or will they only work on the forum they were created on.

bananalive
22 Feb 2009, 10:18
Can forms created by forum owners be used on any other forum owners site, or will they only work on the forum they were created on.

If you export a form you can transfer the form, but some of the question hash numbers will be different (for custom output, thread title, etc.)

Blackheart_72
22 Feb 2009, 11:15
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Any joy with this problem yet matey, would rather use this one over the one we have now.:)

bananalive
22 Feb 2009, 11:31
Any joy with this problem yet matey, would rather use this one over the one we have now.:)

Try attached file

Blackheart_72
22 Feb 2009, 12:14
Sorry, still the same error, honestly cant understand why.

Going to have to stick with the forms hack for now.

Chet T16
22 Feb 2009, 12:31
Create Plugin: newthread_start



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Thanks, that works perfectly :)

Hayek
23 Feb 2009, 05:02
This is a great mod, just one question.

I am holding a contest that is valid from a certain date. I know according to the FAQ, how to set a minimal post requirement to signup.

Is there anyway to count if the users have had at least X posts starting on a certain date?

For example, contest starts on 2/23/2009 and ends on 2/26/2009. Even if a user has 100 overall, he must still make 5 NEW posts between 2/23 and 2/26 in order to qualify to register.

bananalive
23 Feb 2009, 13:36
This is a great mod, just one question.

I am holding a contest that is valid from a certain date. I know according to the FAQ, how to set a minimal post requirement to signup.

Is there anyway to count if the users have had at least X posts starting on a certain date?

For example, contest starts on 2/23/2009 and ends on 2/26/2009. Even if a user has 100 overall, he must still make 5 NEW posts between 2/23 and 2/26 in order to qualify to register.

No sorry. Information about when the posts were created is not stored, by vbulletin

Budget101
23 Feb 2009, 14:45
How do I input a hidden field to automatically log the users IP address regardless of their Usergroup?

Gizmo999
23 Feb 2009, 16:03
How would I get it to include the forum users name and email address automatically in the output? I'd restrict use to members only.

it would need to save to database and send an email.

dutchbb
23 Feb 2009, 16:27
When can we expect the attachments option? This is the only thing keeping me from using this mod :)

Andyrew
23 Feb 2009, 18:59
When can we expect the attachments option? This is the only thing keeping me from using this mod :)

It's already got the attachments feature., i guess he forgot to update the first post. :)

dutchbb
23 Feb 2009, 19:04
So how do we add it, i do not see the option for it. tnx.

Edit: nvm, i see the option for it. However we can not choose where to add it in the form?

Andyrew
23 Feb 2009, 19:18
So how do we add it, i do not see the option for it. tnx.

Edit: nvm, i see the option for it. However we can not choose where to add it in the form?

It might be possible to do that with a custom question then put in php code, i'm not a coder so you will need to ask bananalive.

bananalive
24 Feb 2009, 12:34
So how do we add it, i do not see the option for it. tnx.

Edit: nvm, i see the option for it. However we can not choose where to add it in the form?

There is no option for that. You could however edit template form_view

bananalive
24 Feb 2009, 12:35
When can we expect the attachments option? This is the only thing keeping me from using this mod :)

Attachments are currently available for creating new thread but not for posting in a thread.

bananalive
24 Feb 2009, 12:39
How would I get it to include the forum users name and email address automatically in the output? I'd restrict use to members only.

it would need to save to database and send an email.

Either use custom output or use hook before complete:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

bananalive
24 Feb 2009, 12:46
How do I input a hidden field to automatically log the users IP address regardless of their Usergroup?



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

A.Chakery
24 Feb 2009, 13:15
hi bro

really thnx for this gr8 mod (marked as installed :) )

zushiba
24 Feb 2009, 15:14
This is an excellent mod that will save me a LOT of time but I'm running VBAdvanced CMPS, is there any way to integrate the forms into the front end?

bananalive
24 Feb 2009, 16:22
This is an excellent mod that will save me a LOT of time but I'm running VBAdvanced CMPS, is there any way to integrate the forms into the front end?

Probably. I did a quick google and found this post (http://www.vbadvanced.com/forum/showpost.php?p=61866&postcount=1) which might help you

Vodkaholic
24 Feb 2009, 16:26
Installed Thanks mate epic this is!!

lazyseller
24 Feb 2009, 16:29
It's already got the attachments feature., i guess he forgot to update the first post. :)

Haha the attachment option was on like page 17 or something...

This gotta be one of the best mods out there right now. Most flexible.

ButtKrust
24 Feb 2009, 21:53
When i choose for it to store the information in the database, where do i go to find the stored information? Does it go into MySQL? I would like to be able to pull this information out through php if at all possible.

Michigan Morels
25 Feb 2009, 07:23
1. I have this in Custom Form Output


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


2. I get this display posted to the thread

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



3. I also have this in Form Hook: Before Submit: to remove bbcode from empty answers.

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


How do I remove those Template tags from example #2.?

bananalive
25 Feb 2009, 13:21
1. I have this in Custom Form Output


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


2. I get this display posted to the thread

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



3. I also have this in Form Hook: Before Submit: to remove bbcode from empty answers.

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


How do I remove those Template tags from example #2.?

AdminCP -> vBulletin Options -> General Options -> Add Template Name in HTML Comments -> No

Michigan Morels
25 Feb 2009, 17:40
Thank you. I knew it was something simple I was overlooking.
I forgot I had that turned on. DUH

dknelson
25 Feb 2009, 19:18
You could use custom question to get birthday of user from their profile.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Can't think of any easy way of easy way to do all states/ countries. But for US/Canada you could use this custom question with following php code:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



This is about perfect for what I am trying to do. My members want a list of recommended restaurants across the USA and Canada. Members from various states will submit their favorites via the forms. Here is my question.

I want to output the results to a "Recommended Restaurant" forum. I guess I could manually create a thread for each state and province. Then a member will submit the forum and it should go to the correct state/province thread. Do I have to create 57 different forms to do this? Is there any way that the form could use this drop-down state/province field to know which thread to post to?

stratfan87
25 Feb 2009, 20:48
***IGNORE THIS***
When I hit "submit" after filling out my form, I get the following error.

Unable to add cookies, header already sent.
File: /home/stratfan/public_html/forum/includes/class_core.php
Line: 3254

I am very new to all of this, I was attempting to "create a new thread" with the forms information, any help would be appreciated.

(great product btw!)
***END OF IGNORE***

I figured it out! Thanks for the great Product!

ilanyon
25 Feb 2009, 21:07
Hi, fantastic mod!

A quick question - after the form has been submitted, a message appears stating "Form Submitted - Click here to go to the thread" (or similar). Trouble is, that only Admins have permission for the forum that the thread is posted in and if they follow the 'click here' they get an another error message...

I would therefore like to change this wording and have edited the "form_submit_message" and "form_submit_message_explain" via the phrase manager, but despite such, the message remains the same (ie the standard phrase remains unaltered)...

No doubt it is something I am doing wrong but any ideas would be very much appreciated....

stratfan87
25 Feb 2009, 21:15
I have a question related to ilanyon..

Like he said, you have the option to change what the user sees after submitting a form.

To change the message you put your own message in the text box below
Form Submit Message:
Message the user sees when the form is submitted successfully. Leave blank to use the default message."

I want to use this message to direct them to a different url, what code can I use? I tried [URL] tags and <a href> tags and they didn't work..

I understand there is a redirect option, but I want to display a message first, and also give a few options for where to go after the form is completed.

Lone Gunman
26 Feb 2009, 01:31
when i click manage attachments on the form i made i get this on the new screen...

Invalid Post specified. If you followed a valid link, please notify the administrator


form is set to post new thread and attachments allowed. logged in as admin

edit...
nevermind. i see what i did wrong. just need forum id # not link.

great mod!