vb.org Archive

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

angelimnot 02-28-2010 07:48 PM

thank you very much~!!!!!!!!

misticjeff 02-28-2010 07:52 PM

1 Attachment(s)
Need help....

Installed
JS file uploaded to /clientscript/
Java on in browser
Block PopUps disabled in browser
Tried in Firefox 3.6 and I.E. 8

Cannot do anything java related. Cannot delete a question or form.

Any advice?

I've tried overwriting the .xml file but no change.

Thanks

Edit:

I'd also like to know how to do the following:

I'd like to automatically populate the form for each person submitting with their:

username
all profile fields
current date

would this be done in a custom question and what might the code look like???

thanks again for a great add on!!!!

Edit #2:

And... can the email output be changed? I noticed that when sending as a PM the output is rather nice. But sent as an email it looks "fugly"

Selcor 02-28-2010 08:17 PM

Quote:

Originally Posted by Selcor (Post 1993245)
Is displayed wrong on my forum (vb 4.0.2). View the image: http://img705.imageshack.us/img705/4742/capr.png

Probe with several skins and does not change ...

Why nobody answer me?

RustyDogma 03-01-2010 02:10 PM

my users submit the form and get 'please reduce the number of characters'.. I need to allow as many characters as they need... I've looked all over at permissions, have max chars for post at unlimited.. cannot find where to fix it for the form?

misticjeff 03-01-2010 05:43 PM

Quote:

Originally Posted by RustyDogma (Post 1994491)
my users submit the form and get 'please reduce the number of characters'.. I need to allow as many characters as they need... I've looked all over at permissions, have max chars for post at unlimited.. cannot find where to fix it for the form?

If you're using text input fields, after creating the question, click on "edit" and there you can adjust how many characters to allow in the answer.

bananalive 03-02-2010 12:19 PM

Quote:

Originally Posted by RustyDogma (Post 1994491)
my users submit the form and get 'please reduce the number of characters'.. I need to allow as many characters as they need... I've looked all over at permissions, have max chars for post at unlimited.. cannot find where to fix it for the form?

vBulletin Options > vBulletin Options > Message Posting and Editing Options -> Maximum Characters Per Post

0 to disable

bananalive 03-02-2010 12:21 PM

Quote:

Originally Posted by Selcor (Post 1993984)
Why nobody answer me?

It displays fine with default style, i cannot guess why it doesnt work with your skin/style

bananalive 03-02-2010 12:27 PM

Quote:

Originally Posted by misticjeff (Post 1993967)
Need help....

Installed
JS file uploaded to /clientscript/
Java on in browser
Block PopUps disabled in browser
Tried in Firefox 3.6 and I.E. 8


Cannot do anything java related. Cannot delete a question or form.


Any advice?

I've tried overwriting the .xml file but no change.

Thanks


Edit:

I'd also like to know how to do the following:

I'd like to automatically populate the form for each person submitting with their:

username
all profile fields
current date

would this be done in a custom question and what might the code look like???

thanks again for a great add on!!!!

Edit #2:

And... can the email output be changed? I noticed that when sending as a PM the output is rather nice. But sent as an email it looks "fugly"

I'll work on a version which doesnt require javascript for you.

RE: Edit #1.

Yes you could do that by custom question usign the following php code:

PHP Code:

 $answer '<input type="text" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $vbulletin->userinfo[username] . '" class="textbox" />'

This is for the username, create more questions for other profile details.

RE: Edit #2

vBulletin does not send html emails, it converts the bb code/ html code into plain text

bananalive 03-02-2010 12:28 PM

Quote:

Originally Posted by rfsforums (Post 1993384)
but they are actually followed by an asterisk. I've searched everywhere I can think of, where would I find this statement so that I can change it?

Thanks again for a great Mod!

Edit Phrase: compulsory_questions_explained

Selcor 03-02-2010 05:53 PM

1 Attachment(s)
With the skin Default don't work ... :erm:

finalcut 03-03-2010 11:33 PM

Hi,

I used the form to subscribe a film to a film event. It works graet!!!!

Now I have some questions:

All the form data (several film entries) is stored in the database.

How can I handover a parameter-value from an URI to the form so it gets the formtitle (filmtitle) form a thread title?

In order to reedit the stored data, can I fill the form fields with data from the database? If yes, how?

Martyh 03-04-2010 11:51 PM

Quote:

Originally Posted by bananalive (Post 1972263)
No need for a query for that, it is already cached in vBulletin userinfo

1. Create 'Custom' question
2. Use following php Code:

PHP Code:

$answer '<input class="textbox" type="text" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $vbulletin->userinfo[field8] . '" />'


I'm using that code and it works fine, just wondering if the box that it appears in can be larger, can the size of that box be controlled on the form ? Columns and rows.

Dubi 03-05-2010 11:58 AM

Amazing mod bananalive, for sure. :up: Installed and nominated.

Is there a way to auto-close the thread output of a form?

I have seen that there's a plugin called "Force thread close", but setting it to active don't close the new thread created by the form.

