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: 6048
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:	21065
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 20:17

  #46  
Old 17 Sep 2006, 07:54
Limerick Limerick is offline
 
Join Date: Sep 2006
Hello Abe,

Thank you very much for your hack which will be useful for many of us.

I'd like to know if your hack could be used in a way I've described here, and what changes would it need ?

Note that what I described there was just an idea, but your design seems to be as convenient.

Last edited by Limerick; 17 Sep 2006 at 08:08.
Reply With Quote
  #47  
Old 17 Sep 2006, 08:54
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Hi Abe,
I have modified the form to allow the attachements, and that works (in that it allows me to add attachments). I have also re-modified the formanswers template from the original, although I don't see any reference to attachments in that.
No attachments are appearing in the preview. What am I doing wrong, please?
__________________
AVForums.com the UK's largest audio visual home consumer electronics forums. Now using Xenforo because vB5 is not suitable for large forums and vB3 and vB4 are no longer being developed.
Reply With Quote
  #48  
Old 17 Sep 2006, 10:52
The-Ensemble's Avatar
The-Ensemble The-Ensemble is offline
 
Join Date: Jul 2006
Real name: Jaymes
Originally Posted by Spinball
Yes, you have to create a different form (and formanswers) template and also a plugin product for each one.
ok, that sounds kinda hard. Do I just alter the original plugin product and change a few things?
If so what things?
Reply With Quote
  #49  
Old 17 Sep 2006, 11:05
aceofspades's Avatar
aceofspades aceofspades is offline
 
Join Date: Apr 2006
Can you please help me, i am getting this error message:

Fatal error: Existing data passed is not an array
Called set_existing in /home/hiven48/public_html/forums/newthread.php(70) : eval()'d code on line 411
Called eval in /home/hiven48/public_html/forums/newthread.php on line 70
in /includes/class_dm.php on line 235
I have only changed the titles of the questions, i havent changed anything else.
Reply With Quote
  #50  
Old 17 Sep 2006, 12:18
The-Ensemble's Avatar
The-Ensemble The-Ensemble is offline
 
Join Date: Jul 2006
Real name: Jaymes
Ignore my previous question. I just found the instructions lol

ETA: Can the form be customised to have a lot of input box and fields?

ETA (again): How would I change the navbar in php? I want it so it says
board name - usercp - usercp page - form

Does this (the questions etc.) have to be done in php? can't it be done in the template?

any idea?

Last edited by The-Ensemble; 17 Sep 2006 at 15:39.
Reply With Quote
  #51  
Old 17 Sep 2006, 13:16
zafrir zafrir is offline
 
Join Date: Jul 2006
Question vBulletin.org style usage

Can I use the hack to creat a vbulletin.org style threads?

I want to enable a specific usergroup to use the form for the first post of a thread (post a software review in my case in a predefined format) and then enable all other users to reply to that post.

How the edit post is done?? will I be able to use the form to edit posts done with the form.
Reply With Quote
  #52  
Old 17 Sep 2006, 16:07
The-Ensemble's Avatar
The-Ensemble The-Ensemble is offline
 
Join Date: Jul 2006
Real name: Jaymes
Oh and I want to remove the toolbar and stuff from around the message area how would I do that? Because I can't see it anywhere where it says to do that. . .
Reply With Quote
  #53  
Old 17 Sep 2006, 16:09
Limerick Limerick is offline
 
Join Date: Sep 2006
Originally Posted by Limerick
Hello Abe,

Thank you very much for your hack which will be useful for many of us.

I'd like to know if your hack could be used in a way I've described here, and what changes would it need ?

Note that what I described there was just an idea, but your design seems to be as convenient.
Ok I've installed the hack so I guess it would be possible to reach my goal.
Unfortunately, I think it would be to hard for me.

But, most of all, it would need, IMHO, just one improvement.

It should be possible to call this hack from an existing thread with a special button like "Post Reply" or "New Thread", which could be named "Quote a received e-mail"
Reply With Quote
  #54  
Old 17 Sep 2006, 16:27
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Oh god! Upgraded forum to 3.6.1 and now getting this error when posting the form:
Warning: Cannot use a scalar value as an array in /incoudes/functions_newpost on line 352
__________________
AVForums.com the UK's largest audio visual home consumer electronics forums. Now using Xenforo because vB5 is not suitable for large forums and vB3 and vB4 are no longer being developed.
Reply With Quote
  #55  
Old 17 Sep 2006, 16:51
The-Ensemble's Avatar
The-Ensemble The-Ensemble is offline
 
Join Date: Jul 2006
Real name: Jaymes
what does it say on 352 of that file?
Reply With Quote
  #56  
Old 18 Sep 2006, 00:58
R.Caldwell R.Caldwell is offline
 
Join Date: Aug 2006
Originally Posted by camuca
Hi, this is a very good work.

How would I implement a drop down box that would show list of the forums and allow user to post the form to.

//FORUM TO POST NEW THREAD IN
//You CAN make this number a variable. You can have a drop down menu or in the link like do=form&f=1. Make sure you add it the variables list.
$formforumid = "5";


It will be something like $formforumid = Dropdown code that shows all the forums which are then converted to ids, I guess

Any suggestions how this can be implemented
I could use some help with this section of the form as well.
Reply With Quote
  #57  
Old 18 Sep 2006, 06:28
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Originally Posted by The-Ensemble
what does it say on 352 of that file?
($hook = vBulletinHook::fetch_hook('newpost_process')) ? eval($hook) : false;
__________________
AVForums.com the UK's largest audio visual home consumer electronics forums. Now using Xenforo because vB5 is not suitable for large forums and vB3 and vB4 are no longer being developed.
Reply With Quote
  #58  
Old 18 Sep 2006, 13:20
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by Spinball
Hi Abe,
I have modified the form to allow the attachements, and that works (in that it allows me to add attachments). I have also re-modified the formanswers template from the original, although I don't see any reference to attachments in that.
No attachments are appearing in the preview. What am I doing wrong, please?
Attachments dont show up on the preview but are still there when you click preview.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #59  
Old 18 Sep 2006, 14:43
ctrl-alt-del ctrl-alt-del is offline
 
Join Date: Jul 2006
What an excellent hack!! I'll need to install this and start testing. Thanks!!
Reply With Quote
  #60  
Old 18 Sep 2006, 15:49
The-Ensemble's Avatar
The-Ensemble The-Ensemble is offline
 
Join Date: Jul 2006
Real name: Jaymes
Originally Posted by Spinball
($hook = vBulletinHook::fetch_hook('newpost_process')) ? eval($hook) : false;
Hopefully the coder will know whats wrong with this, because I don't sorry

-----
Has their been any idea how any of these can be done?

Originally Posted by The-Ensemble
ETA (again): How would I change the navbar in php? I want it so it says
board name - usercp - usercp page - form

Does this (the questions etc.) have to be done in php? can't it be done in the template?

Also How would I make the box's bigger? I've tried in the templates and it doesnt change, how would I do it in php?

any idea?
Thanks
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 11:44.

Layout Options | Width: Wide Color: