vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Easy Forms - Create a form or multiple forms without php or html knowledge (https://vborg.vbsupport.ru/showthread.php?t=201097)

zerohead 01-29-2009 12:46 AM

Quote:

Originally Posted by Simon Lloyd (Post 1727521)
Links and Download Manager, its a great mod, however, the Designer/Coder (AndrewD) is very ill now, so the support for it is by other coders and users, saying that i have it installed on vb3.8.1 and it woks fine!

Fantastic!!!! :) Appreciate your recommendation .... and it works with the new 3.8

Thank you very much!!!!!!!

Ov3rrun 01-29-2009 03:05 AM

l'll wait for the option to attach an image to upload with the option "EMAIL FORM"

ty

Mellymonster 01-29-2009 05:56 AM

Some reason its making the threads unapproved... How come? Can I fix this easy?

Heldenverband 01-29-2009 07:51 AM

My favorite for MOTM !

It would be nice to have a date / clock field :)


Bye the way. I have create a JOIN US and FIGHT US with easyforms.

If it interesting by someone i can upload it here as attachment. Language is German but easy to translate.

bananalive 01-29-2009 09:06 AM

Quote:

Originally Posted by Pedrillo (Post 1727599)
Great plugin.

I sucesfully installed it in my forum, but when someone fills a form get this javascript error:

Code:

vB_Editor[''] is undefined

at (line 2)
return vB_Editor[''].prepare_submit(this.title.value, 0);


And the form is not submited.

I'm using vBulletin 3.8 + vbSeo 3.2.0

I'll have to look into this.
Quote:

Originally Posted by Mellymonster (Post 1727852)
Some reason its making the threads unapproved... How come? Can I fix this easy?

Make sure $newpost['visible'] = '1'; and then check usergroups permissions for that forum.
Quote:

Originally Posted by Heldenverband (Post 1727922)
It would be nice to have a date / clock field :)

Coming with next release.

Heldenverband 01-29-2009 09:40 AM

Quote:

Originally Posted by bananalive (Post 1727962)


Coming with next release.

Yippeeeeee :p

Edit :

In screenshot no 4 i can see more than one checkbox in ONE line. How i can separate checkboxes in the same line ?

bananalive 01-29-2009 02:28 PM

Quote:

Originally Posted by Heldenverband (Post 1727988)
Yippeeeeee :p

Edit :

In screenshot no 4 i can see more than one checkbox in ONE line. How i can separate checkboxes in the same line ?

Edit Question -> Options Per Row

Budget101 01-29-2009 04:25 PM

Quote:

Originally Posted by bananalive (Post 1711336)
What kind of question is it? dropdown select/ single line input...

Also check you are using the correct question number - it's the number after the # as circled in the attached screenshot

Oh, duh, got it, thank you so much for a wonderful mod. Your efforts are greatly appreciated.:up:

Mellymonster 01-29-2009 04:41 PM

I got it all worked out, Thanks :D

Budget101 01-29-2009 06:34 PM

Is there anyway to set a particular textfield to automatically parse url into a clickable link without forcing the user to write [url] tags?

Some users seem to have great difficulty in grasping the concept of adding bbcode correctly.

TIA!

ssslippy 01-29-2009 07:44 PM

I have text in my description and I put the center bbcode around it. It's centering in the left column it seems there is an issue with your colspan in your description field.

Brak710 01-30-2009 03:01 AM

No full instructions required here (unless necessary), i just need a hint where to look...

Let's say I want the hide the submit button on a form for 10 minutes so people think about and double check what they are submitting...

Where would one find the place to add a HTML/PHP script to do so. Is there some template/plugin I'm missing? I searched them all for "submit" or "preview" but I assume it's being called as a variable or something.

Any help would be appreciated, thanks!

imaroot 01-30-2009 09:17 AM

it'll be handy for my forum will not install right now but maybe in the future

BOOKMARK though!

setishock 01-30-2009 10:21 AM

