Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
Contact Us Form
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Contact Us Form
PostPosted: 08/04/2007 5:16 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:44 AM
greatbrE.gif
Hi Nightrider!
I'm slowly getting there, and I've added a 'contact us' form but its not working.
Its not going anywhere when you click submit, would you mind taking a quick peek to see what I've done wrong. I had to edit the config file but not sure if I did it right.
Thanks  flower

http://www.tickerplayground.com/PRACTICE%20BOARD/index.php

Quote:
Date: 26th July 2007
Version: 3.0 Beta 2
URL:     www.freecontactform.com
Author:  Stuart Cochrane
Email:  
NOTE: You must keep the author link intact to use this for free,
or purchase an owned license for £10 GBP -
see README.txt on how to purchase a license.


NOTE: Like most programmers (I hope!), I dont spend as much time as I should
on the writen docs. If you would like to help out with some docs or tutorials, please let me know.


CHANGE LOG FOR VERSION 3.0 Beta 2
1. Fixed problem with error redirect which effected PHP 5

CHANGE LOG FOR VERSION 3.0 Beta 1
1. Updated encryption process
 (the previous version was found to occasionally cause problems with certain user secret keys)
2. Added new form field value checker class to identify and remove any possible hack attempts.
3. Allowed the user to set SUBJECT line against any hackl attempts (you can filter these out in your email client).
4. Allowed to user to silently reject an hack attempts (relates to item 3 above).
5. Allow the user to specify if they want successfuly form submissions to be redirected to a new page or back to the form with confirmation message (see item 6)
6. User can specify the confirmation message (see item 5).
7. User can choose where to redirect on error. Either own custom page or use the form_error.php page provided (you can edit this to match your site design).



CHANGE LOG FOR VERSION 2.5 Beta 2
1. Fixed javascript trim fuction on 3 form fields
2. Removed some outdated comments

CHANGE LOG FOR VERSION 2.5 Beta
1. Updated email from address to reflect user
2. Included a new PHP generic form validator - add any fields you like
3. Included a new JavaScript form validator - add any fields you like


CHANGE LOG FOR VERSION 2.0 Beta
1. Fixed several bugs
2. Included Generic JavaScript Validator
3. New Demo Form
4. Updated form processor script to handle
and process generic form submissions


CHANGE LOG FOR VERSION 1.2.1
1. Removed debugging info

CHANGE LOG FOR VERSION 1.2
1. Fixed variable on fcf_parse to match the correct global scope.
2. Removed department radio buttons - only one email address if required in config.
3. Added a check for versions of PHP > 5.1 and included the date setting which may be required.

Please report any bugs or problems to - please include your PHP version,
and give details of any non-default settings you have. Also include the Operating System and webserver.



INSTALLATION:

Package Contents.

form.php - demo form.
config.php - this file contains parameters which you MUST change
process_form.php - form processing script, emails the form.
thankyou.php - example thank you page, you can create your own.
validation.class.php - php class used to validate the form.
validation.js - JavaScript functions used to validate the form.
README.txt - some basic information and LICENSE regarding the use of the script. Please read it.
installation.txt - This file


How to do a basic installation:

Upload the zip file (or each file at a time) to your server,
Consider which directory fits best with you site structure.

Unpack the content of the zip to your folder (if you have not already)

Open up config.php using an editor (vi would do on *nix)
Or you can open it on your local machine then upload after!

EDIT ALL SECTIONS INDICATED AT THE TOP OF THE config.php file

OPTIONAL:
If you want to change the default expiration time (60 minutes)..

Look for the lines (in the mkEncStr() function ):
// compare date/time
$plTime = date("YmdHi",mktime(date("H"),date("i")+60));
$msTime = date("YmdHi",mktime(date("H"),date("i")-60));

Edit the 60 values to your own preference.


Save you config.php file (upload if not already)




If you intend using this script on a form other than the one provided,
you must also edit the file 'process_form.php'
This file contains a generic form validator, you need to specify each field you wish to validate.


-----

