vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forms Hack (https://vborg.vbsupport.ru/showthread.php?t=93970)

Puntoboy 01-17-2006 09:16 AM

Quote:

Originally Posted by D.Ilyin
"Title" - FIXED.

About mail as i sad above for me work (vB 3.5.3).
What version do you use?

3.5.2...

is there anything else i need to do apart from import this XML file?

thanks for your help buddy.

Puntoboy 01-17-2006 09:24 AM

Quote:

Originally Posted by Puntoboy
3.5.2...

is there anything else i need to do apart from import this XML file?

thanks for your help buddy.

ok i've uploaded the XML, changed the email address and its still the same...

"Club Membership Application for Puntoboy Puntoboy"

and the rest of the forum is blank...

Puntoboy 01-17-2006 09:41 AM

just tried this for the forums other style and it worked in a way...

Quote:

Club Membership Application for psc
psc

Name: Mr. 2 2

-----------------------------------------------------

Street Address: 2
Town: 2
County: 2
Postal Code: 2
Country: 2
Date of Birth: 2
Daytime Telephone Number: 2
Evening Telephone Number: 2
Mobile Telephone Number: 2
Email Address: 22
Punto Mark: 2
Model: 2
Year: 2
Registration: 222
Colour: 2

-----------------------------------------------------

What method will you be using for payment?: Paypal
what templates does the Plugin edit? as both of the styles have the same templates, just different colours.

D.Ilyin 01-17-2006 09:51 AM

Quote:

thanks for your help buddy
??????? :)
Quote:

Originally Posted by Puntoboy
just tried this for the forums other style and it worked in a way...

what templates does the Plugin edit? as both of the styles have the same templates, just different colours.

sory? can't help.....
for me (just test) no differense on 4 styles installed on my board.
just look at admincp - Styles & Templates - Style Manager.
Expand all you styles and check two teplates in all styles: FORM, FORMANSWER.
They must be in all styles.

D.Ilyin 01-17-2006 10:00 AM

Abe1 can i ask you about future request?
Addable fields in forms.
Try to explain what i mean. When creating POOLs in usual threads we can set number of fields for poll.
Can you add this future in forms?

PS i tried to do it myself but ..... :(

Puntoboy 01-17-2006 10:29 AM

Quote:

Originally Posted by D.Ilyin
??????? :)

sory? can't help.....
for me (just test) no differense on 4 styles installed on my board.
just look at admincp - Styles & Templates - Style Manager.
Expand all you styles and check two teplates in all styles: FORM, FORMANSWER.
They must be in all styles.

you can help mate, as you just have....

for some reason the XML didn't create a template for formanswers in the first style (the one i was trying) created a new one and copied it from the working template!

all works now! you're a life saver!

Puntoboy 01-17-2006 11:38 AM

Quote:

Originally Posted by Puntoboy
you can help mate, as you just have....

for some reason the XML didn't create a template for formanswers in the first style (the one i was trying) created a new one and copied it from the working template!

all works now! you're a life saver!

how do i set it so they must answer all fields?

i set the option to "1" but it always comes up with the error "you need to answer every question!" eventhough all fields are answered.

Puntoboy 01-17-2006 12:38 PM

is this not right?

Code:

    if ($answerall == "1")
    {
        if ($normalanswer2 == 'First Name' OR $normalanswer3 == 'Last Name' OR $normalanswer4 == 'Street Address' OR $normalanswer5 == 'Town' OR $normalanswer6 == 'County' OR $normalanswer7 == 'Postal Code' OR $normalanswer8 == 'Country' OR $normalanswer9 == 'Date of Birth' OR $normalanswer10 == 'Daytime Telephone Number' OR $normalanswer11 == 'Evening Telephone Number' OR $normalanswer12 == 'Mobile Telephone Number' OR $normalanswer13 == 'Email Address' OR $normalanswer14 == 'Punto Mark' OR $normalanswer15 == 'Model' OR $normalanswer16 == 'Year' OR $normalanswer17 == 'Registration' OR $normalanswer18 == 'Colour' OR $dropdownquestion1 = "title" OR $dropdownquestion2 = "What method will you be using for payment?")


D.Ilyin 01-17-2006 03:24 PM

Quote:

all works now! you're a life saver!
no i'm not...
Quote:

Originally Posted by Puntoboy
is this not right?

Code:

    if ($answerall == "1")
    {
        if ($normalanswer2 == 'First Name' OR $normalanswer3 == 'Last Name' OR $normalanswer4 == 'Street Address' OR $normalanswer5 == 'Town' OR $normalanswer6 == 'County' OR $normalanswer7 == 'Postal Code' OR $normalanswer8 == 'Country' OR $normalanswer9 == 'Date of Birth' OR $normalanswer10 == 'Daytime Telephone Number' OR $normalanswer11 == 'Evening Telephone Number' OR $normalanswer12 == 'Mobile Telephone Number' OR $normalanswer13 == 'Email Address' OR $normalanswer14 == 'Punto Mark' OR $normalanswer15 == 'Model' OR $normalanswer16 == 'Year' OR $normalanswer17 == 'Registration' OR $normalanswer18 == 'Colour' OR $dropdownquestion1 = "title" OR $dropdownquestion2 = "What method will you be using for payment?")


no. but this
PHP Code:

    if ($answerall == "1")
    {
        if (
$normalanswer4 == '' OR $normalanswer5 == '' OR $normalanswer6 == '' OR $normalanswer7 == '' OR $normalanswer8 == '' OR $normalanswer9 == '' OR  $normalanswer10 == '' OR $normalanswer11 == '' OR $normalanswer12 == '' OR $normalanswer13 == '' OR $normalanswer14 == '' OR $normalanswer15 == '' OR $normalanswer16  == '' OR $normalanswer17 == '' OR $normalanswer18 '' OR $dropdownanswer1 '' OR $dropdownanswer2  ''

right :)

Puntoboy 01-17-2006 03:27 PM

Quote:

Originally Posted by D.Ilyin
no i'm not...

no. but this
PHP Code:

    if ($answerall == "1")
    {
        if (
$normalanswer4 == '' OR $normalanswer5 == '' OR $normalanswer6 == '' OR $normalanswer7 == '' OR $normalanswer8 == '' OR $normalanswer9 == '' OR  $normalanswer10 == '' OR $normalanswer11 == '' OR $normalanswer12 == '' OR $normalanswer13 == '' OR $normalanswer14 == '' OR $normalanswer15 == '' OR $normalanswer16  == '' OR $normalanswer17 == '' OR $normalanswer18 $dropdownanswer1 '' OR $dropdownanswer2  ''

right :)

ahh i see, so without the title, cheers!


All times are GMT. The time now is 11:39 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.02986 seconds
  • Memory Usage 1,773KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (10)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