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 01-14-2012 11:17 AM

Quote:

Originally Posted by mairving (Post 2287079)
I have tried installing this mod by following the instructions, but when I try to go to the form page (http://memphisroar.com/forum/forms.php?do=forms), I get a 404/page not found error. What doofus mistake did I make? LOL

Have you uploaded forms.php to forum directory?

bananalive 01-14-2012 11:18 AM

Quote:

Originally Posted by chrisngrod (Post 2280505)
I still absolutely love this mod, and it's helped me greatly.

My forms get sent to an e-mail address, and I'd like the reply to go to the user who submitted it (their e-mail address).

Earlier bananalive responded about a plugin and hook:



and to use this...
$uheaders .= 'Reply-To: = email@domain' . "\r\n";

I'm actually looking for the code to replace email@domain with the email address of the user who submitted the form if possible. I've tried a few variations and failed unfortunately.

Thanks in advance!

$uheaders .= 'Reply-To: = ' . $vbulletin->userinfo['email'] . "\r\n";

bananalive 01-14-2012 11:19 AM

Quote:

Originally Posted by helwoe (Post 2216063)
Sorry for the double post.

Thank you very much Bananalive for the multi-select code!
I found if I use more than one custom question with this code, the extra questions show up as double drop downs side by side instead of just one drop down each.

PHP Code:

$answer .= '<select name="'.$formbit[id].'[]" multiple="multiple" size="4">';
$answer .= '<option></option>';
$thisanswer explode(',',$qo[$formbit[id]]);
$members $db->query_read("SELECT * FROM " TABLE_PREFIX "user
WHERE membergroupids LIKE \"%17%\"
ORDER BY username ASC"
);
    while(
$row $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if (
in_array($row[username], $thisanswer)) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>'


Use following code..
(first line changed .= to =)
PHP Code:

$answer '<select name="'.$formbit[id].'[]" multiple="multiple" size="4">';
$answer .= '<option></option>';
$thisanswer explode(',',$qo[$formbit[id]]);
$members $db->query_read("SELECT * FROM " TABLE_PREFIX "user
WHERE membergroupids LIKE \"%17%\"
ORDER BY username ASC"
);
    while(
$row $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if (
in_array($row[username], $thisanswer)) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>'


chrisu 01-15-2012 08:51 AM

Hi all,

tried to find an answer, but no luck.

Can I add a form inline into an article?
Is there a BB Code or something to add into an article so that a form could be filled inside an article?

Reg

/chris

bananalive 01-19-2012 05:21 PM

Quote:

Originally Posted by chrisu (Post 2288073)
Hi all,

tried to find an answer, but no luck.

Can I add a form inline into an article?
Is there a BB Code or something to add into an article so that a form could be filled inside an article?

Reg

/chris

If html is enabled for article...

Embed using <iframe>

http://www.yourforum.com/forums/misc...&fid=2&embed=1
Change 2 to the appropriate form id

chrisu 01-20-2012 04:27 PM

Thanks, it helps. Although the form is not formatted like normal. Can I add the css styling with some tag?

/chris

Welshy2008 01-23-2012 09:14 AM

Can anyone confirm this great mod as working flawlessly on 4.1.10 please?

vrokar 01-23-2012 05:46 PM

Quote:

Originally Posted by Welshy2008 (Post 2291325)
Can anyone confirm this great mod as working flawlessly on 4.1.10 please?

I cant. Have it all installed and I still cant even access the page to build the form. Which should be noted isnt even listed on this mods description. You currently have to search around page 30 or so with the information pointing to the older version which does list it. however I digress, as an administrator this mod says I dont have permission to use it. Sooo... until I see otherwise. No good.

Valcav 01-23-2012 06:56 PM

I have problems with editing the form...

(an error/warning is that it's missing "jquery-1.4.4.min.js")

vinkenier 01-24-2012 06:50 AM

Can I let guest/not registered visitors see and fill in the forms also?
The link to the forms doesn't show up for them on the menu (using vb 4.1.9)

-> fixed by also enabling 'list forms' for every group.


All times are GMT. The time now is 12:46 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.02383 seconds
  • Memory Usage 1,760KB
  • 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
  • (5)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