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)

sulasno 09-13-2010 01:20 AM

Quote:

Upload the XML file for the form from your computer



This mod is definitely a 5

sulasno 09-13-2010 04:27 AM

for Address; how do I change the default from

City
State
Zip Code

to something else?

apokphp 09-13-2010 01:48 PM

Quote:

Originally Posted by bananalive (Post 2097196)
Change phrase 'forms'

You could use radio buttons questions

And select form action 'save to database'

Then view 'Form Results as Poll'

But it's not possible to embed it in top of thread.

OK, thanks.

However...

How do I have the member be sent back to the thread that the form refers to? I'm just not sure how to code it.

That is, if the form is about thread X...when the user completes the form, I'd like them to be sent immediately to thread X upon submission.

bananalive 09-13-2010 02:03 PM

Quote:

Originally Posted by apokphp (Post 2097556)
How do I have the member be sent back to the thread that the form refers to? I'm just not sure how to code it.

That is, if the form is about thread X...when the user completes the form, I'd like them to be sent immediately to thread X upon submission.

Edit Form -> After Form is Submitted
  1. Redirect user after form is submitted : Yes
  2. URL of webpage user is redirected to: http://yourforum.com/forums/showthread.php?t=X

bananalive 09-13-2010 02:06 PM

Quote:

Originally Posted by sulasno (Post 2097413)
for Address; how do I change the default from

City
State
Zip Code

to something else?

Either edit the phrases:
  • address_line1
  • address_line2
  • address_city
  • address_state
  • address_zipcode

Or edit template: form_formbit_address

bananalive 09-13-2010 02:07 PM

Quote:

Originally Posted by bearcub (Post 2097356)
Form failed to submit. The following error(s) occured:
The message you have entered is too short. Please lengthen your message to at least 10 characters.

The above is all I get when I try to post a form. All field minimums are set to zero.

This is not due to the field lenths but the whole form output length. (So the thread/post you are trying to post is less than 10 characters)

bananalive 09-13-2010 02:14 PM

Quote:

Originally Posted by CharlieDelta (Post 2097343)
Great mod, our community has a great amount of uses for this.

I have one question, excuse me if it seems trivial;
How do I skip a question depending on the previous questions answer? For example,
Q#3. Do you own a microphone? If the answer is "yes" then skip to question #5. If the answer is "no" then on to question #4.
Q#4. When do you plan on purchasing a microphone?

Thank you in advance.

If you make question 4 non-compulsory and then add the following to Form Hook: Before Submit

PHP Code:

if ($qo['3']==$vbphrase['no'] && !$qo['4'])
{
$incompleteqs[] = $qn['4'];
$complete false;



bananalive 09-13-2010 02:16 PM

Quote:

Originally Posted by Inzvestor (Post 2097300)
Firstly, great product, thanks

However, I'm getting the following error which I think is conflicting withCyb - Advanced Permissions Based on Post Count

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]\includes\class_bootstrap.php(1280) : eval()'d code on line 68

Is there a workaround so that I can run both products?

At what point is the error occurring? when you view a form? when you submit a form?

Shamil. 09-13-2010 02:19 PM

Just wandering, could I make the form public, then post information to it, from a script so:

Post data from a form on the main site, to the form on the forum (which is protected by vB permissions from guests).

Basically, can I interface with the forum without the user having to visit the form on the forum, or will I have CSRF issues?

apokphp 09-13-2010 02:19 PM

Amazing support banana. While this is not exactly what I am looking for, I'm sure I'll find a use for it and do appreciate the hard work and constant support you give to your product.

Great job man.


All times are GMT. The time now is 01:49 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.02534 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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