Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version - Contact Form 1.3
    Version 1.1 moves the AutoReply Subject String to the Language File - thanks Astaran
    Version 1.2 adds support for the $tbopen and $tbclose table wrapper in UBBThreads 6.2 - Thanks Dalantech
    Version 1.3 fixes a few template issues with Table Wrappers - thanks Dalantech.

Description - This replaces the email link in the footer with a link to a "contact us" page. This hides the email address from Spam Bots, and allows you to request all the needed info from your users (browser type, OS, nature of problem, etc...)

Sick of getting the generic "I can't login" or "I can't post" questions via email, only to have to write back and request more information (like Username, Browser type etc...)? This Contact Form will request as much information as possible... and even send along their IP address and User Agent info.

Features -
  • - Template Based, so you can easily modify the form
  • - Language File dependant, so you can easily modify the text, options and messages
  • - Offers them a link to the FAQ of their language before they ask their question
  • - Automatically grabs the username if the user is logged in
  • - Automatically grabs their email address if the user is logged in
  • - Verifies the email address they give for a response is valid
  • - Passes their IP Address and User Agent information to you
  • - Requests specific troubleshooting information
  • - Requires the email, type of problem, and details of problem to be filled in
  • - Choose to send emails to All Admins, or a list of specific users
  • - Choose to send an "auto reply" confiming that the email was received
  • - Auto reply message can be easily customized in the language file
  • - Uses the PHP's built in mail() command - no sendmail settings to configure
  • - If mail fails, user is given a message, and the direct email link to the admin
  • - Only touches one template file in threads - NO SCRIPTS ARE MODIFIED
  • - Preserves the "Cat" variable passed from Threads.
  • - Super Simple install
  • - Optional step so that Who's Online shows the user's location when they are filling out the form


Demo - Here.

Working Under - UBB.Threads 6.1.1 AND will work with 6.2

Pre-requisites - none

Author - Joshua Pettit aka JoshPet - www.joshuapettit.com
for discussions and bug reports come to www.ubbdev.com

Credits - Astaran, Dalantech

Files Altered - ubbt_footer.tmpl, (optional - online.php language file)

Database Altered - none

New Files - contactus.php, docontactus.php, /templates/default/contactus.tmpl, /templates/default/contactusconfirm.tmpl, /languages/english/contactus.php

Any other info - Using this will save you tech support time, as you'll have as much information as possible when people contact you. No more generic emails saying "I can't login". It will also reduce spam, as you admin email address is removed from the page (and hidden).
Also.... this is more of an add-on (all new files) than a mod. It's really just one line of template editing needed. No threads scripts are touched.

Thanks to Dave_L and Gardener for helping me to find glitched line returns in my templates.

Note: To use this mod with 6.1, you'll need to comment out all the "get_input" lines at the top of docontactus.php.
Attachments
60992-ContactForm1.3.zip (0 Bytes, 346 downloads)

Last edited by JoshPet; 02/25/2003 6:41 PM.
Sponsored Links
Entire Thread
Subject Posted By Posted
[6.1.x / 6.2.x] Contact Form v1.3 JoshPet 11/25/2002 10:00 AM
Re: Contact Form 1.0 Gardener 11/25/2002 10:59 AM
Re: Contact Form 1.0 gfuchs 11/26/2002 9:52 PM
Re: Contact Form 1.0 dimopoulos 11/26/2002 11:31 PM
Re: Contact Form 1.0 JoshPet 11/27/2002 7:02 AM
Re: Contact Form 1.0 AllenAyres 11/27/2002 8:43 AM
Re: Contact Form 1.0 JoshPet 11/27/2002 8:46 AM
Re: Contact Form 1.0 Pappy 11/27/2002 9:03 PM
Re: Contact Form 1.0 Astaran 11/30/2002 3:24 PM
Re: Contact Form 1.0 l_cherrio 12/03/2002 9:04 PM
Re: Contact Form 1.0 JoshPet 12/03/2002 10:28 PM
Re: Contact Form 1.0 l_cherrio 12/08/2002 4:27 PM
Re: Contact Form 1.0 l_cherrio 12/08/2002 5:47 PM
Re: [6.1-6.2] Contact Form 1.1 JoshPet 12/26/2002 11:34 AM
Re: [6.1-6.2] Contact Form 1.1 JoshPet 01/15/2003 10:04 AM
Re: [6.1-6.2] Contact Form 1.1 Dalantech 01/19/2003 12:23 PM
Re: [6.1-6.2] Contact Form 1.1 Dalantech 01/19/2003 2:40 PM
Re: [6.1-6.2] Contact Form 1.1 JoshPet 01/19/2003 10:02 PM
Re: [6.1-6.2] Contact Form 1.1 Dalantech 01/19/2003 11:12 PM
Re: [6.1-6.2] Contact Form 1.1 JoshPet 01/20/2003 4:48 AM
Re: [6.1-6.2] Contact Form 1.1 Dalantech 01/20/2003 8:03 AM
Re: [6.1-6.2] Contact Form 1.1 pootlecat 01/26/2003 9:37 PM
Re: [6.1-6.2] Contact Form 1.1 JoshPet 01/26/2003 10:08 PM
Re: [6.1-6.2] Contact Form 1.1 pootlecat 01/26/2003 10:14 PM
Re: [6.1-6.2] Contact Form 1.1 JoshPet 01/26/2003 10:20 PM
Re: [6.1-6.2] Contact Form 1.1 jluerken 01/30/2003 11:36 AM
Re: [6.1-6.2] Contact Form 1.1 dimopoulos 01/30/2003 12:06 PM
Re: [6.1-6.2] Contact Form 1.1 JoshPet 01/30/2003 5:37 PM
Re: [6.1-6.2] Contact Form 1.2 AllenAyres 02/01/2003 8:50 AM
Re: [6.1-6.2] Contact Form 1.2 JoshPet 02/13/2003 8:32 AM
Re: [6.1.x / 6.2.x] Contact Form v1.3 JoshPet 02/26/2003 1:42 AM
Re: [6.1.x / 6.2.x] Contact Form v1.3 Pasqualist 02/28/2003 3:44 AM
Re: [6.1.x / 6.2.x] Contact Form v1.3 JoshPet 02/28/2003 4:05 AM
Re: [6.1.x / 6.2.x] Contact Form v1.3 Dalantech 02/28/2003 8:50 AM
Re: [6.1.x / 6.2.x] Contact Form v1.3 Gregori 04/06/2003 7:11 PM
Re: [6.1.x / 6.2.x] Contact Form v1.3 JoshPet 04/06/2003 7:18 PM
Re: [6.1.x / 6.2.x] Contact Form v1.3 Gregori 04/06/2003 7:34 PM
Re: [6.1.x / 6.2.x] Contact Form v1.3 JoshPet 04/06/2003 9:22 PM
Re: [6.1.x / 6.2.x] Contact Form v1.3 JoshPet 04/28/2003 2:09 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,835
Joined: January 2000
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)