First of all I carefully read through every single post in this thread. I get the impression this software is fairly simple to use and the author is quick to be helpful and fix any problems that appear to pop up. I'm impressed so I'm going to give this a test drive at my anime forum before I submit it to my friend at my computer forum. So in light of that I have a couple of questions. Please keep in mind I am not a coder.
1st> At my anime forum I have a section to link to wiki's about anime series. It has 3 pics which when clicked on go to the thread where pics for the subject are posted. Below that is the link to the wiki page. And below that is a short description of the series. Here's an exsample > http://animeappeal.com/forums/showthread.php?t=206
Is it possible to do something like that by filling out a form and just have the answers to the questions show in a new thread with the series name as the header?
2nd> Is it possible to use this to do product reviews? Like what is it? Who makes it? Model number. Then the review with maybe pros and cons added to it below that.

Same general format for both it would be safe to assume. Thanks in advance for any help. And is the version in the lead post the lastest one?

bananalive 01-30-2009 01:33 PM

Quote:

Originally Posted by Budget101 (Post 1728344)
Is there anyway to set a particular textfield to automatically parse url into a clickable link without forcing the user to write [url] tags?

Some users seem to have great difficulty in grasping the concept of adding bbcode correctly.

TIA!

Find in plugin: Easy Forms Part 1:
PHP Code:

$newpost['poststarttime'] = $poststarttime

Add after
PHP Code:

$newpost['parseurl'] = '1'


bananalive 01-30-2009 01:34 PM

Quote:

Originally Posted by Brak710 (Post 1728699)
No full instructions required here (unless necessary), i just need a hint where to look...

Let's say I want the hide the submit button on a form for 10 minutes so people think about and double check what they are submitting...

Where would one find the place to add a HTML/PHP script to do so. Is there some template/plugin I'm missing? I searched them all for "submit" or "preview" but I assume it's being called as a variable or something.

Any help would be appreciated, thanks!

Template form_view

Or

Form Hook: Start Form

bananalive 01-30-2009 01:39 PM

Quote:

Originally Posted by setishock (Post 1729006)
First of all I carefully read through every single post in this thread. I get the impression this software is fairly simple to use and the author is quick to be helpful and fix any problems that appear to pop up. I'm impressed so I'm going to give this a test drive at my anime forum before I submit it to my friend at my computer forum. So in light of that I have a couple of questions. Please keep in mind I am not a coder.
1st> At my anime forum I have a section to link to wiki's about anime series. It has 3 pics which when clicked on go to the thread where pics for the subject are posted. Below that is the link to the wiki page. And below that is a short description of the series. Here's an example > http://animeappeal.com/forums/showthread.php?t=206
Is it possible to do something like that by filling out a form and just have the answers to the questions show in a new thread with the series name as the header?

You can use the form output field in Edit Form with bbcode and macroses to create the format of the post you want.

I've created a quick form here which will post your output, example post here - I can export the form for you if you want to adapt it.
Quote:

Originally Posted by setishock (Post 1729006)
2nd> Is it possible to use this to do product reviews? Like what is it? Who makes it? Model number. Then the review with maybe pros and cons added to it below that.

I'm not sure which fields are needed for product review but you should be able to.
Quote:

Originally Posted by setishock (Post 1729006)
Same general format for both it would be safe to assume. Thanks in advance for any help. And is the version in the lead post the lastest one?

I'm just about to update the first post with the latest version - v2.7

bananalive 01-30-2009 02:04 PM

Quote:

Originally Posted by ssslippy (Post 1728403)
I have text in my description and I put the center bbcode around it. It's centering in the left column it seems there is an issue with your colspan in your description field.

I'd missed out the width="100%", fixed in v2.7

Budget101 01-30-2009 02:11 PM

Quote:

Originally Posted by bananalive (Post 1729143)
Find in plugin: Easy Forms Part 1:
PHP Code:

$newpost['poststarttime'] = $poststarttime

Add after
PHP Code:

$newpost['parseurl'] = '1'


hmmm... it didn't work, the url didn't become clickable.



Would this need to be changed as well??
PHP Code:

Line 540   $formoutput $bbcode_parser->do_parse($formoutput,false,true,true,true,true,false); 

This is line 540 from the Easy Form 1

gamerscms 01-30-2009 02:35 PM

