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

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

Version: 2.3.x Rating:
Released: 05-22-2003 Last Update: Never Installs: 68
 
No support by the author.

FORM TO FORUM/ THREAD/ PM/ EMAIL - Totally CUSTOMIZABLE FORMS
Version 1.3 - Dr. Erwin Loh
-------------------------------------------------------

vB3 version is here:
https://vborg.vbsupport.ru/showthread.php?t=66082


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. Posted as a REPLY to a current thread
3. PMed to you or someone else
4. Emailed to an email address you specify

Or any combination or all of the above?

Well, this is the hack for you!

You can use this for:

1) Moderator Application
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 form1.php (you add questions, options etc. in the PHP file itself), uploading it, and then adding 3 templates.

The beauty of this hack is that once you have added the 3 templates, to make a new form, all you need to do is copy the form1.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. However, if you do wish to modify the templates, you can copy and rename the templates. All the names of files and templates can be set in the PHP files.

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.


INSTALLATION
------------

Easy - takes a few minutes:

1. Add the 3 templates - they are included as 3 TEXT files - form1.txt, formpost1.txt and formthanks1.txt = just use the names of the TEXT files as the name of the template, and cut and paste the contents.

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

3. Upload form1.php

Done!

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

LAST POST TITLE ON FORUMHOME HACK SUPPORT
-----------------------------------------

If you have the "Last Post Title on Forum Home" hack by PPN, this hack supports it. Just find the line that says:

$lastposttitlehack = "0";

And change it to:

$lastposttitlehack = "1";

Done!


Updates:
------------

Version 1.1 - fixed a username with quotation bug.
Version 1.2 - fixed the email bug - oops... bad spelling...
Version 1.3 - added ability for form to REPLY to a current thread

To upgrade, just download the new form1.php - ensure it says "Version 1.3" at the top.


Enjoy!



Dr. Erwin Loh

Show Your Support

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

Comments
  #32  
Old 05-23-2003, 07:44 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is a FORM to THREAD/ PM or EMAIL, not FORM to POLL. Like I said, to make a poll is more complicated than you think from a form, and you can't email or PM a poll.
Reply With Quote
  #33  
Old 05-23-2003, 09:26 AM
VampireMan VampireMan is offline
 
Join Date: Jan 2003
Location: Leicestershire uk
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amazing Hack , thanks
Reply With Quote
  #34  
Old 05-23-2003, 09:29 AM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok man no prob thanks 4 explaining
Reply With Quote
  #35  
Old 05-23-2003, 09:44 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On the Moderator Application, is there a way to have the forums in a drop down box added to this (with the proper permissions)?
Reply With Quote
  #36  
Old 05-23-2003, 12:44 PM
Marulatree's Avatar
Marulatree Marulatree is offline
 
Join Date: Nov 2002
Location: London
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin - You are a king! This is exactly what Iwas looking for and I thought I'd never see it.

One thing though:

How can I add a button (new website/shop) to the this one forum's new thread. If I add a button to the new thread template it will appear on all of the forums. I want the button to only appear for the one forum. Also I want the form to post it automatically in a [ quote ]form submission[ /quote ] boxes

Sorry to bother you but you've solved 4/5ths of my problems.

Three cheers for Erwin!!!
Reply With Quote
  #37  
Old 05-23-2003, 01:17 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 08:44 PM Boofo said this in Post #34
On the Moderator Application, is there a way to have the forums in a drop down box added to this (with the proper permissions)?
I'm sure it is, but I won't be adding that feature. It's a lot more coding. Just change one of the questions to a "which forum do you wish to moderate".
Reply With Quote
  #38  
Old 05-23-2003, 01:18 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 11:44 PM Marulatree said this in Post #35
Erwin - You are a king! This is exactly what Iwas looking for and I thought I'd never see it.

One thing though:

How can I add a button (new website/shop) to the this one forum's new thread. If I add a button to the new thread template it will appear on all of the forums. I want the button to only appear for the one forum. Also I want the form to post it automatically in a [ quote ]form submission[ /quote ] boxes

Sorry to bother you but you've solved 4/5ths of my problems.

Three cheers for Erwin!!!

Just edit the template "formpost1" and add [quote] tags to the bits you want it quotes.

To change the button, edit the "form1" template. Like I said in the first post, this hack is meant to be customized and modified to fit your forum and your purpose.
Reply With Quote
  #39  
Old 05-23-2003, 01:50 PM
Marulatree's Avatar
Marulatree Marulatree is offline
 
Join Date: Nov 2002
Location: London
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that. I'll add the [ quote ] tags.

As for the second questions what I mean is:

usually you click on the forum then it takes you to the threads. Then you can click NEW THREAD button to post a new thread. What I need is a button NEW SHOP (which I can do no problem with a link to the hack you've done. But the problem is if I add this new button it will run throughout every forum not just the one I want. Like you have a unstalled button on your forum here, it is specific to the hacks forum.

Any advice would be very helpful.

M

[QUOTE]Today at 03:18 PM Erwin said this in Post #37
Just edit the template "formpost1" and add
Quote:
tags to the bits you want it quotes.

To change the button, edit the "form1" template. Like I said in the first post, this hack is meant to be customized and modified to fit your forum and your purpose.
Reply With Quote
  #40  
Old 05-23-2003, 02:00 PM
kaotic's Avatar
kaotic kaotic is offline
 
Join Date: Mar 2003
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Incredible!
Reply With Quote
  #41  
Old 05-23-2003, 02:19 PM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice
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 08:50 PM.


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.05198 seconds
  • Memory Usage 2,317KB
  • 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
  • (1)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