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)

drainpan 04-06-2010 08:30 PM

Quote:

Originally Posted by bananalive (Post 2016726)
I think you will be using the wrong question hashes for custom output - see image below.

https://vborg.vbsupport.ru/attachmen...1&d=1270551609

I knew it was something simple.

Thanks... the best

Supramania 04-07-2010 05:00 PM

Quote:

Originally Posted by bananalive (Post 2016733)
I've tried importing your forms and they work for me

There is nothing in Easy Forms code which limits the strings so I've got no idea what could be causing it.

I've tried everything I can think of.

I uninstalled the product.
I manually dropped the results table from SQL just to be sure. (Uninstaller doesn't do this)
I re-uploaded the misc.php file to be sure it's not a problem with that.
I re-uploaded the .js and .css files.
I've reinstalled the product & reimported one of the .xml files.

Same results.. :(

Not sure where to go from here. I'd really hate to be forced abandon this mod.

Anyone out there have any suggestions I haven't tried yet?

Cadellin 04-07-2010 05:46 PM

Quote:

Originally Posted by bananalive (Post 2016732)
When creating the date question you have the option for date format

Thanks - I created the questions before that option was added - Duh! should have checked!

XLCR GODFATHER 04-09-2010 02:38 AM

will I still have the forms I created in a previous version if I upgrade to the newest version?

Cedric_FP 04-09-2010 12:36 PM

What function does "Save to database" have?

Is it simply for saving the progress of a form?

Also, is there anyway to to use the "Add post to thread" function similarly to a "post new reply" button?

As in, the form can automatically fill in the thread ID depending on the referring URL for the form (as the referring URL will contain the thread id if used instead of a new reply button)?

apietersen 04-09-2010 08:32 PM

Thanks for this mod

- remark: I have a kind of corurpted window when selecting edit question. Can not use it beacuse questionfields do overlap each other. I this a bug or a problem on my site? - this happend from the first version I have installed until 4.0.7

Cedric_FP 04-10-2010 07:49 AM

bananalive,

Could you post the code for creation of a new thread to enter into Form Hook: Before Submit, but using the "build_new_post" function instead of the datamanager?

MikeWarner 04-11-2010 05:18 PM

Strange - I added the plugin to redirect to the forms when clicking "New Thread" in certain forums, however it doesn't work properly. It goes to the normal thread post page. When you fill that in and hit submit, it then takes you to the form. However, if you ignore this, you find the post has been made.

Any ideas? I'm using vBSEO, but it did work in vB3.7 with vBSEO running.

Is there another way to link from the New Thread buttons - i.e. conditionals in the templates?

Please help, Thanks

XLCR GODFATHER 04-13-2010 04:41 PM

Will I lose any of my current forms or form results if I upgrade?

MikeWarner 04-14-2010 07:38 AM

My content stayed when upgrade. You can download the forms it you are worried about it though - then reupload. :)

XLCR GODFATHER 04-15-2010 03:15 PM

Quote:

Originally Posted by MikeWarner (Post 2020960)
My content stayed when upgrade. You can download the forms it you are worried about it though - then reupload. :)

Thank you.
Not so much worried about the forms as I have them saved as xmls was more worried about loosing the results :eek:

jdj 04-16-2010 04:42 PM

Hello

Just installed this on 4.0.3. Seems to work but I've only just started playing around. I had a quick search on this thread for the answer to this question, couldn't see it so apologies if I missed it.

How do you change the title of the tab from "forms" to something else?

Bobbo 04-21-2010 03:43 PM

[Does anyone know how I could set the value of the redirect URL from the before submit plugin location?

I build redirect URLs on the fly based in part on form field selections as well as a db query. So for example, I will need to redirect a user to
Code:

http://site.com/file.php?example=(question1result)&example2=(queryresult)

Nevermind... figured this one out.

Looks like the variable $form[redirecturl] is used for the redirect. I can simply set this in the plugin like below, where $qo_1 is the answer to question 1 on the form... Hope someone finds it useful.

Code:

$form[redirecturl = "http://site.com/file.php?example=".$qo_1."&example2=".$queryresult;

crazyace 04-22-2010 12:30 PM

Any way to chance the TAB name from forums to something else?

Bobbo 04-22-2010 07:49 PM

Quote:

Originally Posted by crazyace (Post 2025356)
Any way to chance the TAB name from forums to something else?

Sure. Go into the Admin CP and search through your global phrases (mine was on page 17) for the phrase called Forms. Enter any custom name you want there. :)

riskofficer 04-24-2010 05:51 PM

Hello! Greate job, thank you! Can you answer one question :) is there any way to export form results to excel or in xml format. Not form, but results, table. Thank you ones more.

P.S. And one more question, not so important, but, do you plan to do "depended quetion". I mean, for example, we have drop down menu, we choose option, then we got another question and options are depended on what you choose before. Sorry my english!

XLCR GODFATHER 04-24-2010 06:07 PM

Quote:

Originally Posted by riskofficer (Post 2026623)
Hello! Greate job, thank you! Can you answer one question :) is there any way to export form results to excel or in xml format. Not form, but results, table. Thank you ones more.

