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)

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 01:33 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.02076 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (7)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