Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News. Details »»
FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News.
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 06-11-2004 Last Update: Never Installs: 214
 
No support by the author.

FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - Totally CUSTOMIZABLE FORMS
Version 1.6 for vBulletin 3.x.x by Dr Erwin Loh

Features:

Ever wanted an online form that a user can fill out, which when submitted gets:

1. Posted into a new thread in a forum of your choice
2. Create a new poll in the new thread with options of your choice
3. Posted as a reply in an existing thread of your choice
4. PMed to you or someone else
5. Emailed to an email address you specify
6. Choose to redirect to the post, thread or forum, or a custom thank you message
7. Choose to redirect to editpost to upload attachments

Or any combination or all of the above?

Well, this is the hack for you!

You can use this for:

1) Moderator Applications
2) Quiz Submit Form which gets PMed to a moderator
3) Contact Form that goes to PM, email or thread
4) Guests to apply to be members
5) Report a Moderator form that goes as a PM to you
6) Guests can PM you for whatever reason
7) Order form to buy things
8) Donation form
9) News or Articles submissions that can go straight to a thread


Or anything you like - this hack is totally customizable via the PHP file.
Basically, this hack involves modifying 1 PHP file form.php (you add questions, options etc. in the PHP file itself), uploading it, and then adding 2 templates.

The beauty of this hack is that once you have added the 2 templates, to make a new form, all you need to do is copy the form.php and rename it to form2.php, edit the variables in the PHP file, and you have a totally new form!!! You do not need to touch the templates again.

Format of the form:

1. One main input question
2. 2 Radio buttons Choice questions
3. 3 Normal text input questions
4. 1 Long answer question

This is customizable via the PHP file.

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:

1. Add the 2 templates.

2. Edit form.php - the instructions are all inside the PHP file itself, in the top half. Follow the instructions carefully!

3. Upload form.php

Just link to form1.php eg. http://www.yourforum.com/forums/form.php

Done!

Use this hack to make as many forms as you like!

Enjoy!


Updates:

Version 1.1 - Option to force user to answer all questions.
Version 1.2 - Thread count and lastposter information now updated if form is sent to existing thread.
Version 1.3 - ADDED CREATE POLL OPTION!
Version 1.4 - Fixed bug with Form-to-thread code
Version 1.5 - Major update:
- fixed bug where thread count not updated when form to forum
- fixed default posting to allow smilies and sigs when reply to thread
- added templates to cache (saves 2 queries)
- added option to change thank you message
- added options to redirect to post, thread or forum when submit
Version 1.6 - Choose to redirect to editpost to upload attachments

Screenshot is an example of a form - the form title and questions are customizable:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #142  
Old 08-18-2004, 07:05 PM
Virulent1 Virulent1 is offline
 
Join Date: Aug 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i followed instructions... uploaded form.php and added the templates.. but im having one problem... when i go to submit the application to my self for a test.. i recieve a BLANK PM and BLANK EMAIL.. i dont get why its sending them blank... anyway very nice hack
Reply With Quote
  #143  
Old 08-18-2004, 07:06 PM
Brahm Brahm is offline
 
Join Date: Jan 2002
Location: Texas, USA
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin,
You're a real pro. Thanks for this hack -- it rocks. I have been doing a little research on how to get this page to redirect to the new "Thread" it has created once the form is submitted and it tells you "Thank You." Is there a simple line of code I can add to the form.php that will do this?
Reply With Quote
  #144  
Old 08-19-2004, 12:04 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you add the templates to the correct style. Blank pages and PMs mean the templates are not there or cannot be found.
Reply With Quote
  #145  
Old 08-19-2004, 12:51 AM
Virulent1 Virulent1 is offline
 
Join Date: Aug 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

they are added to the correct template.. thats odd... :\ i even tryed adding them to the other.. still blank... :\ i named them form and formanswers... like they should be from what im told..
Reply With Quote
  #146  
