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)

Heckwork 11-15-2013 02:17 PM

Quote:

Originally Posted by Heckwork (Post 2460884)
I'm trying to pass a value to a form field with:
Code:

<a href="misc.php?do=form&fid=1&val1=test-123">Link</a>
in Form Hook Before Submit:
Code:

$val1 = $qo[50];
But it's not working. Any suggestions?

Ok, I got it
Code:

<a href="misc.php?do=form&fid=1&val1=test-123">Link</a>
Hook: Form Start:
Code:

$q[50] = $_GET['val1'];

Za4a Tuner 11-16-2013 12:22 PM

Hello,
i use php 5.4.18 and vB 4.2.1pl1

When i try to edit a question, the fields are empty!
Sending a form doesn't work, because "the title and the textfile is empty".

How can i fix this???

kr Chris

Gamelobby 11-17-2013 09:46 PM

Weird issue..

I have used this for years, & the form that i have using still works fine, but i added a new one & it has issues.?
Since it was having issues i updated this mod, but nothing changed, the new form still doesn't work & the old one still works fine.

The issue of the new form is that it will post in the correct thread, but only the title.. the post is basically blank (except for username & title) none of the questions or answers.

Here is what i have in the Form Output Styling.. (custom form output)
Code:

{username} - {formtitle}

{qn_1}
{qo_1}

{qn_2}
{qo_2}

{qn_3}
{qo_3}

{qn_4}
{qo_4}

{qn_5}
{qo_5}

{qn_6}
{qo_6}

{qn_7}
{qo_7}

**edit**

Ok i got that issue fixed, it was the question numbers, they weren't 1-7 they were like 72-80 or something.

But my next question/issue is the bbcode doesn't seem to be working. It's not the end of the world, but it would be nice to have it look nice.
bbcode is not affecting the post whatsoever.

Here is what i have in the Form Output Styling
HTML Code:

Form Output Top BB code: [CENTER][B][SIZE=5][COLOR=Black]{formtitle}[/COLOR][/SIZE][/B][/CENTER]

Question BB code: Bold BBCode (not working in this post for somereason)

Answer BB code: [I][INDENT]  [/INDENT][/I][INDENT][/INDENT] 
Section BB code: [SIZE][U]  [/SIZE][/U]
 
Form BB code: Blank (what does this mean.?)


Domenico 11-22-2013 11:28 AM

Can a form be made default for only the thread starter in a chosen forum ?

audzilla 12-06-2013 06:50 PM

Quote:

Originally Posted by springchiken (Post 2362452)
bananalive

Had a question for you. Is there anyway to get the max text amount over 5000 i need it to be around 5600-6000. Some of are forms a very large.

I'm having this same problem. Board-wide, my maximum post limit is 15000 characters, but the form is still being capped at 5K. Is this a hard limit or can I edit it somewhere?

Thanks!

fortforum 12-06-2013 07:41 PM

Had this mod for years, but on 4.3.0 on a 4.2.2 board, the dropdowns of "Questions" and "answers" are totaly empty. "Other variables" work, however. Any ideas, help needed.

audzilla 12-06-2013 10:20 PM

Quote:

Originally Posted by audzilla (Post 2466370)
I'm having this same problem. Board-wide, my maximum post limit is 15000 characters, but the form is still being capped at 5K. Is this a hard limit or can I edit it somewhere?

Thanks!


For anybody else who's butting up against a 5000 character form length, the answer for me was that I was sending a copy of the form via Private Message, and that's where the character limit was.

fortforum 12-07-2013 10:56 AM

Hey folks,

trying realy hard to get this to work, but it just won?t. Running EF 4.3.0 on vb 4.2.2.

I do it exactly as here, but all i get is the ordinary newthread. I used it also in vb3.8, but there i used two plugs if im not mistaken.


Quote:

Originally Posted by fwulfers (Post 2404494)
I had to make a few adjustments but your post pointed me in the right direction. Clicking the New Thread button now goes to the correct form. Thanks so much! :up: :up:

New php plugin

Hook Location: newthread_form_start

Title: Easy Forms New Thread Button

Execution Order: 5

Plugin PHP code

PHP Code:

if (in_array($forumid, array(221)))
{  
header('Location: http://mywebsite.com/misc.php?do=form&fid=1') ;  
}
if (
in_array($forumid, array(222)))
{  
header('Location: http://mywebsite.com/misc.php?do=form&fid=2') ;  


For each forum and form, just keep adding code where the array(xxx) is the forum id and fid=xx is the form id.

Plugin is Active: Yes


tommyxv 12-09-2013 06:21 PM

Anyway to limit a form to a certain number of submissions? Say I need 10 members to registered. After 10 no one else can submit the form.

audzilla 12-10-2013 06:34 PM

I'm getting this error on submitted forms:

Warning: Only variables should be passed by reference in ..../forms.php on line 771

My site's recently gotten a lot more traffic, and I've parked a second domain pointing to it. Otherwise everything is the same. Anybody run into this?


All times are GMT. The time now is 12:48 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.03018 seconds
  • Memory Usage 1,758KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_html_printable
  • (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
  • (4)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