Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Form Hack Details »
Form Hack
Mod Version: 4.1, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (76 votes - 4.51 average) Installs: 1213
Released: 15 Sep 2006 Last Update: 24 Apr 2008 Downloads: 6039
Not Supported Uses Plugins Template Edits  

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

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	form.JPG
Views:	21052
Size:	147.2 KB
ID:	53487  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Ajax add-on Form Hack Deepdog009 vBulletin 3.6 Template Modifications 23 22 Sep 2008 21:17

  #1246  
Old 09 Sep 2008, 14:44
illithid illithid is offline
 
Join Date: Sep 2007
Check around line 100 for a missing semicolon( ; ), double quote( " ), single quote( ' ) or bracket( { ).

Last edited by illithid; 09 Sep 2008 at 14:54.
Reply With Quote
  #1247  
Old 11 Sep 2008, 00:18
BlueBulletRL BlueBulletRL is offline
 
Join Date: Apr 2005
Originally Posted by RedGTiVR6 View Post
Has anyone been able to find a way to warn the user when the title is too long for the 'thread'?

I'm finding that our users are putting a very long title in.

I have a field set: Please give a brief description of the problem here

Well, they seem to think that brief means long....

So they go to submit a bug report, they are told by vBulletin that it's submitted...yet nothing ever shows up because the title is too long.
The way I had took care of this was go to your input textbox for the thread title and add maxlength="75". I believe the cut off is 80 but I just put 75 to be safe. This will work its funny to cause I just was asked to do this.

Has anyone gotten this to work where you must have a certain amount of post before you can do it.
Reply With Quote
  #1248  
Old 11 Sep 2008, 00:22
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Real name: Jan
Originally Posted by BlueBulletRL View Post
The way I had took care of this was go to your input textbox for the thread title and add maxlength="75". I believe the cut off is 80 but I just put 75 to be safe. This will work its funny to cause I just was asked to do this.

Has anyone gotten this to work where you must have a certain amount of post before you can do it.
can you show me exactly per the code? I'm not sure I understand.

Input text box....is that in teh product its self or in the form template?

As for your second question, can you put those users in another group and allow only that group (and others) to use the form?

On my forums I have used the active members and registered members groups.

Active for those I want to be allowed to use the features of the site.
Reply With Quote
  #1249  
Old 12 Sep 2008, 15:57
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
How do I add a url into the form? It is just showing up as plain text and not as a link. Pic attached.

Capture_019.jpg
Reply With Quote
  #1250  
Old 12 Sep 2008, 18:14
ForumsMods's Avatar
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Real name: Adrian Sacchi
Originally Posted by viper357 View Post
How do I add a url into the form? It is just showing up as plain text and not as a link. Pic attached.

Attachment 86798
Use html.
Reply With Quote
  #1251  
Old 12 Sep 2008, 19:14
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Originally Posted by Gasper View Post
Use html.
Do you mean like this...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


It doesn't work, I get a parse error
Reply With Quote
  #1252  
Old 13 Sep 2008, 06:08
ccplim ccplim is offline
 
Join Date: Feb 2005
Originally Posted by viper357 View Post
Do you mean like this...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


It doesn't work, I get a parse error
Is this for your final output after the form have been submitted? If yes, use standard BB code in your formanswer template.
Reply With Quote
  #1253  
Old 13 Sep 2008, 06:21
dmorales dmorales is offline
 
Join Date: Feb 2007
You guys should be careful with this bug.

This happens with topics which are created by this hack.

When an user chooses option "Instant email notification" in "Default Thread Subscription Mode", then the moderators move those topics (that user subscribed) to moderator areas or somewhere that user can't access, but emails were still sent out to nofify that user about all the replied messages.

Sometimes the administrators and moderators discuss about that user in those topic are created by this hack, he/she also knows everything even he/she can't access to the area where the topics has been moved in.

Please advise.

Thanks.
Does anyone have a solution to this problem? I would appreciate the help. My users can see any messages that are left since they are subscribe to the thread. It sends them e-mail with the updated message. It's kinda defeats the purpose to having the applications confidential and only for moderators to comment on.
Reply With Quote
  #1254  
Old 13 Sep 2008, 13:46
jdunsworth jdunsworth is offline
 
Join Date: Jul 2006
Originally Posted by illithid View Post
Check around line 100 for a missing semicolon( ; ), double quote( " ), single quote( ' ) or bracket( { ).
This didn't work.. everything in newthread.php is fine. I get this error no matter if I upload a brand new product from this thread without editing it or use one I edited...

I want to say that it was a general compatibility issue with 3.7, however, it works fine on one of my forums running 3.7 and I haven't edited anything else with this forum that should mess it up.
Reply With Quote
  #1255  
Old 13 Sep 2008, 14:18
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Originally Posted by ccplim View Post
Is this for your final output after the form have been submitted? If yes, use standard BB code in your formanswer template.
No, I am creating the form for it to be filled in by members, at the bottom of the form I am trying to put a link to a URL for the rules for the members to read before they submit the form.
Reply With Quote
  #1256  
Old 13 Sep 2008, 20:13
jdunsworth jdunsworth is offline
 
Join Date: Jul 2006
I got it working.. to my mistake I had accidentally had an extra quotation in one of my variables.. whoops!
Reply With Quote
  #1257  
Old 15 Sep 2008, 20:56
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Originally Posted by blacklancer View Post
I'm having problems with this hack...

I have the need for 2 forms. I made the easier one of the 2 first and tested it and it works fine. When I do the 2nd one, it gives me the following error when I try to submit the form.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

any advice on what to do??
I'm having the exact same problem, any idea on how to solve it? I am also using the "edit thread button" hack.
Reply With Quote
  #1258  
Old 16 Sep 2008, 05:21
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
I figured I would post this because I didn't see it anywhere else in a quick search through here.

If you want to have a separate activity on the online page, then there is a simple addition to the product to allow this. For example, if you have a form to submit a PM to the admins, then when a user is using that form, you could have their location/activity be "Contacting the Admins". That is just an example, it is open to whatever you want.

Here is the code you must add to the product xml to get this easy addition:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just replace 'your_form_name' with the name of your form and put whatever text you want in the action field.

This works on my vBulletin v3.7.3, haven't tested older versions.

Oh yeah, I think that this should be added into the base product.
Reply With Quote
  #1259  
Old 16 Sep 2008, 05:46
uberjon uberjon is offline
 
Join Date: Sep 2006
Originally Posted by Null Parameter View Post
I figured I would post this because I didn't see it anywhere else in a quick search through here.

If you want to have a separate activity on the online page, then there is a simple addition to the product to allow this. For example, if you have a form to submit a PM to the admins, then when a user is using that form, you could have their location/activity be "Contacting the Admins". That is just an example, it is open to whatever you want.

Here is the code you must add to the product xml to get this easy addition:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just replace 'your_form_name' with the name of your form and put whatever text you want in the action field.

This works on my vBulletin v3.7.3, haven't tested older versions.

Oh yeah, I think that this should be added into the base product.
nice! was looking for this yesterday!!! (may i kiss you? )

+1 for base product!
Reply With Quote
  #1260  
Old 16 Sep 2008, 21:55
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Any help with post number 1258
Please
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:50.

Layout Options | Width: Wide Color: