Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Form Hack Details »»
Form Hack
Version: 4.1, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.x Rating:
Released: 09-14-2006 Last Update: 04-23-2008 Installs: 1216
Uses Plugins Template Edits
 
No support by the author.

Form Hack 4.1


Features:

Ever wanted an online form that a user can fill out, which when submitted gets:
  • Posted into a new thread in a forum of your choice
  • Create a new poll in the new thread with options of your choice
  • Posted as a reply in an existing thread of your choice
  • PMed to you or someone else
  • Emailed to an email address you specify
  • Choose to redirect to the post, thread or forum, or a custom thank you message
  • Choose to redirect to edit post
  • See a preview before they submit

Or any combination or all of the above?

Well, this is the hack for you!

You can use this for:
  • Moderator Applications
  • Quiz Submit Form which gets PMed to a moderator
  • Contact Form that goes to PM, email or thread
  • Guests to apply to be members
  • Report a Moderator form that goes as a PM to you
  • Guests can PM you for whatever reason
  • Order form to buy things
  • Donation form
  • News or Articles submissions that can go straight to a thread

Or anything you like - this hack is totally customizable via the AdminCP.

The beauty of this hack is that once you install this hack, to make a new form all you need to do is copy the main hook, rename it to whatever you want, edit the variables in the hook, and you have a totally new form!!! You do not need to touch the templates again, but can always create new ones and use different templates for different forms.

Format of the form:
  • One main input question
  • 3 Radio buttons Choice questions
  • 3 Normal text input questions
  • 1 Drop down menu
  • 3 Check boxes
  • 1 Long answer question
  • 1 VB message editor text box question
  • Upload attachments

This is customizable via the hook.

Also:
  • You can set the usergroups you want access to this form.
  • Depending on your forum permissions, if the new thread is in a public forum, members can reply to it. This hack allows a form to submit the new thread or post wherever you want it to go.
  • Force the user to answer all questions.

INSTALLATION
Easy - takes only a few minutes:
  • Import the XML into products. (admin cp -> Plug-in System -> Manage Products -> Add/Import Product)
  • Edit the main plug-in - the instructions are all inside the hook itself, in the top half. Follow the instructions carefully!
  • To get to the form, go to: /newthread.php?do=form (change "form" to the name of your form if you have few)

Done!

Use this hack to make as many forms as you like!

Enjoy!

Updates:

Version 4.0: (09/15/2006)
  • Ported over for vb3.6
  • Send to multiple emails.
  • Send multiple PMs.
  • Parse emails for BBCode
  • And finally, ATTACHMENTS!

Version 4.1: (04/24/2008)
  • Fixed for vb 3.6.10
  • Small bug fixed.
  • List of the 2 quick edits are in the zip file so you don't have to start making a form from scratch.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

Abe1 with rights from Dr Erwin Loh

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1272  
Old 10-06-2008, 08:56 PM
life is boost life is boost is offline
 
Join Date: Jan 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello everyone. i have done all of the edits but still cannot get the attachments to show. It is enabled. i am posting to a forum, i have tried default forms and everything but still no attachments. I even removd the if statement so it just says.

$attachmentoption

any help is appreciated
Reply With Quote
  #1273  
Old 10-16-2008, 06:53 PM
a33 a33 is offline
 
Join Date: Mar 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am trying to get this to work..
I keep getting this problem below when i submit the form....... so i uninstalled and started again without making any changes.
I have only changed the forum to post in...

The error is
Quote:
Warning: Cannot use a scalar value as an array in [path]/includes/functions_newpost.php on line 370
What have i done wrong ?

Line 370 is
PHP Code:
$polloptions count($polloption); 
Reply With Quote
  #1274  
Old 10-17-2008, 08:00 PM
fodvapor fodvapor is offline
 
Join Date: Dec 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this also work with 3.7.3 ???
Reply With Quote
  #1275  
Old 10-17-2008, 09:28 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by a33 View Post
I am trying to get this to work..
I keep getting this problem below when i submit the form....... so i uninstalled and started again without making any changes.
I have only changed the forum to post in...

The error is


What have i done wrong ?

Line 370 is
PHP Code:
$polloptions count($polloption); 
Don't hold me to this BUT you might have an option in the usergroup that's trying to use the form set to where they cannot create OR can create polls and it's conflicting maybe?

You can open the files up and view the contents to remove or add in what you like, additionally if you keep searching there is a similar yet different hack like this HOWEVER more easily customizable... I believe it is listed as a recruitment hack etc and was originally intended for a Guild or WOW forum however the way they made it leaves the person more options for tweaking and has informaton on how to do it all!

If I find the link while browsing I'll edit this post

EDIT: Here it is! --> Click Here <-- ** It seems more complicated when you first view that page w/ all the code snippets BUT it is not and you can tailor it to your needs very easily!

Remember not to always download the first mod you go WOW over as there could be one more to your liking or need if you keep looking!

S-MAN
Reply With Quote
  #1276  
Old 10-17-2008, 09:35 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fodvapor View Post
Does this also work with 3.7.3 ???
Yes.
Reply With Quote
  #1277  
Old 10-19-2008, 08:11 PM
a33 a33 is offline
 
Join Date: Mar 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
Don't hold me to this BUT you might have an option in the usergroup that's trying to use the form set to where they cannot create OR can create polls and it's conflicting maybe?

You can open the files up and view the contents to remove or add in what you like, additionally if you keep searching there is a similar yet different hack like this HOWEVER more easily customizable... I believe it is listed as a recruitment hack etc and was originally intended for a Guild or WOW forum however the way they made it leaves the person more options for tweaking and has informaton on how to do it all!

If I find the link while browsing I'll edit this post

EDIT: Here it is! --> Click Here <-- ** It seems more complicated when you first view that page w/ all the code snippets BUT it is not and you can tailor it to your needs very easily!

Remember not to always download the first mod you go WOW over as there could be one more to your liking or need if you keep looking!

S-MAN
Thanks

I found my mistake..... i had used the forum name instead of the forum number... ooops

I checked out the other hack you recommended , it wasn't customizable enough for me......Thanks though

This one is now working great for me (vBulletin 3.7.3 Patch Level 1)
Reply With Quote
  #1278  
Old 10-19-2008, 11:08 PM
a33 a33 is offline
 
Join Date: Mar 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
I am trying to put a user field automatically in the title I have tried $post[field11] in the title section and it doesn't work.

Is It possible to do this?

edit--------think i found the answer on page 35

edit 2 ------- Yes answer on page 35
Reply With Quote
  #1279  
Old 10-20-2008, 05:27 AM
fodvapor fodvapor is offline
 
Join Date: Dec 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedGTiVR6 View Post
Yes.
SWEET THX
Reply With Quote
  #1280  
Old 10-20-2008, 11:31 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have little or no coding experience at all so can't get my head round how to customise this form i can get to the form as instructed /newthread?do=form but have no idea what to do from there, i have been in the admincp and looked at form and formanswers in the templates but again don't know what to do to change this form to something i want.

Any help?
Reply With Quote
  #1281  
Old 10-21-2008, 02:16 PM
a33 a33 is offline
 
Join Date: Mar 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Simon i was the same as you 3 days ago .... I now have a form that works great !!
If you "search this hack" (at the top of this page) there is a lot of info in these 86 pages...
Go to admin - Plugins & Products - Plugin Manager Then "edit" form hack ...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05704 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete