vb.org Archive

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

bananalive 02-18-2009 09:00 AM

Quote:

Originally Posted by abdelghani68 (Post 1747681)
Thanks for this good add-on. I have a little problem :

Code:


 
Parse error: syntax error, unexpected $end in /homez.83/home/www/forum/misc.php(100) : eval()'d code(3792) : eval()'d code on line 1

thanks for your help

Have you got any code in the form hooks?

dutchbb 02-18-2009 09:26 AM

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 02-18-2009 09:38 AM

Quote:

Originally Posted by dutchbb (Post 1747697)
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 02-18-2009 10:02 AM

Ok, it's a very good add on , a lot easier than the other form hack, thank you :)

dutchbb 02-18-2009 10:23 AM

I'm trying to use the 'Custom Form Output', but it's not working correctly, this is my code:

Code:

Rating: {a_12} {a_13}
  • $q[1] {a_1}

  • $q[2] {a_2}

  • $q[3] {a_3}

  • $q[4] {a_4}

  • $q[5] {a_5}

  • $q[6] {a_6}

  • $q[7] {a_7}

  • $q[8] {a_8}

  • $q[9] {a_9}

  • $q[10] {a_10}


$q[11]
{a_11}

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 02-18-2009 12:16 PM

1 Attachment(s)
Quote:

Originally Posted by dutchbb (Post 1747755)
I'm trying to use the 'Custom Form Output', but it's not working correctly, this is my code:

Code:

Rating: {a_12} {a_13}
  • $q[1] {a_1}

  • $q[2] {a_2}

  • $q[3] {a_3}

  • $q[4] {a_4}

  • $q[5] {a_5}

  • $q[6] {a_6}

  • $q[7] {a_7}

  • $q[8] {a_8}

  • $q[9] {a_9}

  • $q[10] {a_10}


$q[11]
{a_11}

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 02-18-2009 02:38 PM

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 02-18-2009 03:50 PM

Quote:

Originally Posted by Kiint (Post 1747669)
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 02-18-2009 07:21 PM

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 02-18-2009 08:11 PM

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


All times are GMT. The time now is 09:02 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.02810 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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