![]() |
|
Mod Options |
![]() |
|||||||||
This modification is in the archives.
Form Hack 4.1 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 4.0: (09/15/2006)
Version 4.1: (04/24/2008)
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 Show Your Support
No members have liked this post.
|
![]() |
||||
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 |
#406
|
||||||||||||
|
||||||||||||
Ok, I've been trying to nut this out based on what others have posted in the thread.
Basically, I want a drop down box which defines what forum the news will be posted too. I have the following:
Further down:
Template:
EDIT - THIS IS FIXED - SEE POST BELOW: When I submit the form using this, I get: Warning: Cannot use a scalar value as an array in /includes/functions_newpost.php on line 356 Could someone offer some advice. I'm assuming the problem lies in the above somewhere; maybe!! ![]() THanks! No members have liked this post.
Last edited by rayw; 18 Apr 2007 at 07:48. |
#407
|
|||
|
|||
HEY!!!! I figured it out. I just noticed that <select name="dropdownforum1"> should be <select name="dropdownanswer1">.
I will post the finished product once I have fine tuned it. ![]() EDIT: I've updated the code above so it should work fine now. No members have liked this post.
Last edited by rayw; 18 Apr 2007 at 07:51. |
#408
|
||||
|
||||
![]()
U da Man RayW
![]() Yes please post your outcome when finished. If statements seem easy until you place them. But eventually hard work and patience will prevail. Cya ![]() No members have liked this post.
|
#409
|
|||
|
|||
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!
No members have liked this post.
|
#410
|
|||
|
|||
I'm looking for some guidance in formatting the answer template so that I can control the way the finished post looks. Is there any way to use conditionals in the answer template?
For example I have $question1 $checkboxAnswer1_1 $checkboxAnswer1_2 $checkboxAnswer1_3 If only the first checkbox is selected on the form then the $checkboxAnswer1_2 and $checkboxAnswer1_3 put spaces in the final post. I'd like to do something like if ($checkboxAnswer1_2==""){ echo ""; } That way I can eliminate the spaces? Any ideas? No members have liked this post.
|
#411
|
|||
|
|||
validation?
As with any area that allows for user input, does this hack validate input in any way?
I just want to make sure it is secure enough so that the average user cannot exploit it. If not, is there a way to integrate validation to make it more secure? Thanks No members have liked this post.
|
#412
|
|||
|
|||
You can use some JavaScript and expressions to limit input in any of the boxes. I've done this so that a certain box can only have numbers input into it. You could essentially use this as a NoSpam! type mod. Then you can modify your form plugin so that ALL the fields must be answered.
Or you can wait until I finalize my Image Verification add-on... which is looking pretty dismal right now. ![]() I may see if Abe1 would like to take what I've done and test it and incorporate it right into the actual form hack. Not sure if he's interested though. No members have liked this post.
|
#413
|
|||
|
|||
Hello rayw,
Did you succeed? I'm interested by your search ![]() No members have liked this post.
|
#414
|
||||
|
||||
![]()
Thanks 2 ABE1 file I have inserted IMAGE VERIFICATION...
I have created two forms of IMAGE VERIFICATION 2 use with this HACK... check my sig for more info... Good Luck... ![]() Thanks again 4 dis Hack ABE1 im learning about forms.
__________________
Long vacation folks, back 2 dabble and doodle... ![]() No members have liked this post.
Last edited by Deepdog009; 17 Apr 2007 at 21:36. |
#415
|
||||
|
||||
upnorth
Originally Posted by upnorth
UpNorth this can be done, but you will have to alter the plugin file to match and execute.![]()
I still learning this stuff, Im sure ABE1 can do this with his eyes closed, but hes a busy man. I will take a look and see if I can help... Check with RayW, he has made some progress in this area...
__________________
Long vacation folks, back 2 dabble and doodle... ![]() No members have liked this post.
|
#416
|
|||
|
|||
Hello All,
In fact I wish to know if it is possible to let people post the form in any of the existing forums. To do so, they should be able to select the forum in a dropdown list looking like the "Forum Jump" list. Would this be possible? And first off all, would it also possible to let users choose the name of the filled form when posted? For example the form type would be displayed like a prefix and the user would complete this prefix by a name written in a mandatory field... Thanks for your help ![]() No members have liked this post.
Last edited by Limerick; 17 Apr 2007 at 21:40. |
#417
|
||||
|
||||
Invalid
I am having a problem with the form hack. I am receiving a error
Does anyone know how to fix this error. I have tried almost everything... I guess there is something that I have not tried yet. No members have liked this post.
|
#418
|
|||
|
|||
Originally Posted by Limerick
The answer to this is above. (well, it is back on the last page now about half way down).![]()
It is exactly what I've got running on my forums at the moment, only with a few extra forums added. No members have liked this post.
Last edited by rayw; 18 Apr 2007 at 05:02. |
#419
|
|||
|
|||
Originally Posted by upnorth
![]()
upnorth, I'm no experienced programmer (I'm still learning too) but it looks like you have the right idea. You may be able to work it out using what I have posted here (it is back on the previous page about half way down as well). If you give your checkboxes values ($checkbox1a, $checkbox1b, $checkbox1c, for example) and apply those values to what I have written, you would be pretty close to fixing your problem I reckon. You may need to make 1 or two other tiny changes to make it function correctly. I wish I could help more! ![]() No members have liked this post.
|
#420
|
|||
|
|||
Originally Posted by rayw
![]()
Hello rayw, Thanks for your answer, but when you say
But your answer here should mean "all is ok now", I guess ![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 08:22.