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)

wolfey 02-25-2011 05:47 PM

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

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

Is what I am doing possible?

zushiba 02-25-2011 05:51 PM

I don't think the URL redirect keeps any values intact.

CRDeveloper 02-25-2011 07:29 PM

Quote:

Originally Posted by deverill2010 (Post 2155037)
I have just created a form and added a question.. When I try to view the form i get this at the top of my site -

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

Quote:

Originally Posted by bananalive (Post 2156008)
What type of question did you add?

Do you have anything in the Form Hooks?

Im getting this error too

Code:

[25-Feb-2011 15:22:31] PHP Parse error:  syntax error, unexpected T_STRING in /home/######/public_html/forum/misc.php(89) : eval()'d code(1071) : eval()'d code on line 1
I've been getting that for a while, I just realize it could be cause by this mod. I've some forms already with results. How can i fix this??

CRDeveloper 02-25-2011 07:38 PM

Got it fixed removing the stuff the in the form hooks!

Prisoner 02-26-2011 02:09 AM

This is an amazing mod. Simple to use.

I had an immediate need for this on my forum last weekend and the form (a help form for a school district) and the response has been very positive and teachers are getting the help they need.

Thank you!

mmacrypt 02-26-2011 02:11 PM

Updated and thank you for this mod, I love this thing for our UFC Prediction contests, it's ohhh about 10000x better than trying to make it work with a poll.

soypnma 02-28-2011 03:38 AM

I was wondering if it possible to allow unregistered users to view the form, but for them to submit it they need to register to the site

bananalive 02-28-2011 11:59 AM

Quote:

Originally Posted by soypnma (Post 2167740)
I was wondering if it possible to allow unregistered users to view the form, but for them to submit it they need to register to the site

Edit Form -> Form Hook: Before Submit:

PHP Code:

if (!$vbulletin->userinfo['userid'])
{
print_no_permission();


This will ask them to login or register once they hit submit.

bananalive 02-28-2011 12:02 PM

Quote:

Originally Posted by zushiba (Post 2166797)
I don't think the URL redirect keeps any values intact.

It won't to keep the values, you'll have to use the Form Hooks.

If you want to change where the $_POST data gets sent, you can specify the <form> action value.

Edit Form -> Form Hook: Form Start:

PHP Code:

$action 'otherpage.php'


bananalive 02-28-2011 12:39 PM

1 Attachment(s)
Quote:

Originally Posted by wolfey (Post 2166795)
I want to make a look up tool for part#'s using a website

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

Is what I am doing possible?

Added the functionality to attached file.

Import attached product file and then it should work.


All times are GMT. The time now is 02:55 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.05332 seconds
  • Memory Usage 1,744KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (5)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