An other update, what has changed in the mod?

Request: banana could you do a version history like you have on your ladder script?

great mod and nom for this month.

bananalive 01-30-2009 02:40 PM

Quote:

Originally Posted by gamerscms (Post 1729191)
An other update, what has changed in the mod?

Request: banana could you do a version history like you have on your ladder script?

great mod and nom for this month.

Not much, it's mainly the little bugs users have found. The only feature added is the form start hook.

The version history is here

I've updated the first post with the link.

TheFocusElf 01-30-2009 03:49 PM

Is this defined in the product or a template, the width of the QUESTION column and the width of the ANSWER column?

My questions seem to take up 90% of my board's fixed width, and this parses the answer fields in many cases.

Is it possible to format it like this:

Question
Description
Answer #1
Answer #2
Maybe even putting the answers in their own definable table with a separate "style" or background color.

Most important for me, though is the width issue, right now this excellent mod looks like crap on my boards. And my forum's width is 950 pixels, so as for why it is so crunched up, I am unsure.

gamerscms 01-30-2009 05:31 PM

Quote:

Originally Posted by bananalive (Post 1729195)
Not much, it's mainly the little bugs users have found. The only feature added is the form start hook.

The version history is here

I've updated the first post with the link.

Great thanks :) update installed and working fine.

ssslippy 01-30-2009 08:04 PM

Would it be hard to implement the ability to allow certain usergroups to edit a single form?

setishock 01-30-2009 08:22 PM

Bananalive that is perfect and thank you. Yes please let me have the xml file for that.
I will mark as installed now.

Edit: I'm not having any problems with the product itself, I just don't know how to make it work like I want it to.
I haven't figured out how to make the output clean of the questions.

Blinkbux 01-31-2009 04:05 AM

Thanks! The mod has been working fine and I love it!

*Clicked Installed and nominated for MOTM*

Stryker412 01-31-2009 01:09 PM

Quote:

Originally Posted by bananalive (Post 1727180)
Find in product file or plugin: Easy Forms Part 1
PHP Code:

$formoutput "[CENTER][B][SIZE=5][COLOR=Black]" $form[title] . "[/COLOR][/SIZE][/B][/CENTER]\r\n\r\n"


No.


PHP Code:

$answer '<input type="text" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $vbulletin->userinfo[username] . '" />'


Thank you for all this, is there a way to make the username not editable?

Also which part of the Easy Forms plugin can I edit to make the answers font bigger?

lazyseller 01-31-2009 01:44 PM

Currently you have the ability to submit a reply form to a set thread id.

It would be really great if we could somehow make the thread id dynamic so the whole forum can use the same form. The form would be submitted depending where the user generates the form link from.

http://www.bananalive.co.cc/misc.php...eadid=(dynamic)

anuanu 01-31-2009 03:19 PM

First off i want to say I love this mod. I use it as a recruitment/moderator application. I was wondering if you could add a part that would "Accept/Deny" an application and add "Accepted' or "Denied" to the thread title. And when it was "Denied" it would close the thread.

Currently what I do is make a reply saying if they were denied or accepted and close the thread.

lazyseller 01-31-2009 03:22 PM

Cant you use vbulletin prefix to achieve what your trying to do?

bananalive 01-31-2009 03:32 PM

1 Attachment(s)
Quote:

Originally Posted by Budget101 (Post 1729170)
hmmm... it didn't work, the url didn't become clickable.



Would this need to be changed as well??
PHP Code:

Line 540   $formoutput $bbcode_parser->do_parse($formoutput,false,true,true,true,true,false); 

This is line 540 from the Easy Form 1

It wouldn't show link in preview but it should in the thread created.

The bbcode parser is separate, this is no option to parse urls with it.
Quote:

Originally Posted by TheFocusElf (Post 1729242)
Is this defined in the product or a template, the width of the QUESTION column and the width of the ANSWER column?

My questions seem to take up 90% of my board's fixed width, and this parses the answer fields in many cases.

Is it possible to format it like this:

Question
Description
Answer #1
Answer #2
Maybe even putting the answers in their own definable table with a separate "style" or background color.

