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)

cookiepants 03-11-2009 05:18 AM

Quote:

Originally Posted by bananalive (Post 1763376)
'Poll:' is from vbulletin as thread is a poll.

Import attached file and add to form hook: before submit

PHP Code:

$closed true


Will that remove or delete previous posts using this hack?

SnowBot 03-11-2009 09:16 AM

Quote:

Originally Posted by lazyseller (Post 1765457)
It be nice if someone could come up with some a form pack. Im not volunteering!

I would even pay a little for it

bananalive 03-11-2009 02:00 PM

Quote:

Originally Posted by cookiepants (Post 1765463)
Will that remove or delete previous posts using this hack?

no, only new posts are created.

bananalive 03-11-2009 02:03 PM

Quote:

Originally Posted by Trek (Post 1765277)
Ok, I'm finally redoing my old form and I have to say... this really is easy! Nice work!

I've found one bug though (no idea if it's been reported already or not, too much to sort through in this thread.)

Anyway, if you don't end your form question with a ? it will automatically add a : to the end of your sentence, even if you don't want it. ;) Not a big deal, but a little annoying to assume what I want. ;)

Anyway, excellent work!

That was intention.

Find
PHP Code:

$formbit['question'] = $formbit['question'] . ":"

Replace
PHP Code:

/*$formbit['question'] = $formbit['question'] . ":";*/ 


Gizmo999 03-11-2009 07:29 PM

is it possible to change the date formatting on question and output to D/M/Y not M/D/Y?

frogster 03-12-2009 01:32 AM

Quote:

Originally Posted by bananalive (Post 1762363)
Is this for all posts, or just ones created with Easy Forms?

Just saw you had replied...It happens for any post BUT it didn't happen before I installed your update for the moderated posts issue...not sure what happened.

Thanks.

Gizmo999 03-12-2009 12:53 PM

I've got a problem where the recipient of hte email sent is getting blank emails, the PM works fine, database stores the record and if I set the email to me I see it but the person I need to can't. I'm not sure but I think it might be because the form output starts each line with an * and this seems to make the content invisible, is tere anyway to alter the character used?

its really useful to have that character before and after the question as I'm using them as delimiters to allow data import into excel, previous to this update I had to start each question with my delimiter and end each question with my delimiter.

bananalive 03-12-2009 02:16 PM

Quote:

Originally Posted by Gizmo999 (Post 1765943)
is it possible to change the date formatting on question and output to D/M/Y not M/D/Y?

Edit template: form_formbit_date

HTML Code:

<tr>
              <td class="smallfont" style="vertical-align: top; font-weight: bold;">$formbit[question]
                          <if condition="$formbit[description]!=''"><br /><i><span style="font-weight: normal;">$formbit[description]</span></i></if><if condition="$iqs && in_array($formbit[id], $iqs)"><br />$vbphrase[empty_field]</if><if condition="$formbit[inputerror]"><br />$formbit[inputerror]</if></td>
                          <td class="smallfont">
                        <table border="0" cellpadding="0" cellspacing="3">
                        <tbody><tr>
                                <td>
                                        <input class="bginput" style="font-size: 11px;" name="$formbit[id][day]" value="$formbit[day]" size="3" maxlength="2" title="$vbphrase[day]" tabindex="1" type="text">
                                        <select name="$formbit[id][month]" title="$vbphrase[month]" tabindex="1">
                                                <option value="1" <if condition="$formbit[month] == 1">selected="selected"</if>>$vbphrase[january]</option>
                                                <option value="2" <if condition="$formbit[month] == 2">selected="selected"</if>>$vbphrase[february]</option>
                                                <option value="3" <if condition="$formbit[month] == 3">selected="selected"</if>>$vbphrase[march]</option>
                                                <option value="4" <if condition="$formbit[month] == 4">selected="selected"</if>>$vbphrase[april]</option>
                                                <option value="5" <if condition="$formbit[month] == 5">selected="selected"</if>>$vbphrase[may]</option>
                                                <option value="6" <if condition="$formbit[month] == 6">selected="selected"</if>>$vbphrase[june]</option>
                                                <option value="7" <if condition="$formbit[month] == 7">selected="selected"</if>>$vbphrase[july]</option>
                                                <option value="8" <if condition="$formbit[month] == 8">selected="selected"</if>>$vbphrase[august]</option>
                                                <option value="9" <if condition="$formbit[month] == 9">selected="selected"</if>>$vbphrase[september]</option>
                                                <option value="10" <if condition="$formbit[month] == 10">selected="selected"</if>>$vbphrase[october]</option>
                                                <option value="11" <if condition="$formbit[month] == 11">selected="selected"</if>>$vbphrase[november]</option>
                                                <option value="12" <if condition="$formbit[month] == 12">selected="selected"</if>>$vbphrase[december]</option>
                                        </select>
                                        <input class="bginput" style="font-size: 11px;" name="$formbit[id][year]" value="$formbit[year]" size="5" maxlength="4" title="$vbphrase[year]" tabindex="1" type="text">
                                </td>
                        </tr>
                        </tbody></table>
                          </td>
            </tr>


bananalive 03-12-2009 02:18 PM

Quote:

Originally Posted by frogster (Post 1766164)
Just saw you had replied...It happens for any post BUT it didn't happen before I installed your update for the moderated posts issue...not sure what happened.

Thanks.

Odd, the script only runs on misc.php pages

Try disabling Easy Forms and see if you still get the problem.

bananalive 03-12-2009 02:21 PM

Quote:

Originally Posted by Gizmo999 (Post 1766426)
I've got a problem where the recipient of hte email sent is getting blank emails, the PM works fine, database stores the record and if I set the email to me I see it but the person I need to can't. I'm not sure but I think it might be because the form output starts each line with an * and this seems to make the content invisible, is tere anyway to alter the character used?

its really useful to have that character before and after the question as I'm using them as delimiters to allow data import into excel, previous to this update I had to start each question with my delimiter and end each question with my delimiter.

bold bbcode tags get replaced with asterisks by vbulletin's plain bbcode parser. so if you remove all the [b] bbcode then you won't get any asterisks interfering


All times are GMT. The time now is 03:56 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.02180 seconds
  • Memory Usage 1,774KB
  • 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
  • (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
  • (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