P.S. And one more question, not so important, but, do you plan to do "depended quetion". I mean, for example, we have drop down menu, we choose option, then we got another question and options are depended on what you choose before. Sorry my english!

Good Question I would like both features as well.

Exporting results would be beneficial for business proposal purposes.

And the other would help eliminate larger forms with multiple questions that sometimes may not pertain if another question is a no answer or having multiple forms solely for small variables.

riskofficer 04-24-2010 06:40 PM

Quote:

Originally Posted by XLCR GODFATHER (Post 2026631)
Good Question I would like both features as well.

Exporting results would be beneficial for business proposal purposes.

And the other would help eliminate larger forms with multiple questions that sometimes may not pertain if another question is a no answer or having multiple forms solely for small variables.

Exactly! May be, for sure, I'd like to point attention, that when I have wrote about export I ment export feature for allowed usergroups, not just for administrators (because we can export directly from mysql).

XLCR GODFATHER 04-24-2010 06:55 PM

Quote:

Originally Posted by riskofficer (Post 2026646)
Exactly! May be, for sure, I'd like to point attention, that when I have wrote about export I ment export feature for allowed usergroups, not just for administrators (because we can export directly from mysql).

Was unaware of the ability to export from mysql. I must of missed that but then again I am still learning php and mysql. A bit hard to find local help for questions pertaining to them.

riskofficer 04-24-2010 10:20 PM

I'm sorry, I don't want to be annoying, but I've got one more question: is there any way to edit submitted form result? For example, I've submitted answers, but got new information and decided to change something in my answers, how can I do this. Or, for example, moderator needs to change something in submitted answers?

Summarizing:

* Please, let us export results to excel/xml
* Editing of submitted results
* Depended options

HolyKiller 04-25-2010 07:31 PM

Hi,

can anyone help me how to use that template hook in form before submit? I want to add some php confrim dialog when user click on "Submit". So for example user need to accept custom rules by clicking on "YES" button and form will be sent, otherwise nothing happend (stay on form page).

Thanks :)

Holy

raiher 04-25-2010 09:22 PM

Is there anyway to make it so all users can create forms, but only admins can edit and delete them?

riskofficer 04-27-2010 05:14 AM

1 Attachment(s)
How can I change a width of particular column in Form Results Table (see attached picture, please)?

Max Paint 04-27-2010 02:30 PM

(1) Cannot DELETE forms

(2) Is it possible to disable FormResults and FormResultsTable for special usergroups (even Admins) and only enable FormResultPOLLS (so you can use the forms anonym)

riskofficer 04-27-2010 03:26 PM

Quote:

Originally Posted by riskofficer (Post 2027963)
How can I change a width of particular column in Form Results Table (see attached picture, please)?

ok, I did it, but only if you have 1 form:

in form_results_table_field replace all with
PHP Code:

<td class="blockrow">
<
vb:if condition="$qid==3 or $qid==9 or $qid==4 or $qid==5 or $qid==10"><div style='overflow: auto; height:50px; width: 300px;'></vb:if>
{
vb:raw sdata.{vb:raw qid}}
<
vb:if condition="$qid==3 or $qid==9 or $qid==4 or $qid==5 or $qid==10"></div></vb:if>
</
td

where qid -- numbers of questions where answers can be very long

riskofficer 04-27-2010 03:37 PM

may be somebody knows how to strip_tags($data, '<br>'); from sdata.{vb:raw qid} before sending it to Form Result Table

I dont understand why <?php ?> code do not work when you write it in style manager-->form_results_table_field

I need to remove all <br /> tags from data in "Form Results Table", because MS Excel imports text with <br>'s as several cells

MiskaTorn 04-28-2010 09:09 PM

Quote:

Originally Posted by Supramania (Post 2015958)
Hi,

I responded back in post #338

No help for my issue at all?

If I export the form xml and reimport it into a new form I have the same issue.

I have tried upgrading to 4.0.7 - no change.

I am having this exact same issue.

MiskaTorn 04-28-2010 09:22 PM

Quote:

Originally Posted by MiskaTorn (Post 2028752)
I am having this exact same issue.

I have found it to be a conflict between this addon and SEOforums.org Advanced SEO META Tags for vBulletin. If you disable that plugin the forms work.

Supramania 04-29-2010 11:44 PM

Quote:

Originally Posted by MiskaTorn (Post 2028760)
I have found it to be a conflict between this addon and SEOforums.org Advanced SEO META Tags for vBulletin. If you disable that plugin the forms work.

Hrm... I didn't have that one installed.

I do have another plugin from SEOforums.com and I do have a thread tagger as well, but not the one by them.

I uninstalled Easy Forms a while ago since it appeared nobody was willing to help. I'll probably try to reinstall this weekend and will try disabling a few plugins to see if I can find which one is causing conflict.

Thanks.

riskofficer 04-30-2010 05:35 AM

Waw, we got new version, what are the differences?

apietersen 04-30-2010 10:52 AM

