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)

Sarcoth 08-24-2010 11:26 AM

@ Laric - I've seen the answer to this on another page. I even provided a link to it on this page (15).

Stryker412 08-24-2010 05:12 PM

I have a small issue, I was able to export my form from my vb3 install to our new vb4 install. Everything works great except there's an issue with the drop down questions. The box with the options are very narrow and the full text cannot be seen.

reesev 08-24-2010 10:37 PM

Quote:

Originally Posted by bananalive (Post 2084808)
  1. Create Custom Question with:
    Reference Name: forumid
    PHP Code:
    PHP Code:

    $answer "<select name=\"$formbit[id]\" id=\"q_" $formbit[id]  ."\">";

    foreach (
    $vbulletin->forumcache AS $forumid  => $forum)
    {
    if (
    $qo['forumid']==$forumid)
    {
    $forum['selected'] = ' selected="selected"';
    }
    $answer .= "<option value=\"$forumid\"$forum[selected]>$forum[title]</option>";
    }
    $answer .= "</select>"

  2. Edit Form -> Form Hook: Before Submit:
    PHP Code:

    $forumid $form['forumid'] = $qo['forumid']; 


This worked great is there a easy way to make it only show certain forums instead of listing them all?

thanks in advance

laric 08-25-2010 09:02 AM

Quote:

Originally Posted by Sarcoth (Post 2088787)
@ Laric - I've seen the answer to this on another page. I even provided a link to it on this page (15).

Thanks for that one. The problem is that I don't want all of the form posted on the second post. I want a subset of the questions/answers in the second post.

stationar 08-28-2010 03:19 AM

For some reason all form results are gone. I get: Error, this form does not have any results stored in the database.
I checked in the database, and yes, the "formresults" table is empty.
I checked moderators log for product "Easy Forms", and it didn't contain any data. So, moderators actions don't get logged?

temporaryins 08-29-2010 05:39 AM

Might be considered a weird question but...

Is there any way to implement a "time it took to complete" function for a form, that would then be shown at some point on the submission?

bananalive 08-29-2010 07:59 PM

Quote:

Originally Posted by stationar (Post 2090594)
For some reason all form results are gone. I get: Error, this form does not have any results stored in the database.
I checked in the database, and yes, the "formresults" table is empty.
I checked moderators log for product "Easy Forms", and it didn't contain any data. So, moderators actions don't get logged?

Weird... there is not a button to delete all of them, so they must have deleted all of them individually.

No, Easy Forms does not create any logs.

bananalive 08-29-2010 08:02 PM

Quote:

Originally Posted by reesev (Post 2089085)
This worked great is there a easy way to make it only show certain forums instead of listing them all?

thanks in advance

Change 1,2,3 with appropriate forumids in below example:
Quote:

Originally Posted by bananalive (Post 2084808)
  1. Create Custom Question with:
    Reference Name: forumid
    PHP Code:
    PHP Code:

    $answer "<select name=\"$formbit[id]\" id=\"q_" $formbit[id]  ."\">";

    foreach (
    $vbulletin->forumcache AS $forumid  => $forum)
    {
    if (!
    in_array($forumid, array(1,2,3)))
    {
    continue;
    }
    if (
    $qo['forumid']==$forumid)
    {
    $forum['selected'] = ' selected="selected"';
    }
    $answer .= "<option value=\"$forumid\"$forum[selected]>$forum[title]</option>";
    }
    $answer .= "</select>"

  2. Edit Form -> Form Hook: Before Submit:
    PHP Code:

    $forumid $form['forumid'] = $qo['forumid']; 



bananalive 08-29-2010 08:05 PM

Quote:

Originally Posted by Stryker412 (Post 2088948)
I have a small issue, I was able to export my form from my vb3 install to our new vb4 install. Everything works great except there's an issue with the drop down questions. The box with the options are very narrow and the full text cannot be seen.

As of v4.1.7 you can change width of dropdown <select>s.

Edit: just realised i have not released v4.1.7 yet... so I will now.

ascroft 08-30-2010 08:24 AM

Hi - this is neat. Thanks. Can I use the same form across multiple forums? Or do I have to copy in to each forum. I was hoping a user could select from a predefined list??


All times are GMT. The time now is 06:04 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.02049 seconds
  • Memory Usage 1,762KB
  • 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_php_printable
  • (6)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