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)

valendono 02-01-2010 03:24 AM

on description before we can use bbcode, but after upgrade to 4.0.1beta form, there way we can use bbcode on description ? Example List Number bbcode.

EricPSF 02-01-2010 04:36 AM

Thanks! It is really a good & handy mod. Easy to use and saves me a lot of time in creating forms.

TimberFloorAu 02-01-2010 05:39 AM

*tagged*

Cleveregg 02-01-2010 09:12 AM

1 Attachment(s)
..Or am I missing the point of this mod - apologies if I am...

I'm trying to create a 'contact us' form.
ie If a 'non' admin wants to email, there is a contact form with a prescribed layout with mandatory fields for them to complete.

I don't want anyone (except me) to be able to create or edit forms...
Also, if someone clicks on the 'Forms' tab (shown in pics) then I just want them to be presented with the 'Contact Us' form...

I have attached a couple of pics - of the settings I have selected for Easyforms - and also the resulting look when I'm signed in as an 'admin'
(If I don't sign in as an admin - I see the 'no forms' message).

Hopefully I am doing something pretty basic wrong - or maybe I'm jumping the gun 'cos I know this is still 'beta' - If someone can let me know I'd appreciate it. :)

Cheers

ps ..still think this is a great mod :)

bananalive 02-01-2010 12:31 PM

Give registered users permission to 'View Forms List'

Quote:

Originally Posted by Cleveregg (Post 1971987)
..Or am I missing the point of this mod - apologies if I am...

I'm trying to create a 'contact us' form.
ie If a 'non' admin wants to email, there is a contact form with a prescribed layout with mandatory fields for them to complete.

I don't want anyone (except me) to be able to create or edit forms...
Also, if someone clicks on the 'Forms' tab (shown in pics) then I just want them to be presented with the 'Contact Us' form...

I have attached a couple of pics - of the settings I have selected for Easyforms - and also the resulting look when I'm signed in as an 'admin'
(If I don't sign in as an admin - I see the 'no forms' message).

Hopefully I am doing something pretty basic wrong - or maybe I'm jumping the gun 'cos I know this is still 'beta' - If someone can let me know I'd appreciate it. :)

Cheers

ps ..still think this is a great mod :)


bananalive 02-01-2010 12:34 PM

Quote:

Originally Posted by valendono (Post 1971856)
on description before we can use bbcode, but after upgrade to 4.0.1beta form, there way we can use bbcode on description ? Example List Number bbcode.

You should be able to use bbcode in Form Description as of version 4.0.1

bananalive 02-01-2010 12:42 PM

Quote:

Originally Posted by howard007 (Post 1971634)
Not really. I must be slow... :)

The problem is there is so much to learn and read with 4.0 suite. It would really be helpful for a small doc file explaining each feature.

Here is part of the old help file, it may be useful for you.

Editing Form
Are all fields compulsory?
No, only the questions proceeded by a * are compulsory.
What does each field do?
  • Title: This is the title at the top of the page when viewing the form. BB code allowed.
  • Description: (optional) This is displayed at the top of the form. It can be used to explain the form's purpose, give guidance, etc... BB code allowed.
  • Display Order: This controls the order the form is displayed in the form list. The higher the number (in comparison to other forms) the lower down the form list the form will be displayed.
  • Usergroups: (optional) This controls the usergroups allowed to view the form - this does not override permissions to view forms. Blank is all usergroups allowed.
  • Form Submit Message: (optional) This is the message display once the form has been submitted succesfully. If blank default will be used. This is also the redirect message (if checked)
  • Thread/ PM/ Email Title: (optional) This allowed you to use a different title for the thread/ pm/ email being created than the form title. If left blank then the Thread/ PM title will be the same as the form title. You can use the following macroses in the title: {username}, {userid} and {q_*}.
  • Category: (optional) All forms with the eaxct same category name will be grouped together in the form list under that name.
  • Allow attachments: (optional) Only avaliable for form creating new thread. Checked/ticked = yes, blank = no. Follows user's attachment rules.
  • Post a Poll: (optional) Creates a poll with the thread.
  • Allow multiple choice: (optional) Allows users to select more than one option when voting. Checked/ticked = yes, blank = no.
  • Make votes public: (optional) Usernames will be shown next to each poll option. Checked/ticked = yes, blank = no.
  • Poll Question: (optional) The question above the poll. If left blank the thread title will be used.
  • Poll Options: These are the choices in the poll. Separate each option with a new-line (carriage return).
  • Custom Form Output: (optional) You can create your own layout to the thread/ pm/ post/ email the form created. Allowed: BB code, $q[1] (replace 1 with the correct question #), $qn[1], $threadtitle, $form[title], {username}, $thisuser[username] (replace username with any user field). Leave blank to use default layout.
  • Question BBcode: (optional) Customise how the form's questions look in the thread/ pm/ post created by the form. Opening BB code in the box on the left and closing BB code in the box on the right.
  • Answer BBcode: (optional) Customise how the form's answers look in the thread/ pm/ post created by the form. Opening BB code in the box on the left and closing BB code in the box on the right.
  • Section BBcode: (optional) Customise how the form's sections look in the post created by the form. Opening BB code in the box on the left and closing BB code in the box on the right.
  • Form BBcode: (optional) The code in the left box goes after the form title and the code in the box on the right goes at the end of the post.
  • Form Hook: (optional) This allows php code to be executed before the form is submitted. You can run your own validation on fields, for example checking the user clicks 'Yes' on a yes/no question.


Macroses
What are macroses?
Macroses are variables used in easy forms for replacement with their value.
What macroses are there?
  • {username} username of the user submitting the form
  • {userid} userid of the user submitting the form
  • {formtitle} form title of the form being submitted
  • {threadtitle} thread/pm/email title of the form being submitted (if it is blank it be the same as the form title)
  • {q_*} replace the question id with the *, for example to show question 1's output you would use {q_1}
  • {qn_*} replace the question id with the *, for example to show question 1's question text you would use {qn_1}

chesterano 02-01-2010 01:47 PM

Is there a way that we can integrate with [Ajax] Check for similar thread before posting a new one

chsmith700 02-01-2010 02:10 PM

bananalive,

I am trying to get this to email to a form question. We have a drop down with email address, I need the form to be emailed to the selection on that drop down. Can you please help?

Sarcoth 02-01-2010 02:51 PM

Quote:

Originally Posted by bananalive (Post 1970439)
How can I have a question which uses a query?
The following example gets a list of threads in the forumid 10.

1. Create 'Custom' question
2. Use following php Code:
PHP Code:

$answer '<select name="'.$formbit[id].'">';
      
$answer .= '<option></option>';
      
$thisanswer $q[$formbit[id]];
      
$threads $db->query_read("SELECT * FROM " TABLE_PREFIX "thread
      WHERE forumid = '10'
      ORDER BY title ASC"
);
          while(
$row $db->fetch_array($threads)) {
      
$answer .= '<option value="'.$row[threadid].'"';
      if (
$row[threadid] == $thisanswer) {
      
$answer .= 'selected="selected"';
      }
      
$answer .= '>'.$row[title].'</option>';
      }
      
$answer .= '</select>'


Alright, now that is impressive! Can you tell me the code I would need to do a query on the profilefields (i.e. field8)? I'd like to pull that field and then just have it added to the form without the user having to enter it again.


All times are GMT. The time now is 11:05 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.01854 seconds
  • Memory Usage 1,776KB
  • 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_php_printable
  • (4)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