Posted earlier but did not get a response. Try it again

I have a kind of corurpted window when selecting edit question. Can not use it because questionfields do overlap each other. I this a bug or a problem on my site? - this happend from the first version I have installed until 4.0.7

April 30th: Installed version 4.0.8. Still have the same problem. Although this looks like a very nice mod this issue makes it almost useless for me because I cannot manage earlier created form. Does someone have a suggestion?

bananalive 04-30-2010 03:18 PM

1 Attachment(s)
Quote:

Originally Posted by apietersen (Post 2029493)
Posted earlier but did not get a response. Try it again

I have a kind of corurpted window when selecting edit question. Can not use it because questionfields do overlap each other. I this a bug or a problem on my site? - this happend from the first version I have installed until 4.0.7

April 30th: Installed version 4.0.8. Still have the same problem. Although this looks like a very nice mod this issue makes it almost useless for me because I cannot manage earlier created form. Does someone have a suggestion?

  1. Import attached product file
  2. vBulletin Options -> Easy Form Options -> Enable Javascript Edit Question -> No

bananalive 04-30-2010 03:23 PM

Quote:

Originally Posted by riskofficer (Post 2029404)
Waw, we got new version, what are the differences?

Easier 'Custom Form Output' on Edit Form
Link to double width of Form Results table
Added link to export results to excel as xls file (currently doesn't support new lines or html/bbcode of answers)

c4boum 04-30-2010 06:22 PM

Thanks a lot.

The 4.0.9 version kill the
Quote:

Parse error: syntax error, unexpected T_STRING in
Yeah!!

riskofficer 05-01-2010 10:27 AM

1 Attachment(s)
Quote:

Originally Posted by bananalive (Post 2029596)
Easier 'Custom Form Output' on Edit Form
Link to double width of Form Results table
Added link to export results to excel as xls file (currently doesn't support new lines or html/bbcode of answers)

Thank you very much for Excel export! It works! With tags <br> and "\n" but works! Could you please try "strip_tags($data, '<br>');" or "strip_tags($data);" in code to remove tags. And the Date (after username) exports in such format "25.04.201018:10" Excel cant understand it, can you split time and date into two cells, please?

"Easier 'Custom Form Output' on Edit Form" do not work for me (please see attached screenshot)

Thank you a lot for export one's more!

FireFox 3.6.3

bananalive 05-01-2010 01:07 PM

1 Attachment(s)
Quote:

Originally Posted by riskofficer (Post 2029996)
Thank you very much for Excel export! It works! With tags <br> and "\n" but works! Could you please try "strip_tags($data, '<br>');" or "strip_tags($data);" in code to remove tags. And the Date (after username) exports in such format "25.04.201018:10" Excel cant understand it, can you split time and date into two cells, please?

"Easier 'Custom Form Output' on Edit Form" do not work for me (please see attached screenshot)

Thank you a lot for export one's more!

FireFox 3.6.3

Try attached product file

Fixed custom output text box not showing on Edit Form
Export now has date and time in separate cells
Export now supports cells with multiple lines.

riskofficer 05-01-2010 06:39 PM

Quote:

Originally Posted by bananalive (Post 2030051)
Try attached product file

Fixed custom output text box not showing on Edit Form
Export now has date and time in separate cells
Export now supports cells with multiple lines.

Thank you!

1. Custom output looks fine now. I did't try to use it, that is why I don't know about working or not.
2. Yes, thank you.
3. There are still &amp; &quot; tags. Line breaks works fine, thank you!

I don't use "Forum Result Poll" but may be this suggestion will be interesting: not pre-given text answers can't be "pollable", for example, when you ask users -- "what do you think about my mod" -- it can be one million different answers and in Poll Results they will show nothing interesting. But when you ask -- "how many times you have been to USA" for example, -- answers can repeat from one to another, and in Poll Results you can see interesting graphs. When you ask something and answers pre-given in check boxes, for example, Poll Results will be greate. That is why check box near question in Edit Form about Pollable or not question will be greate idea, as I think.

Sorry my English.

Cedric_FP 05-02-2010 01:08 AM

Bananalive: could you post the code for custom output that would create a new thread using the build_new_thread function rather than using the data manager?

Thanks.

apietersen 05-02-2010 12:34 PM

Tanks, your last tip to unable java option in setting and version 4.0.9 solved my problem with corrupted windows during editing. Thanks... Again great mod.

sopier 05-04-2010 04:52 PM

I already installed the forms in vBulletin 4.0.3 and it successfully submit form as a thread for several times (5 times), then when I'm trying to submit new forms there is an error messages:

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

I already check the subject and message fields, it's all filled but still I can't submit new forms...

FYI, first I make 1 master forms and then just copy the forms, then I just edit the title of the forms, etc ...

=====
Solved .... The problem is in {q_*}, since I'm only copying the forms to many, the parameter {q_1} is the same between one and another forms, I should change it too according to the first questions number in the related forms....


All times are GMT. The time now is 12:09 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.02990 seconds
  • Memory Usage 1,854KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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