Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #132  
Old 07-09-2003, 08:15 PM
retsell retsell is offline
 
Join Date: Jul 2003
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fatal error: Call to undefined function: gettemplate() in /home2/cms/public_html/forums/form1.php on line 214

Any ideas?
Reply With Quote
  #133  
Old 07-09-2003, 09:56 PM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

proxyMX,
the hack is awesome, but takes you knowing how to edit html to make the forms the way you want. It has a lot of freedom. The form template is just an example of what you can do, you as a webmaster need to make the form specific for your site.

Erwin
gave you the fishing pole the tactle and the gear need to make forms, the exmaples are very clear and easy to install and setup. Rather than flaming the forum/hack try making your form, if you don't know html goto w3schools.com and read it for an afternoon.

Peace
Reply With Quote
  #134  
Old 07-10-2003, 01:22 AM
MetroSports82's Avatar
MetroSports82 MetroSports82 is offline
 
Join Date: Nov 2002
Location: NJ
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ditto, yea exactly what he said.

proxyMX, this hack works perfectly, and its as user friendly/customizable as it gets around here. but...to say that it "sucks" shows absolutely no class, mind you giving the least amount of credit to the creator of this hack (Erwin)...seriously, was that even necessary? that was not cool... :dead:
Reply With Quote
  #135  
Old 07-10-2003, 01:57 AM
proxyMX's Avatar
proxyMX proxyMX is offline
 
Join Date: Jun 2002
Location: Seven of Nine is hot! :do
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well i just think its been over-rated, its not perfoming as it said it would, i know html and some php, and ive had to edit ALL of the files not just one for it even to display properly, and now the thing dosent even post. ive given up and taken it off
Reply With Quote
  #136  
Old 07-10-2003, 06:44 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No comments.
Reply With Quote
  #137  
Old 07-10-2003, 09:42 AM
proxyMX's Avatar
proxyMX proxyMX is offline
 
Join Date: Jun 2002
Location: Seven of Nine is hot! :do
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin, im not dissing you man, you make some great hacks, its just this one dosent do "What is says on the box" Alot of people here have had problems with it posting, and ive had to edit ALL the files just to get one form to display properly.

The instructions say the only file you need to edit is the php file which is nonsense, if you do theres radio buttons etc everywhere, I suppose its because im DESPERATE for a hack like this, and have been waiting for one for quite some time. Instead ive got a half-baked version
Reply With Quote
  #138  
Old 07-10-2003, 05:49 PM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin, this hack really rocks. I love it..... and I'm using it to create a bunch of forms for different purposes, and even setting up multiple templates to choose from so we can do similar forms for the same function and still vary the layout sometimes, too, (not just changing the variables) so they don't all look the same.

I did run into a problem I can't figure out though...... and I need your help (in a hurry, if you please?)...

On a registration form, our first question asks the member's username. But we have the form fill that in automatically using $bbuserinfo[ username] -- since the system already knows who they are.

But in the third question, we ask them to enter their Player Name (for the event they're registering for). In most cases, the Player Name and their Username are identical. And any time the $answer3 text field matches $bbuserinfo[ username], the silly thing shows up totally blank.

How do I get around this?
Reply With Quote
  #139  
Old 07-10-2003, 06:13 PM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Btw.... for the guys having problems getting the forms they want set up the first time. Once you get through that part once or twice, it's really easy to design the custom forms you want, then just rename new files and change the content on your variables every time you use it after that.

As soon as I get this registration thing of mine online, I can show that as an example, along with an expanded version of a moderator application form we're using now. And I'm sure others can help you customize your files/templates how you want them if you tell us what you need.
Reply With Quote
  #140  
Old 07-10-2003, 06:56 PM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's an awesome hack, so far I haven't had any problems, and it does everything my mods needed. It's a real time saver thank you.
Reply With Quote
  #141  
Old 07-10-2003, 07:57 PM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, here's a simple one. Frustrating though, because I thought I should be able to figure it out myself...

Anyway, when the form posts as a reply to an existing thread, how do I get this to increment the thread's count and mark the post as "new?"
Reply With Quote
Reply

Thread Tools

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 07:06 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.05652 seconds
  • Memory Usage 2,309KB
  • Queries Executed 27 (?)
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
  • (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_postinfo_query
  • fetch_postinfo
  • 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