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)

Alfa1 06-25-2010 11:19 PM

Quote:

Originally Posted by bananalive (Post 2059547)
Use {qo_1} instead of {q_1}

Thanks!

I am posting output to a thread. I would like the content of field $q[18] to be added as tags. Is there a way to add tags to a new thread?

Is it possible, not to post questions in the output, if nothing has been entered in the field?

leia 06-26-2010 02:49 PM

I'm trying to make this example work for my forum to let users choose the forum where their thread will be posted. I currently have it as:

HTML Code:

if ($qo['38'] == 1)
{
$form['forumid'] = 112;
}
elseif ($qo['38'] == 2)
{
$form['forumid'] = 113;
}
elseif ($qo['38'] == 3)
{
$form['forumid'] = 114;
}

It isn't working. We're on 4.0.3.

Also, is there a way to set the prefix based on a selection from a drop down?

Alfa1 06-26-2010 04:28 PM

Is it possible to create conditional questions? example:
If answer to question X = Y, then display question Z.
If answer to question X = not Y, then do not display question Z.

Ocean-Wonders 06-28-2010 10:00 AM

Great mod but I could do with a bit of help :)

I'm not sure if I can do this anyway but when I try and change the colour of the title, it displays in the title, for example.
PHP Code:

[color=red]Angels (marine)[/color

also when a user submits a form they get the form submitted succesfully page but when you view it in the forum it's posted too all that's displayed is a /

Here is an example of my questions
PHP Code:

[size=[u][b]{qo_1}/{qo_2}[/b][/u][/size]
[
b]{qn_1}[b] {qo_1

any help greatly appreciated

Shawn

Dragonsys 06-28-2010 01:28 PM

Quote:

Originally Posted by Ocean-Wonders (Post 2060966)
Great mod but I could do with a bit of help :)

I'm not sure if I can do this anyway but when I try and change the colour of the title, it displays in the title, for example.
PHP Code:

[color=red]Angels (marine)[/color

also when a user submits a form they get the form submitted succesfully page but when you view it in the forum it's posted too all that's displayed is a /

Here is an example of my questions
PHP Code:

[size=[u][b]{qo_1}/{qo_2}[/b][/u][/size]
[
b]{qn_1}[b] {qo_1

any help greatly appreciated

Shawn

not sure about the title color, but the problem with your post is probably the / (in {qo_1}/{qo_2}). Try changing that to a non html/bbcode character

Also look at the code yo posted. You are missing a ].

You have:
PHP Code:

[size=[u][b]{qo_1}/{qo_2}[/b][/u][/size

Should be
PHP Code:

[size=8][u][b]{qo_1}/{qo_2}[/b][/u][/size


Ocean-Wonders 06-28-2010 03:22 PM

Quote:

Originally Posted by Dragonsys (Post 2061094)
not sure about the title color, but the problem with your post is probably the / (in {qo_1}/{qo_2}). Try changing that to a non html/bbcode character

Also look at the code yo posted. You are missing a ].

You have:
PHP Code:

[size=[u][b]{qo_1}/{qo_2}[/b][/u][/size

Should be
PHP Code:

[size=8][u][b]{qo_1}/{qo_2}[/b][/u][/size


Thanks for all that it works a treat ! :D

Cant use colour code in the title, it works in the add on but outside of that i.e post titles it shows up with the bb code.

Just go to go through the forms now and edit them all accordingly.

Thanks again :up:

SAT2M 06-30-2010 04:42 PM

Hello
I create form with bbcode editor but Image not shown in form & just shown that link

https://vborg.vbsupport.ru/

What is problem ????

pltillman 06-30-2010 08:41 PM

I've searched through all the comments for this mod and haven't really found what I'm looking for so I figured I'd try posting my question. There may be an easier way to accomplish what I'm doing as I'm still new to vbulletin. Here's what my goal is..

I have a form (form B) that is contingent upon the user completing another form (form A). I accomplished this by adding some php code into form B to look for stored responses for form A for the user. Form B is only displayed if there are collected responses for form A. This is all working fine.

In form B, I want to have a field that is populated with responses from a field in form A. The field will be a drop down list of the collected responses from form A. I tried creating a custom question field in form B with the appropriate code and it does work, but it prints the question above everything else on the page. I'm not sure how the custom field is supposed to be used, or if there is an easier way to accomplish this. Please advise.

Thanks,
Patrick

pltillman 06-30-2010 11:32 PM

Actually... I just figured it out. I'm not sure where it's documented, but I saw an old post that was using a variable named $answer to add the html field to. Apparently that's a special variable name that makes it work. You don't have to return or echo the variable, it just gets picked up when the form displays.

bananalive 07-01-2010 09:43 AM

Quote:

Originally Posted by SAT2M (Post 2062314)
Hello
I create form with bbcode editor but Image not shown in form & just shown that link

[IMG]http://www.***.***/ads/124.gif[/IMG]

What is problem ????

AdminCP -> vBulletin Options -> BB Code Settings -> Allow [IMG] Code in Non Forum Specific Areas -> Yes


All times are GMT. The time now is 11:43 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.02520 seconds
  • Memory Usage 1,768KB
  • 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
  • (8)bbcode_php_printable
  • (4)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