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
  #242  
Old 09-22-2004, 01:46 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by venomx
I have it set to PM me when someone fills out the form. Works great but something is wrong because I do not get an email saying I have a new PM....
Why bother with an email to tell you that you got a PM, when you can enable the form to be emailed to you directly?
Reply With Quote
  #243  
Old 09-22-2004, 01:55 PM
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Location: Pennsylvania USA
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Because I like to get an email that I have a PM. I choose PM because its easier to save the answers. I fixed the problem I think. I just moved to a new server and on the old the catchall for emails was on but on the new server it was off so the email I used on my forum was bouncing.
Reply With Quote
  #244  
Old 09-22-2004, 11:26 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by venomx
Because I like to get an email that I have a PM. I choose PM because its easier to save the answers. I fixed the problem I think. I just moved to a new server and on the old the catchall for emails was on but on the new server it was off so the email I used on my forum was bouncing.
So get the form to do both, PM and Email.
Reply With Quote
  #245  
Old 09-27-2004, 12:59 AM
Rein Masamuri's Avatar
Rein Masamuri Rein Masamuri is offline
 
Join Date: Apr 2003
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ooo nice, I hope its well documented. thanks ^_^
Reply With Quote
  #246  
Old 10-04-2004, 11:50 AM
teksigns's Avatar
teksigns teksigns is offline
 
Join Date: Sep 2003
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone have a working textarea wysiwyg replacement for this Mod ?????
Reply With Quote
  #247  
Old 10-06-2004, 04:37 AM
Edmund Edmund is offline
 
Join Date: Feb 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry if I missed this earlier but does anyone find that search function does not capture any unique keywords from the first post in the thread?

I implemented the form and realised the following:
- post form resulting in new thread
- do search for unique keyword in thread -> no results
- post some random reply to thread
- do search again for unique keyword -> still no results
- post random reply containing unique keyword
- do search yet again for unique keyword -> finally thread is listed in results

Help!! Anyone?
Reply With Quote
  #248  
Old 10-08-2004, 12:48 AM
Ghanem's Avatar
Ghanem Ghanem is offline
 
Join Date: Aug 2004
Location: Bahrain
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Thank you for the great hack, I used it as a quiz form and its working fine except a bug..

when a memer does not answer all the questions (answer all is enabled) and try to go back, its seems resending the answers again and again..

I have a request too please..
How can I make it so a member can answer only one time, the next time he opens the page, he gets you have allready participated..

Regards.
Reply With Quote
  #249  
Old 10-10-2004, 03:36 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Edmund
Sorry if I missed this earlier but does anyone find that search function does not capture any unique keywords from the first post in the thread?

I implemented the form and realised the following:
- post form resulting in new thread
- do search for unique keyword in thread -> no results
- post some random reply to thread
- do search again for unique keyword -> still no results
- post random reply containing unique keyword
- do search yet again for unique keyword -> finally thread is listed in results

Help!! Anyone?
I mentioned this bug and another bug a few posts earlier. The other bug is that the post count doesn't go up when a user uses the form. I posted a fix to that bug. This bug I am waiting for the developers help.

I did come up with a temporary solution. I have my member directed to the 'edit post' page. When they click 'save changes' the posts goes into the search.
Reply With Quote
  #250  
Old 10-10-2004, 05:37 PM
taffy056 taffy056 is offline
 
Join Date: Sep 2004
Location: In a house in Wales ;)
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I am having trouble installing this hack. how do I add the 2 templates together in the text files, and where do I put them, I am running VB 3.0.3 ?

Many thanks
Reply With Quote
  #251  
Old 10-15-2004, 09:03 AM
taffy056 taffy056 is offline
 
Join Date: Sep 2004
Location: In a house in Wales ;)
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Finally figured out how to install this hack. I have a slight problem now, I keep on getting this error message:

"..you do not have permission to access this page. This could be due to one of several reasons:"

etc

I have set the permissions to allow me access but I still receive the above, any ideas?

taffy
Reply With Quote
  #252  
Old 10-15-2004, 08:38 PM
chet chet is offline
 
Join Date: Feb 2004
Location: Nottingham (UK)
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be nice to see what this is being used for and the code that surrounds it, I would like a application for mod form but I do not know how to edit the file
Reply With Quote
  #253  
Old 10-16-2004, 12:04 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by taffy056
Hi,

Finally figured out how to install this hack. I have a slight problem now, I keep on getting this error message:

"..you do not have permission to access this page. This could be due to one of several reasons:"

etc

I have set the permissions to allow me access but I still receive the above, any ideas?

taffy
Make sure your usergroupid is allowed.
Reply With Quote
  #254  
Old 10-17-2004, 08:57 AM
taffy056 taffy056 is offline
 
Join Date: Sep 2004
Location: In a house in Wales ;)
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Erwin,

The code looks like this at present, when I go to mydomain/forum/form.php all I get is a white page.

if (!in_array($bbuserinfo['usergroupid'], array())) print_no_permission();

When I put my usergroupid into the code I get the error message above, I am not quite sure whether I am allowing or disallowing a group when I put a number into the above code.

Thanks,
taffy
Reply With Quote
  #255  
Old 10-17-2004, 09:01 AM
chet chet is offline
 
Join Date: Feb 2004
Location: Nottingham (UK)
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could somebody create me an moderators application form please

Chet

Quote:
Originally Posted by chet
It would be nice to see what this is being used for and the code that surrounds it, I would like a application for mod form but I do not know how to edit the file
Reply With Quote
  #256  
Old 10-17-2004, 12:36 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by taffy056
Hi Erwin,

The code looks like this at present, when I go to mydomain/forum/form.php all I get is a white page.

if (!in_array($bbuserinfo['usergroupid'], array())) print_no_permission();

When I put my usergroupid into the code I get the error message above, I am not quite sure whether I am allowing or disallowing a group when I put a number into the above code.

Thanks,
taffy
You haven't entered a usergroupid - delete the whole line if you want everyone to access it.
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 01:33 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.05876 seconds
  • Memory Usage 2,372KB
  • Queries Executed 30 (?)
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
  • (6)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
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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