vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Form Hack (https://vborg.vbsupport.ru/showthread.php?t=126676)

The-Ensemble 09-16-2006 07:29 PM

Can you create Multiple forms with this?

Spinball 09-16-2006 09:08 PM

Quote:

Originally Posted by The-Ensemble
Can you create Multiple forms with this?

Yes, you have to create a different form (and formanswers) template and also a plugin product for each one.

FSFwebmaster 09-17-2006 12:13 AM

for some reason if i add more than 3 questions they dont show up any idea why ? this part of the form

$question1 = "What is your name?";
$explain1 = "Please enter your real name here.";

//QUESTION 2 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
$question2 = "What is your online game name?";
$explain2 = "Please enter your online game name here.";

//QUESTION 3 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
$question3 = "What is your birth date?";
$explain3 = "Please enter your birthe date here.";

//QUESTION 4 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
$question4 = "What is your email address?";
$explain4 = "Please enter your email address here.";

Abe1 09-17-2006 02:58 AM

Quote:

Originally Posted by FSFwebmaster
for some reason if i add more than 3 questions they dont show up any idea why ? this part of the form

$question1 = "What is your name?";
$explain1 = "Please enter your real name here.";

//QUESTION 2 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
$question2 = "What is your online game name?";
$explain2 = "Please enter your online game name here.";

//QUESTION 3 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
$question3 = "What is your birth date?";
$explain3 = "Please enter your birthe date here.";

//QUESTION 4 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text)
$question4 = "What is your email address?";
$explain4 = "Please enter your email address here.";

YOu have to edit the template also.

Spiffware 09-17-2006 05:31 AM

nice work thanks i like it alot

Limerick 09-17-2006 06:54 AM

Hello Abe,

Thank you very much for your hack which will be useful for many of us.

I'd like to know if your hack could be used in a way I've described here, and what changes would it need ?

Note that what I described there was just an idea, but your design seems to be as convenient.

Spinball 09-17-2006 07:54 AM

Hi Abe,
I have modified the form to allow the attachements, and that works (in that it allows me to add attachments). I have also re-modified the formanswers template from the original, although I don't see any reference to attachments in that.
No attachments are appearing in the preview. What am I doing wrong, please?

The-Ensemble 09-17-2006 09:52 AM

Quote:

Originally Posted by Spinball
Yes, you have to create a different form (and formanswers) template and also a plugin product for each one.

ok, that sounds kinda hard. Do I just alter the original plugin product and change a few things?
If so what things?

aceofspades 09-17-2006 10:05 AM

Can you please help me, i am getting this error message:

Quote:

Fatal error: Existing data passed is not an array
Called set_existing in /home/hiven48/public_html/forums/newthread.php(70) : eval()'d code on line 411
Called eval in /home/hiven48/public_html/forums/newthread.php on line 70
in /includes/class_dm.php on line 235
I have only changed the titles of the questions, i havent changed anything else.

The-Ensemble 09-17-2006 11:18 AM

Ignore my previous question. I just found the instructions lol

ETA: Can the form be customised to have a lot of input box and fields?

ETA (again): How would I change the navbar in php? I want it so it says
board name - usercp - usercp page - form

Does this (the questions etc.) have to be done in php? can't it be done in the template?

any idea?


All times are GMT. The time now is 04:36 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.01917 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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