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)

HM666 02-16-2016 01:41 AM

Another question...How do i make a form highlight to a tab in the built in navigation other than the Forums tab?


EDIT: I have solved this myself with the following plugin code for those who might want to do this in the future. :)

PHP Code:

if ($GLOBALS['fid'] == '1')  $root 'tab_abc_123'

Be sure to put the correct form id number where I have the number one & make sure that your tab_abc_123 is the tab of the tab you want to be highlighted.

IggyP 02-16-2016 03:02 AM

vb5 maybe almost ready...would love to see something like this for that

HM666 02-16-2016 03:51 AM

Quote:

Originally Posted by IggyP (Post 2565014)
vb5 maybe almost ready...would love to see something like this for that

Don't hold your breath. bananalive rarely comes on here these days.

wolfey 04-04-2016 09:57 AM

I want to make a start of day checklist, that must be completed before user can view forum

Basically unless each answer equals "Yes" user will be banned status not able to proceed,
Once all questions "Yes" banned would be removed.

Can someone direct me to the hooks I would use?

ne_one 06-17-2016 03:14 PM

I've scanned through the message history but haven't been able to find any hints for this:

Is it possible to pre-populate the selected value of a dropdown or date using the hooks?

audzilla 06-23-2016 03:47 PM

Out of nowhere, I've recently had a form that started giving the following error:

Form failed to submit. The following error(s) occured:
Please complete both the subject and message fields.

More specifics about behavior:
* I'm running 4.2.3 patch 1, php5.4, and the current version of Easy Forms
* If I fill out a form entirely with the word "test" it succeeds; if I use huge blocks of Lorem Ipsum it's fine; if I use "real" content (which is not in any way weird, but is pasted from google docs and potentially carrying formatting tags?) I get the error.
* There is no conflict in {q_*} tags between different forms, unless something has gotten scrambled on the back end and reassigned numbers around.
* This just started happening in the last week when my webhost depricated php5.3 and pushed us to 5.4.

Update: It chokes on copied characters from text editors such as fancy "smart quotes" or a condensed ellipses. It used to handle these gracefully but no longer!

bananalive 06-26-2016 06:23 PM

1 Attachment(s)
Quote:

Originally Posted by audzilla (Post 2572423)
Out of nowhere, I've recently had a form that started giving the following error:

Form failed to submit. The following error(s) occured:
Please complete both the subject and message fields.

More specifics about behavior:
* I'm running 4.2.3 patch 1, php5.4, and the current version of Easy Forms
* If I fill out a form entirely with the word "test" it succeeds; if I use huge blocks of Lorem Ipsum it's fine; if I use "real" content (which is not in any way weird, but is pasted from google docs and potentially carrying formatting tags?) I get the error.
* There is no conflict in {q_*} tags between different forms, unless something has gotten scrambled on the back end and reassigned numbers around.
* This just started happening in the last week when my webhost depricated php5.3 and pushed us to 5.4.


Update: It chokes on copied characters from text editors such as fancy "smart quotes" or a condensed ellipses. It used to handle these gracefully but no longer!

Try attached.

bananalive 06-26-2016 06:27 PM

Quote:

Originally Posted by ne_one (Post 2572190)
I've scanned through the message history but haven't been able to find any hints for this:

Is it possible to pre-populate the selected value of a dropdown or date using the hooks?

Form Hook: Form Start:

PHP Code:

if (!$qo)
{
$q['70'] = "Yes";
$qo['70'] = "Yes";
$qa['70'] = "Yes";



ne_one 07-11-2016 06:12 PM

Quote:

Originally Posted by audzilla (Post 2572423)
Out of nowhere, I've recently had a form that started giving the following error:

Form failed to submit. The following error(s) occured:
Please complete both the subject and message fields.

More specifics about behavior:
* I'm running 4.2.3 patch 1, php5.4, and the current version of Easy Forms
* If I fill out a form entirely with the word "test" it succeeds; if I use huge blocks of Lorem Ipsum it's fine; if I use "real" content (which is not in any way weird, but is pasted from google docs and potentially carrying formatting tags?) I get the error.
* There is no conflict in {q_*} tags between different forms, unless something has gotten scrambled on the back end and reassigned numbers around.
* This just started happening in the last week when my webhost depricated php5.3 and pushed us to 5.4.


Update: It chokes on copied characters from text editors such as fancy "smart quotes" or a condensed ellipses. It used to handle these gracefully but no longer!

Can you confirm if the update addressed this issue?

I've just encountered the same problem when special characters are used for quotes.

Note: I attempted to drop in the same updated code with my existing form and it resulted in a database error.

Ov3rrun 07-13-2016 06:15 PM

Hi, great mod! Is there a way to make compatible with mobile style?


All times are GMT. The time now is 04:51 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.02440 seconds
  • Memory Usage 1,752KB
  • 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_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