vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Easy Forms (Old Thread) (https://vborg.vbsupport.ru/showthread.php?t=200340)

Vinyljunky 01-06-2009 09:51 AM

Very nice

Thanks

VinylJunky

bananalive 01-06-2009 11:11 AM

Quote:

Originally Posted by Vitaly (Post 1702395)
hi, bananalive, i hope, you've got my preliminary respects :)

Tested 1.7.

1. It would be nice to replace groups selection with multibox, at least in mod settings. Product code looks like this:

Code:

<options>
<settinggroup name="general"  displayorder="30">
<setting varname="usergroupsexample"  displayorder="10">
<datatype>free</datatype>
<optioncode>usergroup:5</optioncode>
</setting>
</settinggroup>
</options>

Blank selection can meen "All groups" or "No Groups", depending on setting type. I don't know, if it's possible to use the same selection interface in form editor, but that would be very user-friendly - less time & less mistakes during setup.

That is very very useful - never seen it before. Two questions though: is it compatible with v3.6 and how can I use the array it outputs?

Its possible to do it on 'edit form' via custom query to do it quite easily - I'll add that soon.
Quote:

Originally Posted by Vitaly (Post 1702395)
2. It would be nice to have template editor for each form. For example, if standard template doesn't saticfy custom needs.

I don't think, that complicated editor is necessary, just a simple text area, where one can enter any bbcode & marcoses with variable names and values. If none entered - then standard one is used.

I like this idea :D.
Quote:

Originally Posted by Vitaly (Post 1702395)
(*) Please, list available macroses in product description.

Pardon my ignorance, but what are macroses?
Quote:

Originally Posted by Vitaly (Post 1702395)
3. About custom error messages and additional contact fields for the guests. I think, in my case, that's essention feature for user-friendly forms. But i don't insist. Anyway, nobody prevent me to add necessary modifications, when your product will be stable, without frequent changes. Of cause, will send you all changes to consider.

I apologise, that can't help with coding right now, because all my efforts are spent to my own mods, which will be available soon. But if additional donations can help, that's not a problem. Your product is one of "everybody must have".

p.s. thanks for all your help :D

Vitaly 01-06-2009 04:49 PM

Quote:

Originally Posted by bananalive (Post 1703171)
That is very very useful - never seen it before. Two questions though: is it compatible with v3.6 and how can I use the array it outputs?

No ideas about 3.6.

Output of that multiselection box (when you store settings in ACP) is a serialised array with selected groups IDs. Unserialise variable and enjoy :)

:5 (in example) = number of lines in box (if groups count is more, then scrolled)

Quote:

Pardon my ignorance, but what are macroses?
{username}, {q_1}, ...

That's my bad english :) .

Mike-D 01-06-2009 06:06 PM

Quote:

Originally Posted by bananalive

It'd be very helpful to provide a link without registering in that Forum!!!

bananalive 01-06-2009 08:49 PM

Quote:

Originally Posted by Vitaly (Post 1703429)
No ideas about 3.6.

Output of that multiselection box (when you store settings in ACP) is a serialised array with selected groups IDs. Unserialise variable and enjoy :)

:5 (in example) = number of lines in box (if groups count is more, then scrolled)

{username}, {q_1}, ...

That's my bad english :) .

Cheers :D, I'll add that in tomorrow.
Quote:

Originally Posted by Mike-D (Post 1703484)
It'd be very helpful to provide a link without registering in that Forum!!!

There are very recent screenshots in first post if you don't want to register.

EyeintheSky57 01-06-2009 10:00 PM

Is there any way to customize the Post Submit message?

Right now, after the form is submitted, a message comes up with a link to the thread where the data is posted.

That thread has restricted access so I would rather change the message to say something else.

Thanks.

bananalive 01-07-2009 02:09 PM

Quote:

Originally Posted by EyeintheSky57 (Post 1703671)
Is there any way to customize the Post Submit message?

Right now, after the form is submitted, a message comes up with a link to the thread where the data is posted.

That thread has restricted access so I would rather change the message to say something else.

Thanks.

This will be available with the next release.

abdelghani68 01-07-2009 03:04 PM

Can you made for the widh is 100% of the page please and there is a font with a color for the question...? thanks

bananalive 01-07-2009 04:22 PM

Quote:

Originally Posted by abdelghani68 (Post 1704257)
Can you made for the widh is 100% of the page please and there is a font with a color for the question...? thanks

To change the width of form to 100%:
  1. Open template form_view
  2. Find:
    HTML Code:

    <div style="width:640px" align="left">
  3. Replace with:
    HTML Code:

    <div style="width:100%" align="left">
You can use bbcode in question to make them coloured:
  • Example Code:
    HTML Code:

    [color=red]Question[/color]
  • Example Output:
    Question

ssslippy 01-07-2009 11:08 PM

The * and : are linked together. So if the question is not mandatory it removes the :. Also note that when you put a ? proper grammar says you should not have a : after it. I would totally remove the : and the person creating the form can add it.

Also I tried using the regular expression ^[a-zA-Z0-9\s]+$ which i use to restrict on user names of people who register on my forum. This only allows normal english and numbers.

I get this error

Code:

Warning: preg_match() [function.preg-match]: No ending delimiter '^' found in [path]/misc.php(97) : eval()'d code on line 596


All times are GMT. The time now is 04:02 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.01517 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_html_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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