![]() |
Forms Hack
Forms Hack 3.5 Features: Ever wanted an online form that a user can fill out, which when submitted gets:
Or any combination or all of the above? Well, this is the hack for you! You can use this for:
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:
This is customizable via the hook. Also:
INSTALLATION Easy - takes only a few minutes:
Done! Use this hack to make as many forms as you like! Enjoy! Updates: Version 2.0: (08/10/2005)
Version 2.1: (08/10/2005)
Version 2.5: (08/13/2005)
Version 2.6: (08/21/2005)
Version 2.7: (08/23/2005)
Version 3.0: (11/29/2005)
Version 3.1: (12/07/2005)
Version 3.2: (12/09/2005)
Version 3.3: (12/19/2005)
Version 3.4: (04/05/2006)
Version 3.5: (05/31/2006)
Abe1 with rights from Dr Erwin Loh This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation. https://vborg.vbsupport.ru/external/2010/02/12.gif |
Woohoo!!!
This has always been my Favorite Hack Ever!! Thanks to Erwin and now Abe1 for this. |
Very awesome!!!
Totally agree with Jugo, I think I have 8 or 9 forms running on my site now :) Thanks! |
Hmmm testing this, even the generic unaltered form.
Answers are not posting to the forum. The template posts comes up right, and the questions do.. but the answers are blank. |
Quote:
|
Quote:
|
Tested and works :)
Thanks so much!!! :D [high]* Cyricx gets busy updating his dozen or so forms...[/high] |
One more bug fix for ya bud.
If you use a tableprefix and use this thread to post a reply, you'll get an error, missed 2 table prefixs. :) Change this in the plugin Code:
if ($formreply == "1") { Code:
if ($formreply == "1") { |
I decided to acually work on this hack. I made new thread, new poll, new post, and new PM all use VB's functions instead of the form runing the queries. This alows everything to be done correctly. Words beng added to search, subsciptions being emailed, and so on.
Here is the offical list of this major update: Version 2.5 - Major update: - Templates have a few lines changed here and there. - You can now have more then 2 poll options very eazaly - Polls can'tbe created if your not creating a new thread - New Thread now uses VB function to add the thread - New Poll now uses VB function to add the poll - New Reply now uses VB function to add the reply - PM now uses VB function to send the PM |
LOL..Nice work Abe...
Classy!! |
*Rowdy clicks install*
|
When I import this, it's blank? :confused:
Any ideas? |
Nevermind, I imported into the wrong location :)
|
Installed and works but it doesn't look like vB code will work in the answers template. Any way to get that to work so that I can bold the questions when the results are spit out?
|
Quote:
I have a question - I have mine posting to a new thread. One problem is when the thread gets posted it goes into the moderation queue - any idea how to stop taht? It does not appear to be the forum perms causing it. |
Quote:
|
Quote:
|
Nice work. :) Thanks for doing it.
|
Quote:
|
With the previcious version I could use parameters using ?param1=lsdkfjkl¶m2=blabla
Is it posible to use it in this version? |
Quote:
The link would be: newthread.php?do=form¶m1=lsdkfjkl¶m2=blabl a In the plugin, you have to add: PHP Code:
|
OWSOME, it works smoothhhhhhhhhhhh :), thx m8
|
One issue, the default questions won't go away! The question for "is it yes or no if yes please explain" is still displaying despite my eliminating that code! www.alliancemodding.com/vb/newthread.php?do=rpg
|
it completly messes up my forum it throws the header all over the place and the footer all over the place
|
Quote:
|
Quote:
|
version 2.6 released.
fixed bug with posts having to be moderated WHAT THE CHANGES WERE: in the plugin, FIND: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Thanks for this update. There are a few things I would need to be able to use this though. Is any of the following possible?
Immediate Wish List -URLs submitted are clickable in the resulting post Complicated? Wish List -Have something like $titlefield1, $titlefield2, $titlefield3, etc. that when completed, generates the thread title for a new post or subject line for a sent email, etc. As a generic example say for submitting an auction item: "Title", "Location", and "Cost". The user would fill in something like: "2000 Ford Mustang for sale", "Ebay", and "$12,000". Then the resulting generated thread title would be: "2000 Ford Mustang for sale | Ebay | $12,000" |
Quote:
I mean this for like a news submit system. That would get in the news area... |
so do I have to make copies of the plugin to make more forms?
|
Quote:
|
Quote:
The second is easy. Maybe for next release. |
Quote:
|
Quote:
And if you could get my second request going, other than vBAdvanced CMPS, this would be the #2 most usefull hack for me. I just really can't use it if all thread titles are the same. Thanks again for your quick responses. |
Quote:
Find this 2 times: $newpost['title'] =& $formtitle; and replace the $formtitle with any varable you want from the form. If you want 2 together, put them in quotes. |
Yes, I know i'm awsome, you dont have to say it ;)
This is what I do on my site for my forms. |
Quote:
I will try things out tomorrow, and thanks again. |
Now that I understand this thing, [INSTALL] When you make a copy of the plugin, does it generate the templates for you or do you have to write them?
|
Quote:
So, if I enter: Code:
http://yahoo.com But if I enter (I wont enter correctly or it will parse here as well): I get the clickable link. One of my required $longanswer fields are file URL locations so without URLs being parsed and the lack of a WYSIWYG editor controls, I fear my average user will not do things right. |
Quote:
|
All times are GMT. The time now is 06:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|