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)

sully02 01-02-2006 11:42 PM

Quote:

Originally Posted by Puntoboy
that would be great.

at least then i can see everything i need to do for next time.

Wasn't able to test this out on my board, but give this a shot and let me know how it works:

onkel.joi 01-03-2006 12:25 AM

I have a small question. Is it possible to remove question from the final thread if the answer was not given? For example: What is your name?: ____________
The answer is not give for this, so I want in the final thread not to have that question, but if in the other thread user would answer that question it should appear in the final thread. Hopefully I did not get everybody confused. Thanks

Code Monkey 01-03-2006 12:53 AM

Why is my post message wraped in the following when I test this unchanged?

<!-- BEGIN TEMPLATE: formanswers -->

<!-- END TEMPLATE: formanswers -->

sully02 01-03-2006 01:08 AM

Quote:

Originally Posted by JumpD
Why is my post message wraped in the following when I test this unchanged?

<!-- BEGIN TEMPLATE: formanswers -->


<!-- END TEMPLATE: formanswers -->

Because you are in debug mode on your forums. I would turn that off.

Code Monkey 01-03-2006 01:24 AM

It's a dev site first of all. ;)

It was doing that because "Add Template Name in HTML Comments" Was set to "yes". Even so, it should not put it in the post.

bluesteel 01-03-2006 07:27 AM

Quote:

Originally Posted by bluesteel
Great hack Abe1. Having some fun with it,but now I'm stuck :(
I don't know if this is possible, but in the answers, can a conditional be set somewhere that show an image depending on what the $radioanswer1 answer is?

ie if radioanswer 1 = Yes, show image 1
else
show image 2

if you know what I mean lol

Can anybody help me please?

Puntoboy 01-03-2006 08:49 AM

Quote:

Originally Posted by sully02
Wasn't able to test this out on my board, but give this a shot and let me know how it works:

thats brilliant thank you.

its not quite right but i think i can sort it. well i hope.

http://www.puntosports.co.uk/forums/...do=Application

D.Ilyin 01-03-2006 10:05 AM

Quote:

Originally Posted by RMS-Chef
You can use vBcode in your answer template.
There is one thing mentioned above, make sure there is a space after the last opening tag and before the first closing tag. Otherwise I think you get an error when you try to save the template.

An example taken from one of my answer templates:

HTML Code:

[center][u][b][size=5] $subjecttitleans [/size][/b][/u][/center]

$longanswer1

[center] _____________________________________________ [/center]

[b] $subjectdate [/b]: $subjectdateans
[b] $subjectlocation [/b]: $subjectlocationans
[b] $filesize [/b]: $filesizeans
[b] $fileruntime [/b]: $fileruntimeans
[b] $fileformat [/b]: $fileformatans

[center] _____________________________________________

[u][b][size=5] $longquestion2 [/size][/b][/u][/center]

$longanswer2

[center] _____________________________________________

[u][b][size=5] $longquestion3 [/size][/b][/u][/center]

$longanswer3


RMS-Chef thank's man! :)
I readed this topic tree times before i find answer on my question.
I think this must be placed in plugin as example, because it's not "visible" option for beginers.
And is there any chance to remove those spaces in replies? I mean how can i use BBCODEs in answer form without spaces?

steven s 01-03-2006 11:10 AM

Quote:

Originally Posted by bluesteel
Can anybody help me please?

I've been using a condition to change the color of a table cell and add required if there is no answer.
$bbuserinfo[field14] is one of my profile fields. This is done in your form.

<if condition="$bbuserinfo[field14]">
<td class="alt1" valign="top">$bbuserinfo[field14]<else />
<td bgcolor="#ffff66" valign="top"><font size="-2">required</font></if>
</td>

onkel.joi 01-03-2006 11:19 AM

Quote:

Originally Posted by onkel.joi
I have a small question. Is it possible to remove question from the final thread if the answer was not given? For example: What is your name?: ____________
The answer is not give for this, so I want in the final thread not to have that question, but if in the other thread user would answer that question it should appear in the final thread. Hopefully I did not get everybody confused. Thanks

Any help for me? :ermm:


All times are GMT. The time now is 06:40 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.02176 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
  • (1)bbcode_html_printable
  • (7)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