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
  #1322  
Old 11-27-2008, 03:44 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by davida500 View Post
You have to be logged in to fill in a form, if you are not then this error is received:


PHP Code:
Fatal errorExisting data passed is not an array
Called set_existing in [path]/newthread.php(74) : eval()'d code on line 350
Called eval in [path]/newthread.php on line 74
in [path]/includes/class_dm.php on line 235 
Anyway is there a way to make it so this error disappears if you are not logged in?

Thanks.

David.
Do you have the form enabled for guests in the plugin variable settings?
Reply With Quote
  #1323  
Old 11-28-2008, 11:11 PM
davida500 davida500 is offline
 
Join Date: May 2008
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didnt that was the problem, thank you

David.
Reply With Quote
  #1324  
Old 12-01-2008, 03:43 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by asandhanam View Post
Thanks for the mod. I installed it several months back and running fine. But i need to be able to use a captcha image verification with this to stop spam (been receiving a lot of spam these days). Which one would you recommend? I'm sorry if this has been answered earlier. There are lot of comments and doesn't look like i can go through all of them
**********************************************
asandhanam,,, I just updated one of my older mods with better integration with Form Hack...

It should slow your spammers down to a drip-drop-drip
...

Give it a Go...>>> Image Match <<<
Reply With Quote
  #1325  
Old 12-02-2008, 03:02 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Evening.

Is it possible for this to be modified so that it can be pre-question by me as Admin, so that my Registered Users can fill out their details and they would show in a "POST" as apposed to a "Thread".

It would be great if it could be run from ACP By ADMIN and also reset the questions or pre-filled out fields by Admin too.

The reason I ask Is that I want to start a thread up dedication to my forum members to advertise their businesses for FREE.

Basic things like: Business Name: Business Address: Business E-mail: Areas Covoered: Exclusions: Registered Scheme Provider: etc.
Reply With Quote
  #1326  
Old 12-02-2008, 10:51 PM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Welshy2008 View Post
Good Evening.

Is it possible for this to be modified so that it can be pre-question by me as Admin, so that my Registered Users can fill out their details and they would show in a "POST" as apposed to a "Thread".


It would be great if it could be run from ACP By ADMIN and also reset the questions or pre-filled out fields by Admin too.

The reason I ask Is that I want to start a thread up dedication to my forum members to advertise their businesses for FREE.

Basic things like: Business Name: Business Address: Business E-mail: Areas Covoered: Exclusions: Registered Scheme Provider: etc.
**************************************************

Welshy2008,,,
ABE1 posted about an updated version of the Form Hack that uses Admin options...

PM ABE1 for more info...
Reply With Quote
  #1327  
Old 12-04-2008, 06:06 AM
davida500 davida500 is offline
 
Join Date: May 2008
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been using this for a long time now, i must say it is a great mod, keep up the awesome work Abe1
Reply With Quote
  #1328  
Old 12-07-2008, 01:13 PM
designerweb designerweb is offline
 
Join Date: Nov 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work with 3.8?
Reply With Quote
  #1329  
Old 12-09-2008, 11:46 AM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to make it so that if you have it set up to reply to a thread that you can set who it is that is making the post? We have the form being submitted to a hidden forum that only Administrators have access to. While posting a reply does infact work (their replies show up as moderated/unapproved) - they can not use the attachment feature since they do not have access to that forum. I was hoping if I change it to be a specific username that has access to the administrator forum that it would then allow attachments?
Reply With Quote
  #1330  
Old 12-09-2008, 12:08 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by meissenation View Post
Does anyone know how to make it so that if you have it set up to reply to a thread that you can set who it is that is making the post? We have the form being submitted to a hidden forum that only Administrators have access to. While posting a reply does infact work (their replies show up as moderated/unapproved) - they can not use the attachment feature since they do not have access to that forum. I was hoping if I change it to be a specific username that has access to the administrator forum that it would then allow attachments?
Try customizing the forum permissions for that particular Usergroup for that particular forum. You can grant them permission to upload attachments for that area by itself as well give them the ability to post threads. I have it set up to where they can only view the thread they've posted and nothing else.
Reply With Quote
  #1331  
Old 12-09-2008, 12:36 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

D'oh - thank you sir! I left everything for Registered Users set to No under the Forum Permissions but changed the Upload Attachments to Yes and now it appears

Edit: Well - one step forward, but not quite there. If I make it so they can upload attachments it gives them the button for the attachments but it does not allow them to actually attach to the form. I have to make it so it goes to a forum that's off limits to Registered Users due to personal information being posted in the form (Address, phone #, email, etc) but really want them to be able to attach.
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 02:20 PM.


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.06081 seconds
  • Memory Usage 2,331KB
  • 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
  • (1)bbcode_php
  • (4)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
  • (3)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