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)

peppercola 01-20-2009 03:12 PM

thank you that was very helpful

Phoenixgal 01-20-2009 04:34 PM

<font face="Century Gothic">Thank you so very much! Installed and LOVING how easy it was to install!!

Now a NOOB question Where can I change the quick links "forms" to another name?</font>

bananalive 01-20-2009 05:37 PM

Quote:

Originally Posted by Phoenixgal (Post 1719170)
Thank you so very much! Installed and LOVING how easy it was to install!!

Now a NOOB question Where can I change the quick links "forms" to another name?

In plugin 'Easy Forms AutoInsert Links' change '$vbphrase[forms]' to whatever you want.

Note changes are lost to plugins when a product is upgraded/ imported.

metalguy639 01-20-2009 05:39 PM

Quote:

Originally Posted by bananalive (Post 1717853)
Fixed smilie box issue in attached file

Awesome! works perfectly! Thanks. I also nominated your hack the other day for MOTM. :D

bananalive 01-20-2009 05:39 PM

1 Attachment(s)
Pre-Release v2.5

- Form hook which is executed just before the post/thread/pm/email is submitted

Brak710 01-20-2009 09:32 PM

This might be me, so don't be mad if it's a dumb question...

When a user submits my form on my site, the New Thread is created, but it is put into the moderation queue.

Is this a configuration issue with my forums/usergroup (I looked pretty hard, in fact, a normal post can be done just fine, but anything from the form-poster is put in moderation) or is this a feature/bug with the Easy Forms software?

Any help would be appreciated! Thanks!

Phoenixgal 01-20-2009 11:00 PM

Quote:

Originally Posted by bananalive (Post 1719234)
In plugin 'Easy Forms AutoInsert Links' change '$vbphrase[forms]' to whatever you want.

Note changes are lost to plugins when a product is upgraded/ imported.

I Changed it there but it only caused my link in the quick links to dissappear...is there somewhere else I need to change it as well?

buurman 01-21-2009 09:38 AM

I think I can use that hook option, but dont know how...

My problem is, im using Cyb Auto reply plugin, that makes an first reply on new threads, but it doesnt work with easy forms.
This is probibly because posting takes place on a different way, any idea what I need to change to make work?
https://vborg.vbsupport.ru/showthread.php?t=177933

Any help is very appriciated!!

PS. attachments are working great on 3.7.3 here, thanks for that!!!

bananalive 01-21-2009 02:32 PM

Quote:

Originally Posted by Brak710 (Post 1719482)
This might be me, so don't be mad if it's a dumb question...

When a user submits my form on my site, the New Thread is created, but it is put into the moderation queue.

Is this a configuration issue with my forums/usergroup (I looked pretty hard, in fact, a normal post can be done just fine, but anything from the form-poster is put in moderation) or is this a feature/bug with the Easy Forms software?

Any help would be appreciated! Thanks!

Have you tried pre-release v2.5?
(https://vborg.vbsupport.ru/attachmen...5&d=1232484806)

Quote:

Originally Posted by Phoenixgal (Post 1719563)
I Changed it there but it only caused my link in the quick links to dissappear...is there somewhere else I need to change it as well?

No, thats the only place. When you replace $vbphrase[forms] every " needs to be preceeded by a \.

Quote:

Originally Posted by buurman (Post 1719919)
I think I can use that hook option, but dont know how...

My problem is, im using Cyb Auto reply plugin, that makes an first reply on new threads, but it doesnt work with easy forms.
This is probibly because posting takes place on a different way, any idea what I need to change to make work?
https://vborg.vbsupport.ru/showthread.php?t=177933

Any help is very appriciated!!

PS. attachments are working great on 3.7.3 here, thanks for that!!!

I'll have a look into how that mod works. It probably requires a vbulletin hook to be included in the code.

nascartr 01-21-2009 04:56 PM

I've upgraded and I have more options when I try to edit the forms then I do when I try to create one. I have the basic original options when creating one, but all the new ones when I edit it.

Altered 01-21-2009 05:14 PM

I'm having the same problem a few others are, whenever a form is filled out it goes into moderation queue when form is set to Post new Thread.

I have tried both version 2.4 and 2.5 with no luck and have also adjusted the

PHP Code:

$newpost['visible'] = '1'

to

PHP Code:

$newpost['visible'] = '0'


Any other suggestions?

silvermerc 01-21-2009 08:02 PM

Theres a error, i can't make it so unregistered can not view the form :{

Chimpie 01-22-2009 02:51 AM

This looks like it's a great mod, but it appears that it doesn't work all the time.

Sometimes it will send the pm/email, sometimes it doesn't.

bananalive 01-22-2009 02:35 PM

Quote:

Originally Posted by Altered (Post 1720310)
I'm having the same problem a few others are, whenever a form is filled out it goes into moderation queue when form is set to Post new Thread.

I have tried both version 2.4 and 2.5 with no luck and have also adjusted the

PHP Code:

$newpost['visible'] = '1'

to

PHP Code:

$newpost['visible'] = '0'


Any other suggestions?

If you want posts to go to moderation queue $newpost['visible'] should be 0. If you don't then $newpost['visible'] should be 1.
Quote:

Originally Posted by nascartr (Post 1720290)
I've upgraded and I have more options when I try to edit the forms then I do when I try to create one. I have the basic original options when creating one, but all the new ones when I edit it.

That's deliberate - some options only apply once you have questions and most of the them are advanced options
Quote:

Originally Posted by Chimpie (Post 1720802)
This looks like it's a great mod, but it appears that it doesn't work all the time.

Sometimes it will send the pm/email, sometimes it doesn't.

Email will have a time lag for you to receive it.

Chimpie 01-22-2009 02:43 PM

Quote:

Originally Posted by bananalive (Post 1721247)
Email will have a time lag for you to receive it.

It appears to be that way. May I ask why?

tehtide 01-22-2009 03:25 PM

First I want to say... what an awesome plugin.

now for my question...

Is it possible to pull information about the user that submits the form and display it in the thread that is created? Specifically I'm looking for their birthday, timezone etc. I took a look at the custom form output area... but couldn't see a way to add that stuff in.

thanks in advance

bananalive 01-22-2009 04:08 PM

Quote:

Originally Posted by Chimpie (Post 1721264)
It appears to be that way. May I ask why?

Two reasons:
  1. You may have set your vbulletin board to queue emails before they are sent
  2. Your email provider takes time to receive/send email
Quote:

Originally Posted by tehtide (Post 1721304)
First I want to say... what an awesome plugin.

now for my question...

Is it possible to pull information about the user that submits the form and display it in the thread that is created? Specifically I'm looking for their birthday, timezone etc. I took a look at the custom form output area... but couldn't see a way to add that stuff in.

thanks in advance

The quickest way at the moment is to add a custom question

For a timezone field use the following PHP code:
PHP Code:

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

You can preview this in the test form here

dmknights 01-22-2009 04:16 PM

If you have your forum settings to Moderate New Posts Sometimes this mod wont work
I have it so new threads are not moderated & it works 100%

DjEddie 01-22-2009 09:39 PM

Had this mod from when first released...and has got better with each update... nice one :)..motm :)

one thing i find with it.. is the BBCODE edits for the question and answers for After the form is submitted.... I add [color="red"] for example to the bbcode after the indent and italic one... once submitted it doesnt save it fully... i end up with with[INDENT][I]{COLOR=

is there a way to fix this?

bananalive 01-23-2009 07:10 AM

1 Attachment(s)
Quote:

Originally Posted by DjEddie (Post 1721611)
Had this mod from when first released...and has got better with each update... nice one :)..motm :)

one thing i find with it.. is the BBCODE edits for the question and answers for After the form is submitted.... I add [color="red"] for example to the bbcode after the indent and italic one... once submitted it doesnt save it fully... i end up with with[INDENT][I]{COLOR=

is there a way to fix this?

It's messed up by the ", use [color=red] for now and I'll find a fix for it.

Fixed in attached file

Simon Lloyd 01-23-2009 08:39 AM

Great mod, one touch install, nice :)

However i do seem to have a small problem, when i add a section under the human verification, fill in the form and preview it look like this:
Quote:

Please Answer the following correctlyAbout you?
but it should look like this:
Quote:

Please Answer the following correctly!

About you?
underneath please answer the following..etc should be (and is on the form) the human verification and then anothe rquestion under About you? (it is on the form)

Any ideas how to cure it?
EDIT: About you appears LARGE and underlined

bananalive 01-23-2009 09:40 AM

Quote:

Originally Posted by Simon Lloyd (Post 1722070)
Great mod, one touch install, nice :)

However i do seem to have a small problem, when i add a section under the human verification, fill in the form and preview it look like this:
but it should look like this:
underneath please answer the following..etc should be (and is on the form) the human verification and then another question under About you? (it is on the form)