Old 08-19-2004, 12:55 AM
cnczone cnczone is offline
 
Join Date: Mar 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i check the color for those table that are black?
Reply With Quote
  #147  
Old 08-19-2004, 04:44 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cnczone
how do i check the color for those table that are black?
Your background must be black or somethng - modify the "form" template.
Reply With Quote
  #148  
Old 08-19-2004, 05:15 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice Erwin, thanks

I have a little question

how can I use this hack? not technicaly, I did install it and customized it and all working just fine test posing in forum (new/reply) and email

but I guess my question is whats the best way to use it for? or how to make use of it?

I sat there with another admin trying to figure that but .....

I thought I'd just use the email part to make it like site comments or whatever

but why use that to post in the forum when we have the normal posing way or even quick posting too?

I am sorry I am not tryin to say anything other than wanting some ideas to make use of the script as I do like it


Thanks
Reply With Quote
  #149  
Old 08-19-2004, 05:31 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merjawy
Very nice Erwin, thanks

I have a little question

how can I use this hack? not technicaly, I did install it and customized it and all working just fine test posing in forum (new/reply) and email

but I guess my question is whats the best way to use it for? or how to make use of it?

I sat there with another admin trying to figure that but .....

I thought I'd just use the email part to make it like site comments or whatever

but why use that to post in the forum when we have the normal posing way or even quick posting too?

I am sorry I am not tryin to say anything other than wanting some ideas to make use of the script as I do like it


Thanks
The potential uses of this hack is listed in my first post. It's not a complete list.

I use it on my site as a moderator application form, which creates a poll automatically in my staff forum for current staff to vote.

But others have used it for manual donations, selling items etc.

Some use it as a way for guests to PM staff, or a way to submit quizzes or news articles.

It's what you want to make of it.
Reply With Quote
  #150  
Old 08-19-2004, 06:33 AM
PKRWUD's Avatar
PKRWUD PKRWUD is offline
 
Join Date: Jan 2003
Location: Ventura, California
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merjawy
Very nice Erwin, thanks

I have a little question

how can I use this hack? not technicaly, I did install it and customized it and all working just fine test posing in forum (new/reply) and email

but I guess my question is whats the best way to use it for? or how to make use of it?

I sat there with another admin trying to figure that but .....

I thought I'd just use the email part to make it like site comments or whatever

but why use that to post in the forum when we have the normal posing way or even quick posting too?

I am sorry I am not tryin to say anything other than wanting some ideas to make use of the script as I do like it


Thanks
I'll tell you what I'm going to use it for (as soon as I can figure out how to add a redirect). My website is automotive themed, and we have a couple Tech forums, where members come to ask advice on how to fix various problems that they are having with their vehicles. A common problem that we see is when a member doesn't give important information when they are starting a thread. There have been times when all they'll say is: "My car runs crappy. What's wrong with it?" They forget that we may not know their Make/Model/Year, etc. For a couple years now, I've wanted to have a form that needs to be filled out in order to make a post in that forum, so that I could tell them specifically what info is needed.

I don't know what your forum is about, but perhaps you could find a similar use for this wonderful hack. Attached is a pic of my form page.

Take care,
~Chris
Reply With Quote
  #151  
Old 08-19-2004, 07:46 AM
alqadir alqadir is offline
 
Join Date: Aug 2004
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey guys whats up.

I am just about to install this hack -- or as I would call it a MAJOR UPGRADE.

I want to use this form for many forums, but do not want to upload a new forum.php, and the two templetes for each forum. Each forum I want to post to will ask the same questions.

What I am asking here is, is it possible to use the same forum.php and the two templetes for multiple forums? I do not want the form answers to be posted in multiple forums. If this is possible how can I do it?

Is it also possible to for this script to find out automatically what thread the user wants to reply to?

Thanks.
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 06:22 AM.


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.05281 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
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
  • (3)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
  • (2)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