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)

bananalive 04-11-2011 12:16 PM

Quote:

Originally Posted by VanHuek (Post 2182909)
I am wondering are you able to integrate this into a thread?

There are 3 possible ways I can think of...

1. You can link to a form.
HTML Code:

http://www.your-site.com/forum/misc.php?do=form&fid=1
2. You can add the form at the top of your thread, with a vBulletin plugin.
Create plugin with hook showthread_complete
PHP Code:

if ($threadid == 112)
{
  
$poll .= '<iframe src="misc.php?do=form&fid=1&embed=1" style="width: 100%; height: 400px; margin: 10px;"></iframe>';


Change 112 for appropriate threadid.
3. You could redirect 'New Replies' to the form.
Create plugin with hook newreply_form_complete
PHP Code:

if (in_array($threadinfo[threadid], array(1,2,3)))

  
header'Location: http://www.your-site.com/forum/misc.php?do=form&fid=1' ) ; 


Change 1,2,3 for appropriate threadids.

bananalive 04-11-2011 12:52 PM

1 Attachment(s)
Quote:

Originally Posted by wolfey (Post 2183336)
Excellent..Thank you

1 last thing for the grid questions...how do I make it not output the Grid Row entry for one that isnt selected

1. Import attached product file

2. Create plugin with hook easy_forms_post_form_start and php code:
PHP Code:

$hide_empty_grid true


bestword 04-11-2011 04:29 PM

It's more better if it could support Unicode.

clubvr4 04-12-2011 11:55 AM

Hello great hack!

Is it possible to make attachments mandatory?

Za4a Tuner 04-12-2011 01:27 PM

Hello,
i have two question to this mod:

1.)
How can i link the "new thread"-button of a forum to a form?
In a forum with the ID = 46 the "new thread" should be replaced by a form with the ID = 4
If someone like to create a new thread, he should use the form nr. 4, wich "Post a new Thread" in the forum.

2.)
The forum above MUST have a prefix, but not always the same prefix => users should be able to use a prefix that fits to the form.
I created a custom question with the following php-code inside:
PHP Code:

require_once(DIR '/includes/functions_prefix.php'); 
$thisanswer $q[$formbit[id]]; 
if (!
$form['forumid'])
{
$form['forumid'] = 46;
}
$prefix_options fetch_prefix_html($form['forumid'], $thisanswertrue); 
$answer '<select name="' $formbit[id] . '" id="q_' $formbit[id] . '" class="bginput">'
$answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>'
$answer .= $prefix_options
$answer .= '</select>'

The question will be shown on the form, but there are no prefixes displayed! How can i get it running?



Can anyone give me a help please?

kr Chris

Dozer826 04-14-2011 06:59 AM

One of the best mods I have on our forum, I love how much you can customize everything.

Works perfect for people creating applications to join our gaming community

Thanks!

Welshy2008 04-14-2011 07:14 AM

I am running vB4.0.7 currently and all forms have been taken from my 3.8.6 version.

I have just tried to add a new "e-mail to me" form, but I have several issues.

1. I have a prefilled username question (which doesn't align in the centre, like the others, but instead shows on the left under the question).

2. I enter an E-mail title and it doesn't save -I get diverted to http://www.myforum.com/#main-forums

3. The same thing happens when I select the tickbox for E-mail Form. (as number 2 above). Previously there was a box that appeared where I would enter the e-mail address that I want the form enailed to, this no longer shows.

4. Form Submit Limit Per User: doesn't save either

5. After Form is Submitted - Form submitted Message doesn't save.

Please can you help me with the above (or anyone else)? I desperately need your help in this, as I need to add these as soon as please.


I also have search engine friendly URLs and vBSEO installed.

Many Thanks.

zushiba 04-14-2011 04:26 PM

What would be the easiest way to go about putting a character limit on text and textarea fields?

Za4a Tuner 04-15-2011 01:05 PM

The limit ist set in the templates by the variable "maxlength=..."

kether1 04-15-2011 02:43 PM

Dom,

Is there a way to group all of a member's threads created when submitting via this forms modification?

For example:

Lets say a form can be submitted multiple times by a member.

When visiting the forum section where the form is published, is it possible to have all of 'Member A's' threads grouped together (like a sub-forum) and all of Member B's responses grouped together?

Like this:
FORUM where form creates a new thread.

Member A
----first submitted response,
----second submitted response,
----Third...

Member B
----First submitted response,

Member C
----first submitted response,
----second submitted response,
SO, when a member clicks on this forum, they see a list of sections titled with the username. And if they click that name, they see all of the threads that person created by submitting the form.

I hope I explained this where it can be understood. :)

Thanks!
Kether


All times are GMT. The time now is 02:08 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.02073 seconds
  • Memory Usage 1,757KB
  • 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
  • (4)bbcode_php_printable
  • (2)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