ADDITIONAL HELP:
If you are having problems with install, please check the website for any additional details.
I hope to have the support section of the site completed very soon.




To build this form into your sites existing design:

Open up form.php for editing.

Insert your own HTML above and below the form script or
use PHP includes, for example:

include 'header.php'; // place at start of page
-- the form code in here --
include 'footer.php'; // place at end of page

Remember to keep  the code include 'config.php'; before the form!!



----


Notes:
If you are experiencing problems (i.e. no page appearing, or no emails) -
switch on error display and full error messages in the php.ini
This should give you an indication of the error.

It is advisable to keep register_globals set to off.


Bugs:
If you find any bugs or have suggestions for improvements for future versions,
please let me know by emailing


Don’t forget to check the site for updates:
http://www.freecontactform.com
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Contact Us Form
PostPosted: 08/05/2007 4:36 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:44 AM
Location: St Pete, FL
peace.gif
That page is really looking great.  You've done a lot to it...   Applause

The problem is that it couldn't find the process_form.php file listed in the form action setting.  When I include a full path to the file, it works fine though.  I had to adjust the following to get it to work:

OPEN
PRACTICE BOARD/form.php

FIND
Code:
<form name="fcform2" method="post" action="process_form.php"

REPLACE WITH
Code:
<form name="fcform2" method="post" action="http://www.tickerplayground.com/PRACTICE%20BOARD/process_form. php"

There might be better solutions than including the full path to the file, but this was a fast and easy method to get it working...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Contact Us Form
PostPosted: 08/05/2007 4:54 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:44 AM
greatbrE.gif
I got the test emails!  headbang Thanks for doing that!

Thanks, its not finished yet, I wasn't sure how to add things to a non-phpbb site but actually its been ok  blob8
The CRON is working (course it is!) I don't know how they were trying to add it, so it won't be long now before its live - depends on how much peace I get  hysterical2
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Contact Us Form
PostPosted: 08/05/2007 6:01 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:44 AM
Location: St Pete, FL
peace.gif
It would have been nice if they had cleaned up the display and provided a link to return to the main site.  But since the Contact Link opens a new page or tab, you should be able to close them and be back where you started.  I imagine that you could make the thankyou.php page look a bit nicer too by adjusting the style information.  It's not absolutely necessary though...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Contact Us Form
PostPosted: 08/06/2007 3:12 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:44 AM
greatbrE.gif
Yeah good idea  headbang
I'm sure I can do something  blob8
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Contact Us Form
PostPosted: 08/06/2007 5:06 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:44 AM
Location: St Pete, FL
peace.gif
I'm sure you can too...

Applause  Applause  Applause  Applause  Applause  Applause
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Contact Us Form
PostPosted: 08/06/2007 9:36 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:44 AM
greatbrE.gif
I've tweaked and added the banner and a link back to the main site but for the  thank you form and the error form I just can't get the background to show up. I've tried adding it in various places and I tried the form.css file but it doesn't show  Brick wall
Where should I be adding it?
The code is <body background="bg3.jpg">

Dancing
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Contact Us Form
PostPosted: 08/07/2007 5:04 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:44 AM
Location: St Pete, FL
peace.gif
Ok, I played around with it a bit and placed the logo and background color code in the form_style.css file, so you can adjust everything there instead of having to modify each file separately each time you want to make a change...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Contact Us Form
PostPosted: 08/07/2007 8:44 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 8:44 AM
greatbrE.gif
Wow thanks alot NR   headbang

Just a probably daft question...how do I get my banner to show?  I don't want to do anything in case I muck up what you've already done  Embarassed
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Contact Us Form
PostPosted: 08/07/2007 11:49 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:44 AM
Location: St Pete, FL
peace.gif
What banner are you referring to?  Are you talking about the Ticker Playground graphic?  Isn't this what you see when you go to the Contact Us page as well as all other pages???



I checked this in Opera, Firefox, and IE6 and it was displaying correctly in all three browsers...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1012s (PHP: 55% - SQL: 45%) - SQL queries: 57 - GZIP disabled - Debug on