Any ideas how to cure it?
EDIT: About you appears LARGE and underlined

Sorry, I'm confused can you show me a screenshot or a link.

Simon Lloyd 01-23-2009 09:56 AM

1 Attachment(s)
See the attached:
Form1 is the editing page
Form2 is filling in the form, you can see highlighted "About You" i didn't do that.
Form3 is the Preview (it looks like that when sent too!) as you can see the long one line!

If you need access to my form you can pm me and i will arrange that.

EDIT: Thanks for joining the forum! lol, i need all the members i can get.
EDIT 2: As a side, when you visit my forum you see i have 2 navbars, the second one is created in the navbar template but doesn't have the hook, is it possible to get the Forms link to appear there instead?

Bkdenice 01-23-2009 12:58 PM

Nice Plug but, Can you add a Option for Moderate Forms by Forum
(Sorry for my English)

bananalive 01-23-2009 02:36 PM

1 Attachment(s)
Quote:

Originally Posted by Simon Lloyd (Post 1722121)
See the attached:
Form1 is the editing page
Form2 is filling in the form, you can see highlighted "About You" i didn't do that.
Form3 is the Preview (it looks like that when sent too!) as you can see the long one line!

If you need access to my form you can pm me and i will arrange that.

EDIT: Thanks for joining the forum! lol, i need all the members i can get.
EDIT 2: As a side, when you visit my forum you see i have 2 navbars, the second one is created in the navbar template but doesn't have the hook, is it possible to get the Forms link to appear there instead?

Import attached file which contains fix to stop human verification question showing on form output.

Then add \r\n in the second bbcode box for question and section.

You'll have to manually add the link to your second navbar, and disable the one in vb easy forms options.
Quote:

Originally Posted by Bkdenice (Post 1722334)
Nice Plug but, Can you add a Option for Moderate Forms by Forum
(Sorry for my English)

Set $newpost['visible'] to '0' to put the thread/ post in the moderation queue. (It won't go in moderation queue if you're moderator of that forum)

Simon Lloyd 01-23-2009 03:09 PM

Quote:

Originally Posted by bananalive (Post 1722433)
Import attached file which contains fix to stop human verification question showing on form output.

Then add \r\n in the second bbcode box for question and section.

That worked fine thanks!

BTW what does \r\n do?

buurman 01-23-2009 04:27 PM

Quote:

I'll have a look into how that mod works. It probably requires a vbulletin hook to be included in the code.
Thx m8, hope you can help me on the right track...

DjEddie 01-23-2009 07:18 PM

Quote:

Originally Posted by bananalive (Post 1721998)
It's messed up by the ", use [color=red] for now and I'll find a fix for it.

Fixed in attached file

Appreciate that fella.. everything i use it for works perfectly... cant imagine what else u could add to it.. apart from the databse uve said.. but im happy with it how it is ..thanx again :)

bananalive 01-24-2009 01:13 PM

Quote:

Originally Posted by Simon Lloyd (Post 1722455)
That worked fine thanks!

BTW what does \r\n do?

It's syntax for new line.

bananalive 01-24-2009 01:13 PM

Quote:

Originally Posted by buurman (Post 1722506)
Thx m8, hope you can help me on the right track...

Find in product file:
PHP Code:

mark_thread_read($threadinfo$foruminfo$vbulletin->userinfo['userid'], TIMENOW); 

After put:
PHP Code:

($hook vBulletinHook::fetch_hook('newthread_post_complete')) ? eval($hook) : false

Then import the product file.

buurman 01-24-2009 05:22 PM

Quote:

Originally Posted by bananalive (Post 1723263)
Find in product file:
PHP Code:

mark_thread_read($threadinfo$foruminfo$vbulletin->userinfo['userid'], TIMENOW); 

After put:
PHP Code:

($hook vBulletinHook::fetch_hook('newthread_post_complete')) ? eval($hook) : false

Then import the product file.

Your the man!!!

Works great, and thank you for your time to find the solution!!

Nominated for sure!!

Thx!

bananalive 01-24-2009 05:30 PM

1 Attachment(s)
Pre-Release v2.6

- save form results to database
- delete from database

gamerscms 01-24-2009 06:05 PM

Thanks for the update banana, i have found a few bugs when a new post is add from the form it does not show the new post icon as new any ideas how to fix this?

also we use this form for new members to join our community but when a user that has not signed up to the forums posts a new from we get a array error any ideas on this?

thanks,

bananalive 01-24-2009 07:48 PM