Can you help me on this?

Thank you in advance.

bananalive 03-05-2010 02:20 PM

Quote:

Originally Posted by Martyh (Post 1997406)
I'm using that code and it works fine, just wondering if the box that it appears in can be larger, can the size of that box be controlled on the form ? Columns and rows.

If you use a <textarea> then you can add in columns and rows, like this:

PHP Code:

$answer '<textbox columns="40" rows="3" class="textbox" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $vbulletin->userinfo[field8] . '" />'


bananalive 03-05-2010 02:26 PM

Quote:

Originally Posted by Dubi (Post 1997714)
Amazing mod bananalive, for sure. :up: Installed and nominated.

Is there a way to auto-close the thread output of a form?

I have seen that there's a plugin called "Force thread close", but setting it to active don't close the new thread created by the form.

Can you help me on this?

Thank you in advance.

Use the following code in Form Hook: Before Submit:
PHP Code:

$closed=true


bananalive 03-05-2010 02:27 PM

1 Attachment(s)
Quote:

Originally Posted by Selcor (Post 1995417)
With the skin Default don't work ... :erm:

Try importing attached product file overwriting current one.

Dubi 03-05-2010 03:19 PM

Quote:

Originally Posted by bananalive (Post 1997799)
Use the following code in Form Hook: Before Submit:
PHP Code:

$closed=true


Works like a charm :)

Thanks a lot for your support :up:

Martyh 03-05-2010 05:31 PM

Quote:

Originally Posted by bananalive (Post 1997795)
If you use a <textarea> then you can add in columns and rows, like this:

PHP Code:

$answer '<textbox columns="40" rows="3" class="textbox" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $vbulletin->userinfo[field8] . '" />'


I can't get that to work. It doesn't show up at all.

niko236 03-05-2010 05:46 PM

Hi,
Great mod, but when i put "0" in a field, i have a "-" in my thread, how can i do, to display "0" in the thread ?

Selcor 03-05-2010 09:41 PM

It works perfect the 4.0.4, thank you very much!. :D

Edit: Before was wrong visualized by a mistake of mine, i used wrong the option "Form Hooks".

bananalive 03-06-2010 11:11 AM

Quote:

Originally Posted by Martyh (Post 1997921)
I can't get that to work. It doesn't show up at all.

Sorry that's my fault, the code was wrong
PHP Code:

$answer '<textbox columns="40" rows="3" class="textbox" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '">' $vbulletin->userinfo[field8] . '" </textarea>'


bananalive 03-06-2010 11:23 AM

1 Attachment(s)
Quote:

Originally Posted by niko236 (Post 1997931)
Hi,
Great mod, but when i put "0" in a field, i have a "-" in my thread, how can i do, to display "0" in the thread ?

That is a mistake in the code, fixed in attached file.

Martyh 03-06-2010 11:26 AM

Quote:

Originally Posted by bananalive (Post 1998385)
Sorry that's my fault, the code was wrong
PHP Code:

$answer '<textbox columns="40" rows="3" class="textbox" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '">' $vbulletin->userinfo[field8] . '" </textarea>'


Hi, this brings it to the form and diplays it on the form but not in a box and it doesn't submit to the thread.

RustyDogma 03-06-2010 12:22 PM

Thought I had this working perfectly (thanks all for the previous help) until I ran into a user that went afk while filling out the form, and it timed out and he lost all his answers and had to start over. I'd don't want to adjust the timeout for my forums, as that effects the 'who's on-line' list too. Any way to keep the form from timing out?

niko236 03-06-2010 12:58 PM

Quote:

Originally Posted by bananalive (Post 1998391)
That is a mistake in the code, fixed in attached file.

Thanks, it works

bananalive 03-06-2010 04:24 PM

Quote:

Originally Posted by Martyh (Post 1998393)
Hi, this brings it to the form and diplays it on the form but not in a box and it doesn't submit to the thread.

PHP Code:

$answer '<textarea cols="40" rows="3" class="textbox" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '">' $vbulletin->userinfo[field8] . ' </textarea>'


bananalive 03-06-2010 04:27 PM

Quote:

Originally Posted by RustyDogma (Post 1998428)
Thought I had this working perfectly (thanks all for the previous help) until I ran into a user that went afk while filling out the form, and it timed out and he lost all his answers and had to start over. I'd don't want to adjust the timeout for my forums, as that effects the 'who's on-line' list too. Any way to keep the form from timing out?

Umm, I don't think so, it's controlled by vBulletin for increased security

Martyh 03-06-2010 04:53 PM

Quote:

Originally Posted by bananalive (Post 1998564)
PHP Code:

$answer '<textarea cols="40" rows="3" class="textbox" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '">' $vbulletin->userinfo[field8] . ' </textarea>'


Magicman, lol,,, awesome, thanks.

Martyh 03-06-2010 04:54 PM

Do you think there will be any way to resolve that subscription issue or, is it a dead issue ?

misticjeff 03-06-2010 09:00 PM

