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 04-10-2009 08:40 AM

Quote:

Originally Posted by TimberFloorAu (Post 1787953)
Works beautifully, clicked installed.

May I ask, how can we set the layout better.

ie.

First Name
Albert Einstein

Would rather it appeared like:

First Name - Albert Einstein

Edit form BBcode

REmove \r\n from end of Question BBcode

Remove indent bbcode from Answer BBcode

bananalive 04-10-2009 08:59 AM

Quote:

Originally Posted by DontWannaName (Post 1787854)
Yes it is, greater than 4 months.

I'll fix this in next release.

Martyh 04-10-2009 10:40 AM

Hi,

If I wanted an unregistered user to view the form but not be able to submit it until they become registered, is there a setting for that or any way to accomplish it ?

Thanks

bananalive 04-10-2009 10:58 AM

Quote:

Originally Posted by Martyh (Post 1788121)
Hi,

If I wanted an unregistered user to view the form but not be able to submit it until they become registered, is there a setting for that or any way to accomplish it ?

Thanks

No setting but you could use form hooks.

Form Hook: Before Submit:
PHP Code:

if (!$vbulletin->userinfo[userid])
{
$complete false;
$preview true;
$formoutput 'Only registered users can submit this form.';



bananalive 04-10-2009 10:59 AM

Quote:

Originally Posted by Raptor (Post 1787722)
Still no joy - here is the error message

Were you logged in? If yes, did the username have any special characters in it?

chesterano 04-10-2009 11:00 AM

Hi,

Thanks for the mod! :) excellent work!

Is it possible set the question witch be a name of thread but without question?

ie.
wher you live? answer => London

and name new thead only: London

Thanks!

Martyh 04-10-2009 11:07 AM

Quote:

Originally Posted by bananalive (Post 1788128)
No setting but you could use form hooks.

Form Hook: Before Submit:
PHP Code:

if (!$vbulletin->userinfo[userid])
{
$complete false;
$preview true;
$formoutput 'Only registered users can submit this form.';



Awesome

Thank you,

Kiint 04-10-2009 12:51 PM

Quote:

Originally Posted by bananalive (Post 1787364)
You could use form hook to achieve this.

Form Hook: Form Start:
PHP Code:

if (!$q[7])
{
$q[7] = 3;


Replace 7 with correct question hash

Thanks, works great.

bananalive 04-10-2009 02:16 PM

Quote:

Originally Posted by chesterano (Post 1788133)
Hi,

Thanks for the mod! :) excellent work!

Is it possible set the question witch be a name of thread but without question?

ie.
wher you live? answer => London

and name new thead only: London

Thanks!

Yes use {q_149} in the threadtitle where 149 is the question hash

chesterano 04-10-2009 02:38 PM

Awesome :) Thanks! last one question,

Is it possible set the question and automatic uploaded attachments inside

ie.

Your idol?
Biography?


result with answer:

Quote:


Kurt Cobain

Kurt Cobain , Rock Musician / Guitarist Born: 20 February 1967 Birthplace: Aberdeen, Washington Died: 5 April 1994...

[ATTACH]miniature attachment[/ATTACH][ATTACH]miniature attachment[/ATTACH][ATTACH]miniature attachment[/ATTACH]


Thank you,


All times are GMT. The time now is 04:41 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.02396 seconds
  • Memory Usage 1,753KB
  • 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_php_printable
  • (8)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