Quote:

Originally Posted by gamerscms (Post 1723524)
Thanks for the update banana, i have found a few bugs when a new post is add from the form it does not show the new post icon as new any ideas how to fix this?

also we use this form for new members to join our community but when a user that has not signed up to the forums posts a new from we get a array error any ideas on this?

thanks,

Where is the form posting (new thread, pm, post, email)?

E.T. 01-24-2009 08:21 PM

Wow this looks great.

Maybe you can help me with a small thing.

I've create a form and would like to mail it to an username, but I cannot find it how to choose the username...., when I'm edit the form I can fill in the email adres in the field email adres and sent it, that will work for me, but I would like to give other people access to the form and once they have fill in the question, do you realy want to sent an email to one of our users they can fill in an username or email adres.

Is it possible to create a a custom field were I can fill in an username or email adres so the form I've created will be sent to the specific user ?

Is it something like this ?

Forumid/threadid/username can be specified by input via {value=X} in dropdown, single line input or radio buttons

If so, how can I create such input ?

Thanks in advance.

troppodel 01-24-2009 09:33 PM

hi there nice mod
vb 3.8.0
i created a new form (new thread in forum) with attach, when i test the form ...... upload the attach file and after press "preview" button i receive this error:

Code:

Fatal error: Call to undefined function construct_attachment_add_js() in /web/htdocs/www.mysite.com/home/forum/misc.php(100) : eval()'d code on line 3844

gamerscms 01-24-2009 10:20 PM

Quote:

Originally Posted by bananalive (Post 1723631)
Where is the form posting (new thread, pm, post, email)?

New thread.

swapshack 01-25-2009 11:35 AM

Hey there! Great mod! I'm having some trouble creating a custom form output. I have no trouble getting standard 1 option button and text to appear on my form but I can't seem to figure out how to get checkbox options to output to the form (I just get Array appearing). I also can't seem to get multi-line text to output. Im guessing I just don't know the correct syntax so any help mastering this would be really appreciated!

Also while I'm here...what is the easiest way to output a section of answers on the left hand side of the resulting thread and another section on the right?
Thanks Again

troppodel 01-25-2009 08:32 PM

Quote:

Originally Posted by troppodel (Post 1723722)
hi there nice mod
vb 3.8.0
i created a new form (new thread in forum) with attach, when i test the form ...... upload the attach file and after press "preview" button i receive this error:

Code:

Fatal error: Call to undefined function construct_attachment_add_js() in /web/htdocs/www.mysite.com/home/forum/misc.php(100) : eval()'d code on line 3844

please test my problem and let me know

other question, i have create a form and i have add the variable q_1 for the title of the new thread with the question number one (a combo box), how can i do if i don't want create a new thread with the same name?
i want if somebody select the combo box with a option and the new thread is already created with this name receive notify that this thread exist.

bananalive 01-26-2009 08:07 AM

Quote:

Originally Posted by gamerscms (Post 1723753)
New thread.

Ok, i'm looking into this problem. I think it is to do with vBulletin requiring human verification for new threads for guest posts.

Edit: Found & fixed issue - guests required to complete human verification - will automatically appear if needed (required by vbulletin)

Quote:

Originally Posted by swapshack (Post 1724144)
Hey there! Great mod! I'm having some trouble creating a custom form output. I have no trouble getting standard 1 option button and text to appear on my form but I can't seem to figure out how to get checkbox options to output to the form (I just get Array appearing). I also can't seem to get multi-line text to output. Im guessing I just don't know the correct syntax so any help mastering this would be really appreciated!

Also while I'm here...what is the easiest way to output a section of answers on the left hand side of the resulting thread and another section on the right?
Thanks Again

I'll look into the custom output.

Edit: fixed checkbox, multi-line text

Probably using custom form output with bbcode: [left], [right]

Quote:

Originally Posted by troppodel (Post 1724598)
please test my problem and let me know

other question, i have create a form and i have add the variable q_1 for the title of the new thread with the question number one (a combo box), how can i do if i don't want create a new thread with the same name?
i want if somebody select the combo box with a option and the new thread is already created with this name receive notify that this thread exist.

I'll test the attachment error out later on my test forum.

Edit: I can't replicate this problem.

You'll have to use the form hook, and run a query, if it already exists use $complete = false; to stop form submitting


All times are GMT. The time now is 04:28 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.02717 seconds
  • Memory Usage 1,879KB
  • 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
  • (9)bbcode_php_printable
  • (30)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