Most important for me, though is the width issue, right now this excellent mod looks like crap on my boards. And my forum's width is 950 pixels, so as for why it is so crunched up, I am unsure.

You can modify the width by editing one of the formbit templates.

For instance:

open template form_formbit_textfield

Find
HTML Code:

<td class="smallfont" style="vertical-align: top; font-weight: bold;">$formbit[question]
Replace
HTML Code:

<td class="smallfont" style="vertical-align: top; font-weight: bold; width: 250px;">$formbit[question]
Quote:

Originally Posted by ssslippy (Post 1729429)
Would it be hard to implement the ability to allow certain usergroups to edit a single form?

Yes I cannot think of a way to do this.
Quote:

Originally Posted by setishock (Post 1729447)
Bananalive that is perfect and thank you. Yes please let me have the xml file for that.
I will mark as installed now.

Edit: I'm not having any problems with the product itself, I just don't know how to make it work like I want it to.
I haven't figured out how to make the output clean of the questions.

You will need to change the {q_48}, etc. with the corresponding number on the imported form. See attached screenshot

bananalive 01-31-2009 03:40 PM

Quote:

Originally Posted by anuanu (Post 1730006)
First off i want to say I love this mod. I use it as a recruitment/moderator application. I was wondering if you could add a part that would "Accept/Deny" an application and add "Accepted' or "Denied" to the thread title. And when it was "Denied" it would close the thread.

Currently what I do is make a reply saying if they were denied or accepted and close the thread.

I think what you trying to achieve is beyond what the modification does. Lazyseller's idea is worth considering.
Quote:

Originally Posted by lazyseller (Post 1729947)
Currently you have the ability to submit a reply form to a set thread id.

It would be really great if we could somehow make the thread id dynamic so the whole forum can use the same form. The form would be submitted depending where the user generates the form link from.

http://www.bananalive.co.cc/misc.php?do=form&fid=10&threadid=(dynamic)

You could use 'Form Hook: Form Start':
PHP Code:

$form['where'] = $vbulletin->input->clean_gpc('g''threadid'TYPE_UNIT);
if(!
$form['where'])
{
$errormessage "Error, no threadid specified.";
eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');


Quote:

Originally Posted by Stryker412 (Post 1729914)
Thank you for all this, is there a way to make the username not editable?

Also which part of the Easy Forms plugin can I edit to make the answers font bigger?

username shouldn't be editable, check it has the code readonly="readonly" in the question

Use 'Answer BBcode' [size=+1] or something similar

Simon Lloyd 01-31-2009 04:22 PM

This is probably a difficult one to answer, but i have put a button in my post bit that eventually will link to a form (will sort out how to do this later!), what i would like to do is post the form results to a custom bbcode tag in the original (the post that the button was clicked in) post, is that possible, or if thats not possible, is it possible to post to a forum as a new (not editable by ordinary members) thread?

Big ask i know.

Simon Lloyd 01-31-2009 04:31 PM

with this:
Quote:

Thread/ PM/ Email Title:
If left blank then the Thread/ PM title will be the same as the form title. You can use the following variables in the title: {username}, {userid} and {q_*}. For {q_*} replace the question id with the *, for example to show question 1's output you would use {q_1}.

can i use {q_1} - {q_2}
So that the title may look like "My Tip - Todays Tip" ?

bananalive 01-31-2009 04:33 PM

Quote:

Originally Posted by Simon Lloyd (Post 1730070)
This is probably a difficult one to answer, but i have put a button in my post bit that eventually will link to a form (will sort out how to do this later!), what i would like to do is post the form results to a custom bbcode tag in the original (the post that the button was clicked in) post, is that possible, or if thats not possible, is it possible to post to a forum as a new (not editable by ordinary members) thread?

Big ask i know.

The button link could be something like this:
HTML Code:

<input type="button" value="Form" onclick="window.location.href='http://www.your-forum.com/misc.php?do=form&fid=4'">
If you're wanting the button to edit the thread then this modification couldn't do it. It could with a bit of tweaking reply to thread which post is in.

The alternative is possible, just make sure forum permissions are set to cannot edit posts (for ordinary members).

Quote:

Originally Posted by Simon Lloyd (Post 1730080)
with this:can i use {q_1} - {q_2}
So that the title may look like "My Tip - Todays Tip" ?

Yes

Simon Lloyd 01-31-2009 05:19 PM

Quote:

Originally Posted by bananalive (Post 1730083)
The button link could be something like this:
HTML Code:

<input type="button" value="Form" onclick="window.location.href='http://www.your-forum.com/misc.php?do=form&fid=4'">
If you're wanting the button to edit the thread then this modification couldn't do it. It could with a bit of tweaking reply to thread which post is in.

The alternative is possible, just make sure forum permissions are set to cannot edit posts (for ordinary members).



Yes

Thanks for posting back so quick!, for the last part {Q...etc great as thats what i have done, and thanks for the code for button link (i'll try to work that one out), i have set up a forum to accept the form as i thought the other would be too difficult, all i need to do now is work out how to show an icon in the post that the button was clicked in perhaps with a link behind it to the form, again not your problem as your forms work great, could you explain what the new items are for? the Form Hooks? and what can i use to put in the Custom form output?, is it possible for the vbulletin editor response to appear in a custom bbcode that i have? (it's a bit like the quote bbcode only has a custom colour and pic)

bananalive 01-31-2009 05:38 PM

Quote:

Originally Posted by Simon Lloyd (Post 1730118)
Thanks for posting back so quick!, for the last part {Q...etc great as thats what i have done, and thanks for the code for button link (i'll try to work that one out), i have set up a forum to accept the form as i thought the other would be too difficult, all i need to do now is work out how to show an icon in the post that the button was clicked in perhaps with a link behind it to the form, again not your problem as your forms work great, could you explain what the new items are for? the Form Hooks? and what can i use to put in the Custom form output?, is it possible for the vbulletin editor response to appear in a custom bbcode that i have? (it's a bit like the quote bbcode only has a custom colour and pic)

The form hooks allow you to execute php code at the beginning of the form, just after it is queried (eg. for additional permissions) and just before it is submitted (eg. to submit to multiple locations or to validate some fields).

The custom form output accepts any forum bbcode you have and also macroses, for the questions and answers.

Simon Lloyd 01-31-2009 05:50 PM

Quote:

Originally Posted by bananalive (Post 1730135)
The form hooks allow you to execute php code at the beginning of the form, just after it is queried (eg. for additional permissions) and just before it is submitted (eg. to submit to multiple locations or to validate some fields).

The custom form output accepts any forum bbcode you have and also macroses, for the questions and answers.

Well not being a coder ( i can do what i'm told but not that great at writing it!) that was a bit like dutch to me "macroses"?, i understand the acceptance of bbcode but i was looking to have just the vbulletin editor output to appear inside these tags in the thread it is sent to.

BTW, thanks for this great support!

Simon Lloyd 01-31-2009 06:03 PM

Bananlive, sorry to keep calling on your time but i created a form but it didn't create a thread title and the sections are shown right against the titles here http://www.thecodecage.com/forumz/top-tips/57075-a.html i have upgraded your account at my forum to admin so you can check the edit of the form and what i may have done wrong.

bananalive 01-31-2009 06:17 PM

Quote:

Originally Posted by Simon Lloyd (Post 1730152)
Bananlive, sorry to keep calling on your time but i created a form but it didn't create a thread title and the sections are shown right against the titles here http://www.thecodecage.com/forumz/top-tips/57075-a.html i have upgraded your account at my forum to admin so you can check the edit of the form and what i may have done wrong.

Macroses is just a number for {q_45} and {qn_6}

Uses the # numbers

For Example:

Quote:

1. What application is this for?
(Dropdown Select) #8
{q_8}

For the sections use \r\n for line breaks

New output: http://www.thecodecage.com/forumz/to...cess-test.html

If you create a post of format you want I'll try and write the custom form output for you.


All times are GMT. The time now is 10:41 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.03524 seconds
  • Memory Usage 1,906KB
  • 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_code_printable
  • (4)bbcode_html_printable
  • (9)bbcode_php_printable
  • (32)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