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
  #632  
Old 09-04-2007, 01:16 AM
FCS-Webmaster FCS-Webmaster is offline
 
Join Date: Aug 2007
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found another great solution - better my beloved girlfriend is the secret genius - If you install this hack https://vborg.vbsupport.ru/showthrea...hlight=chatyou can trick it.

1. Install the Email Integration Hack,do all needed settings
2. And in this Forum hack just place the Email to send from the Email you have to place for a forum in the Integration Hack.


GREAT THING NOW!

But if there would be a update from this hack i won't cry....
Reply With Quote
  #633  
Old 09-04-2007, 01:18 AM
FCS-Webmaster FCS-Webmaster is offline
 
Join Date: Aug 2007
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deepdog009 View Post
FCS-Webmaster what U ask 4 can be done, but it requires some coding changes...

ABE1 can help U better, I creating a few add-ons 2 this, but not much feedback so I stopped...
[COLOR="Blue"]
Yeah I use your Image Match - GREAT ADD ON!
Prevents my board from a lot spam!
Reply With Quote
  #634  
Old 09-04-2007, 10:52 AM
FCS-Webmaster FCS-Webmaster is offline
 
Join Date: Aug 2007
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A last question.

Below the form are three buttons: Submit - Preview - Reset.
How can I translate them into another language

I tried to change the value but after this the form only shows the preview and doesn`t work anymor. Any hints?!

thnx a lot
Reply With Quote
  #635  
Old 09-04-2007, 10:21 PM
faramir8360 faramir8360 is offline
 
Join Date: May 2007
Location: Italy
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excuse me if I'm going to repeat a question already asked (43 pages are veryyyy long!!), but is it possible tu assign a different Formatting BBcode to every entry of the form?

For eg:

Question: What is your name? ----> Reply: Mark

On submiting the form the messagge will be displayed as, written in bbcode:

[center.][b.]Mark[./b][./center]

etc... with other entries, but anyone with its own bbcode.

In this way the user can automatically insert a new thread standandly formatted...

excuse for bad english... by!
Reply With Quote
  #636  
Old 09-04-2007, 10:33 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 faramir8360 View Post
Excuse me if I'm going to repeat a question already asked (43 pages are veryyyy long!!), but is it possible tu assign a different Formatting BBcode to every entry of the form?

For eg:

Question: What is your name? ----> Reply: Mark

On submiting the form the messagge will be displayed as, written in bbcode:

[center.][b.]Mark[./b][./center]

etc... with other entries, but anyone with its own bbcode.

In this way the user can automatically insert a new thread standandly formatted...

excuse for bad english... by!
faramir8360 yes U can...

Alter the answer template with bbcodes and its a done deal...

one of my add-ons has bbcodes added 2 answer sheet,,, it adds some bbcode pics...


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

FCS-Webmaster I have a update 4 that add-on,,, I will upload it by the weekend...
Reply With Quote
  #637  
Old 09-05-2007, 12:05 PM
faramir8360 faramir8360 is offline
 
Join Date: May 2007
Location: Italy
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deepdog009 View Post
faramir8360 yes U can...

Alter the answer template with bbcodes and its a done deal...

one of my add-ons has bbcodes added 2 answer sheet,,, it adds some bbcode pics...
Excuse me deepdog but.... I think.... I did not understand what I have to do to insert the bbcode in the form....
Reply With Quote
  #638  
Old 09-05-2007, 05:20 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 FCS-Webmaster View Post
A last question.

Below the form are three buttons: Submit - Preview - Reset.
How can I translate them into another language

I tried to change the value but after this the form only shows the preview and doesn`t work anymor. Any hints?!

thnx a lot

Here R a few links that should help with your question...


Input images 1

Input images 2


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


Faramir8360 take a look below at the answer template,,, add bbcode 2 your answer template and save,,, next submit test form and bbcode will show up in posts...

U may need 2 change images allowed in vBull options and add new bbcodes 2 bbcode mgr...


Good luck 2 ya


HTML Code:
:forms123:
$bbuserinfo[username]:gochat123:
:Music123:

$question1
$answer1

$question2
$answer2

$question3
$answer3

$question4
$answer4

$question5
$answer5 :emailreturn123:

$radioquestion1
$radioanswer1
$radioanswer1other

$radioquestion2
$radioanswer2
$radioanswer2other

:hotstuff123:

$vbtextquestion

$vbtextanswer

:hotstuff123:
Reply With Quote
  #639  
Old 09-09-2007, 11:32 PM
xanthide xanthide is offline
 
Join Date: Aug 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if i want to use it instead of the NEW THREAD, is there a way i can get the $formforumid to determine what forum the thread is started in?
Reply With Quote
  #640  
Old 09-09-2007, 11:59 PM
xandizitxu xandizitxu is offline
 
Join Date: Mar 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was looking for it !
Reply With Quote
  #641  
Old 09-10-2007, 04:23 PM
xanthide xanthide is offline
 
Join Date: Aug 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VHLinks View Post
Hey guys, maybe I missed it, I also ran a search. Is there way to set this up so you can select a post icon, and not have it be blank when it posts the topic? I was trying to figure out a way to do it, but I kept breaking the code. Any ideas would be great. Thanks!
ye.. i would also like some way to do this..
anyone who can help?
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 04:09 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.05977 seconds
  • Memory Usage 2,322KB
  • 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_html
  • (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