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)

sanstarr 10-04-2011 04:13 AM

1 Attachment(s)
hi - thanks for your post.

still an error:

Quote:

Warnung: require_once([path]/includes/functions_wysiwygparser.php) [function.require-once]: failed to open stream: No such file or directory in [path]/forms.php (Zeile 368)

Fatal error: require_once() [function.require]: Failed opening required 'XXX/includes/functions_wysiwygparser.php' (include_path='.:/usr/share/php:..') in XXX/forms.php on line 368
:(

maybe the problem is, that "/includes/functions_wysiwygparser.php" doesn't exist.
use vb 4.1.X an other function with the ck-editor?

EDIT:

Found a solution:

Quote:

require_once(DIR . '/includes/class_wysiwygparser.php');
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
$q[$formbit[id]] = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC["message"], 0);
then the form is submit correct. but problems with formatting the text, or the bbcode - texts like:
"<br>&am p " and so on...


EDIT2

following:

$q[$formbit[id]] = $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC["message"], $vbulletin->options['pt_allowhtml']);

now the submited texts seems OK!!!
with correct formating etc.

for next release it must be a query for the vb version, that this mod can work with older and newer versions (with ck oder without)

something like this:

http://svn.vbulletin.org/trac/changeset/533/branches


now testing again... :)

edit3:

my forms.php -> see attachments ;)

djbaxter 10-04-2011 01:08 PM

Quote:

Originally Posted by bananalive (Post 2252861)
More than one ckeditor per form is not currently supported, due to the coding and required structure of ckeditor. Have you tried it with just one ck editor question?

That's probably not going to work for me.

...unless I make the others multiline text fields... hmmm.

Is there any way to allow editing the TYPE of item when you edit a question so I can convert from Editor fields to multi-line text fields without haveing to reconstruct the forms?

bananalive 10-04-2011 05:35 PM

1 Attachment(s)
v4.2.8
- another edit for ckeditor

@djbaxter edit editor question (not javascript popup) then you can swap editor for multiline text box

djbaxter 10-04-2011 08:07 PM

Quote:

Originally Posted by bananalive (Post 2253210)
@djbaxter edit editor question (not javascript popup) then you can swap editor for multiline text box

I don't understand. If I edit a question in a pre-existing form, I see no option to change the type of field anywhere.

djbaxter 10-04-2011 08:34 PM

There's another problem with v4.2.8. Now when I try to save any edit to the form, it redirects me to the FAQ and the changes aren't saved.

Sunka 10-04-2011 08:51 PM

For me (first install) all is working OK.
MOD v4.2.8

djbaxter 10-04-2011 08:59 PM

Quote:

Originally Posted by djbaxter (Post 2253253)
I don't understand. If I edit a question in a pre-existing form, I see no option to change the type of field anywhere.

OK. I understand now. I disable the popup editor in Settings.

bananalive 10-05-2011 08:53 AM

Quote:

Originally Posted by djbaxter (Post 2253263)
There's another problem with v4.2.8. Now when I try to save any edit to the form, it redirects me to the FAQ and the changes aren't saved.

Have you edited any of the templates? perhaps the form_edit template? If so revert them.

chrisngrod 10-05-2011 10:34 AM

Quote:

Originally Posted by bananalive (Post 2252864)
See screenshots for setting form up

Thanks for the reply.

I'm new to Vbulletin so I didn't see that I had not marked this as installed, but I went ahead and did and gave you a 5 star rating.

Your posted method works perfectly for e-mailing the form to the email field that was setup. However, I was hoping that there was a way to set the REPLY TO field in an e-mail.

I have a form that submits to myself and a Cricket Wireless Dealer. Cricket Wireless users submit this form to have changes made on their account. I was hoping that we could hit reply to on our e-mail and have it populate with their e-mail address. My dealer sometimes forgets to copy their e-mail into that field. By default it says it comes from the e-mail address we've inputted in Vbulletin (webmaster@cricketuser.....com).

Thanks again!

bananalive 10-05-2011 11:30 AM

Quote:

Originally Posted by chrisngrod (Post 2253530)
Thanks for the reply.

I'm new to Vbulletin so I didn't see that I had not marked this as installed, but I went ahead and did and gave you a 5 start rating.

Your posted method works perfectly for e-mailing the form to the email field that was setup. However, I was hoping that there was a way to set the REPLY TO field in an e-mail.

I have a form that submits to myself and a Cricket Wireless Dealer. Cricket Wireless users submit this form to have changes made on their account. I was hoping that we could hit reply to on our e-mail and have it populate with their e-mail address. My dealer sometimes forgets to copy their e-mail into that field. By default it says it comes from the e-mail address we've inputted in Vbulletin (webmaster@cricketuser.....com).

Thanks again!

Upgrade to Easy Forms v4.3.0


AdminCP -> Plugins & Products -> Add New Plugin

Create a plugin using hook: easy_forms_action_email

PHP Code:

$uheaders .= 'Reply-To: yourdealer@cricket.com' "\r\n"



All times are GMT. The time now is 06:50 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.03791 seconds
  • Memory Usage 1,756KB
  • 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_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