Quote:

Originally Posted by bananalive (Post 1995215)
RE: Edit #2

vBulletin does not send html emails, it converts the bb code/ html code into plain text

But there must be a way for vBulletin to bypass the conversion and send the email as HTML. Anyone know a way this could be done?

misticjeff 03-06-2010 09:07 PM

and another question:

When i do receive the unformatted emailed form, this is what it looks like:

Quote:

*VACATION REQUEST*
*Property: (Check One)*
* XXX

*Date of Request: (Todays Date)* 3\6\2010 *Employee # * XXXXXXXXX *Job Title:* XXXXXX
*Status: (Please Select One)*
* 10-Hour

*Shift:* Day
*Normal Days Off:*
* Mon/Tue

*# of Days Requested:* 1
*Date Start (First Day)* 3\7\2010 *Date Back to Work:* 3\8\2010
*Remarks:* Testing.... testing
*Your Name:* XXX XXXX
Any way to make it at least look like a listed/bullet pointed form????

Thanks

JamesGunner 03-07-2010 06:09 PM

Hey,

Im having a bit trouble with the "Manage Attachment" Button on the form. The user can fill in the form and a thread will be posted in an internal section of our forum so that user cant read the outcome / the thread. If a user wants to attach something he will get the "No permission" message telling him that he doesnt have permission to attach something. Is there any way around this?

swanienufan 03-08-2010 01:11 AM

I'm not sure if I'm missing something but I can't get this to post to a forum in a moderated status based on the forum settings.

I was able to block out a couple lines of code that force the post to set the thread to 'visible=0' but it doesn't seem to work soley based off the moderation setting inside the forum.

Welshy2008 03-09-2010 02:32 PM

Bananalive,

Would it be alright if I PM you please?

Many Thanks,

Welshy2008.

sose 03-10-2010 02:49 AM

Can you recommend a way to have a single line with 5 inputs? I am trying to migrate an excel spreadsheet into a form. I have a screen shot of what I am trying to imitate.

https://vborg.vbsupport.ru/external/2010/03/12.png

ImmortalForums 03-11-2010 08:30 PM

1 Attachment(s)
One small bug with output using all the defaults. If you put a category in the question for the question following the category header shows up on the same line. See attached

Dogtank 03-14-2010 11:25 AM

Hey mate,

Awesome work.

Slight problem, I made one form to submit to one area and essentially tried to duplicate the form to then post it in a seperate area for those who wished. (Its for a Guild and giving an option for Private and Public Applications).

I tried to just create a copy of the original form however I received an error although a duplicate was made up fine. I ignored the error and then went to try and complete the form as a test and received this error;

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

I figured this was just because of the error I had earlier so i tried to export the original form and then import it again and hope for that to be successfull however when submitting the form I received that same error.

I've tried googling the error and had no luck so was helping you might be able to shed some light on this for me.

I'll add this too, I have zero problems submitting forms with the original form, its just the duplicates I'm having an issue with.

gosiah23 03-15-2010 12:43 AM

Works like a charm! Thank you so much!

rck3 03-16-2010 01:14 AM

Quote:

Originally Posted by Dogtank (Post 2003356)
Hey mate,

Awesome work.

Slight problem, I made one form to submit to one area and essentially tried to duplicate the form to then post it in a seperate area for those who wished. (Its for a Guild and giving an option for Private and Public Applications).

I tried to just create a copy of the original form however I received an error although a duplicate was made up fine. I ignored the error and then went to try and complete the form as a test and received this error;

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

I figured this was just because of the error I had earlier so i tried to export the original form and then import it again and hope for that to be successfull however when submitting the form I received that same error.

I've tried googling the error and had no luck so was helping you might be able to shed some light on this for me.

I'll add this too, I have zero problems submitting forms with the original form, its just the duplicates I'm having an issue with.

I am having the same issue. It's not so much when I duplicate but when I try to add a second form I get the error. 1st works fine, second gives that same message

steve71 03-16-2010 04:46 AM

Quote:

Originally Posted by Dogtank (Post 2003356)
Hey mate,

Awesome work.

Slight problem, I made one form to submit to one area and essentially tried to duplicate the form to then post it in a seperate area for those who wished. (Its for a Guild and giving an option for Private and Public Applications).

I tried to just create a copy of the original form however I received an error although a duplicate was made up fine. I ignored the error and then went to try and complete the form as a test and received this error;

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

I figured this was just because of the error I had earlier so i tried to export the original form and then import it again and hope for that to be successfull however when submitting the form I received that same error.

I've tried googling the error and had no luck so was helping you might be able to shed some light on this for me.

I'll add this too, I have zero problems submitting forms with the original form, its just the duplicates I'm having an issue with.

Update the (q_*) tags to coincide with duplicate forms.
If the original form had q_1 to pull up a field...on the duplicate form q_1 could now be q_15

This will result in the error "Please complete message and subject fields"
You will have to update each individual form that you copy or import.


All times are GMT. The time now is 10:34 PM.

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

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

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

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