vb.org Archive

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

bananalive 10-29-2011 12:51 PM

Quote:

Originally Posted by trunkride (Post 2259901)
Ok so i installed this, how do make a new form. the only admin options are for user permissions, it asks me for upload xml in my forms button here

Click create new form (below import form)

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

scubasteve3 10-29-2011 08:26 PM

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

deverill2010 10-30-2011 12:59 PM

Quote:

Originally Posted by bananalive (Post 2262654)
Add the following php code to Form Hook: Form Start:
PHP Code:

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



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

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

Any ideas?

bananalive 10-30-2011 04:39 PM

Quote:

Originally Posted by deverill2010 (Post 2262901)
Hi banalive, thank you but I now get this error when trying to view the form -

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

Any ideas?

ok, try this instead
PHP Code:

if($vbulletin->userinfo['posts'] < 10

$errormessage "You need 10 posts to use this form."
eval(
standard_error($errormessage));



bananalive 10-30-2011 04:40 PM

Quote:

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

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

query database to $result then

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

contain question answers

Valcav 11-01-2011 09:42 PM

Maybe it's on the late side, but could you tell me what has changed? I don't see it where you tell what has changed... (https://vborg.vbsupport.ru/showpost....62&postcount=2)

deverill2010 11-01-2011 10:35 PM

Thanks, Bananalive that worked :)

Goatpod 11-02-2011 09:53 PM

1 Attachment(s)
Great Mod, it's saved me a lot of work!

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

Alex@bulletin 11-03-2011 08:34 PM

Hey Folks,

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

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

SY

Alex

bigrover 11-04-2011 04:09 PM

Bananalive,

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

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


All times are GMT. The time now is 12:41 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02998 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
  • (2)bbcode_php_printable
  • (4)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