Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
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
  #1082  
Old 06-25-2008, 10:45 PM
aflax045 aflax045 is offline
 
Join Date: Jul 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange Issue. I get a security token error when using the form with a registered user, but not when I use it with an unregistered user. This makes it kind of useless. Any thoughts on why this is happening?
Reply With Quote
  #1083  
Old 06-26-2008, 03:34 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 Smiry Kin's View Post
anyone edited theres to look nicer lay-out???


also how do i intergate this into vbadvanced... i cant find away
regards
*********************************************
Smiry Kin's,,, this mod works by way of http://yoursite.com/forum/newthread.php?do=form

That's the only link that activates all forms in forumhome newthreads...

What do you mean about it working in CMPS = vbadvanced???????

*********************************************

aflax045,,,
Download 4.1 zip file and read txt file by ABE1,,, it explains how to update and FIX security token issue...
Reply With Quote
  #1084  
Old 06-26-2008, 02:21 PM
aflax045 aflax045 is offline
 
Join Date: Jul 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deepdog009 View Post
aflax045,,,
Download 4.1 zip file and read txt file by ABE1,,, it explains how to update and FIX security token issue...
Already had done that. It was some other issue, thanks anyway.
Reply With Quote
  #1085  
Old 07-01-2008, 11:28 AM
karnevil karnevil is offline
 
Join Date: Feb 2007
Location: Derbyshire
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah haaaaaaaaaaaa edit the template too. Wicked all works lovely....will be amazingly helpful. Thankyou.

Oh I'm on 3.7
Reply With Quote
  #1086  
Old 07-01-2008, 11:48 PM
GraNdMaStEr-B GraNdMaStEr-B is offline
 
Join Date: Jun 2008
Location: JeRzEy Boi
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error for some reason anyone know why?

Quote:
Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
Reply With Quote
  #1087  
Old 07-02-2008, 07:21 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 GraNdMaStEr-B View Post
I get this error for some reason anyone know why?

*********************************************

GraNdMaStEr-B,,,
I posted about your issue several times recently...>>>


*********************************************

Many have been asking about TRIPLE DROPDOWN's...>>> Install Form Hack and add ajax triple & double dropdowns...

U must have basic javascript knowledge to setup ajax dropdowns...
Reply With Quote
  #1088  
Old 07-02-2008, 08:38 AM
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Location: Portugal
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi folks!

I have a doubt, and don't know if this question was already answered, so sorry if this it was.


My situation:

I have two Free Classified Adds sections on my forum and I would like my users to fill a form with some formated fields so they can make new posts on those sub-forums (say forumdisplay.php?f=21 AND forumdisplay.php?f=22).

Ok, until now, I guess that this Mod is just fine for me, but I would like to remove the button "New Thread" from those sub-forums (f=21 and f=22), so users can't start new threads using the "New Thread" button.

Instead, they will have start new threads only using the form.


My question:

How do I disable the "New Thread" button only for those sub-forums?



Thank you very much to all! :up: :up:
Reply With Quote
  #1089  
Old 07-02-2008, 11:59 AM
ccplim ccplim is offline
 
Join Date: Feb 2005
Location: SG
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vithorius View Post
Hi folks!

I have a doubt, and don't know if this question was already answered, so sorry if this it was.


My situation:

I have two Free Classified Adds sections on my forum and I would like my users to fill a form with some formated fields so they can make new posts on those sub-forums (say forumdisplay.php?f=21 AND forumdisplay.php?f=22).

Ok, until now, I guess that this Mod is just fine for me, but I would like to remove the button "New Thread" from those sub-forums (f=21 and f=22), so users can't start new threads using the "New Thread" button.

Instead, they will have start new threads only using the form.


My question:

How do I disable the "New Thread" button only for those sub-forums?



Thank you very much to all! :up: :up:

Hi Vithorius,

If I understand your requirements correctly, this could be just the mod that you need
Reply With Quote
  #1090  
Old 07-02-2008, 12:24 PM
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Location: Portugal
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ccplim View Post
If I understand your requirements correctly, this could be just the mod that you need
Well...!!! How can I say this...?!?


JUST PERFECT!!! PERFECT, PERFECT, PERFECT!!!

Thank you so very, very much!!!

:up: :up: :up: :up:



(What a quick answer to my question! I must say that I was a bit pessimist about getting a quick answer... That was GREAT!)


Will install it right away!


P.S. - I must suggest that you edit the original post for this hack and put some kind of information regarding this "Edit New Thred Button" hack... It will for sure help a lot of new users! (like myself!)
Reply With Quote
  #1091  
Old 07-03-2008, 08:00 AM
ccplim ccplim is offline
 
Join Date: Feb 2005
Location: SG
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vithorius View Post
Well...!!! How can I say this...?!?


JUST PERFECT!!! PERFECT, PERFECT, PERFECT!!!

Thank you so very, very much!!!

:up: :up: :up: :up:



(What a quick answer to my question! I must say that I was a bit pessimist about getting a quick answer... That was GREAT!)


Will install it right away!
You are most welcome and glad that the solution works for you :up:


Quote:
Originally Posted by vithorius View Post
P.S. - I must suggest that you edit the original post for this hack and put some kind of information regarding this "Edit New Thred Button" hack... It will for sure help a lot of new users! (like myself!)
This is a good idea. You might want to contact Abe1 and get him to do so
Reply With Quote
Reply

Thread Tools

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:23 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.06196 seconds
  • Memory Usage 2,328KB
  • Queries Executed 28 (?)
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
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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