Text
Email/Contact Us Form/ Feedback

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Add-on`s for your forum
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertsing.





Add Karma

Posted:     Post subject:

Back to top
symon
Site Admin
Site Admin

Location: 

Joined: 13 Mar 2006
Posts: 866


Location: Hampshire Add Karma

PostPosted: Thu May 31, 2007 11:44 pm    Post subject: Email/Contact Us Form/ Feedback Reply with quote

Please remember to use the Editor account before making any template changes, If you have not made an editor account yet please read HERE

Second you must have all ready a template you can edit.

If you have not done this please read HOWTODOIT

The first thing you need to have is a code here is just an example of a working feedback form.



Code:
<form action="feedback.html" method="post">
    <table width="797" height="410" cellspacing="0" cellpadding="0" border="0" align="center">
        <tbody>
            <tr>
                <td>
                <h3 style="border-bottom: 1px solid black;">Contact Us</h3>
                </td>
            </tr>
            <tr>
                <td><label style="float: left; width: 140px;" for="YourName">Your Name:</label><input type="text" style="width: 200px;" maxlength="" value="" id="YourName" name="YourName" />
                <div style="clear: left; height: 20px;">&nbsp;</div>
                <label style="float: left; width: 140px;" for="YourEmail">Your Email:</label><input type="text" style="width: 200px;" maxlength="" value="" id="YourEmail" name="YourEmail" />
                <div style="clear: left; height: 20px;">&nbsp;</div>
                <label for="HearAboutUs" style="float: left; width: 140px;">How did you hear about us?</label><select id="HearAboutUs" name="HearAboutUs">
                <option value="Friend">Friend</option>
                <option value="Player">Player</option>
                <option value="Spectator">Spectator</option>
                <option value="Internet search">Internet search</option>
                <option value="HOWTODOIT">HOWTODOIT</option>
                <option value="MyFreeForum">MyFreeForum</option>
                </select>
                <div style="clear: left; height: 20px;">&nbsp;</div>
                <label style="display: block; margin-bottom: 5px;" for="MessageComments">Message/Comments:</label><textarea style="width: 400px; height: 100px;" maxlength="" id="MessageComments" name="MessageComments"></textarea>
                <div style="clear: left; height: 20px;">&nbsp;</div>
                </td>
            </tr>
            <tr>
                <td align="right"><input type="submit" value=" Submit " /> <input type="reset" value=" Reset " /></td>
            </tr>
        </tbody>
    </table>
</form>


Now place this code inside a webpage of your choice lets say for example contactsus.html so goto admin panel -- 6. Web Pages -- Edit Web Pages

(if you do not know how to make one then please read HERE)


Now also make a new page called something like feedback.html you must remember that this name must be the same as the name in the first line of the code above
Code:
<form action="feedback.html" method="post">
. Now simply put {MYFF.EMAILER} into the source save and exit.


You now need to edit the EMAILER portal do this by going to

admin panel --- 3. Styles --- Portal Settings and click on the portal marked EMAILER

You now see a screen like this



Title is the headline that your members will see at the top of the thankyou screen after they have posted a message see below



To is the email address that you wish the emails to goto

From if you wish the email to come from the forums email leave this area blank if not enter an email.

Subject If you put say Contact Us this will show on the thank you message for example the default message will read like this

"Your email Contact Us has been sent to email address"

Message for default leave blank

Template This is the area to set up how the emails look when they arrive to you.

The most important thing to add here are your forms if you look at the code above you see the forms are marked for="name of form here" so the forms used in this code are as follows ,

for="YourName"

for="YourEmail"

for="HearAboutUs"

for="MessageComments"

so you would add From : {YourName} {YourEmail} {HearAboutUs} {MessageComments}

Please note these are case sensitive and must appear exactly the same as they are written in the code.

You can add like i have in the above screen shot extra bits to make it look nicer for example i have added

From : {YourName}
Email : {YourEmail}
How They heard Of Us: {HearAboutUs}

{MessageComments}

So when my email comes to me it looks like this







That is HOWTODOIT


To add more than one then you will have to do the same as above but change all the names for example EMAILER2 , feedback2.html , contactus2.html.

To change the question and answers just edit

Code:
<label for="HearAboutUs" style="float: left; width: 140px;">How did you hear about us?</label><select id="HearAboutUs" name="HearAboutUs">
<option value="Player">Player</option>
                <option value="Spectator">Spectator</option>
                <option value="Internet search">Internet search</option>
                <option value="HOWTODOIT">HOWTODOIT</option>
                <option value="MyFreeForum">MyFreeForum</option>



To change the question change all the HearAboutUs but remember if you change the for="HearAboutUs then you must change the {HearAboutUs} to match. You find this in the EMAILER portal see guide above.

To change the choices change both the value and the title for example if you wanted to change myfreeforum to yourwebsite it would look like this

<option value="your web site">your web site</option>


You may add as many forms as you like but you must rember to add the form like {FORM} in the EMAILER Portal area as shown in the guide above.


Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Add-on`s for your forum All times are GMT
Page 1 of 1

 
Jump to:  
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

Card File  Gallery  Forum Archive
HOWTODOIT was designed and built by Symon Field
Creator Of ☆ FarnboroughInvinciblesAgonyAuntFairiesAsylum Alliance FunnyWorldHOWTODOIT PHPbb3
HOWTODOIT© Symon Field 2006,2007,2008

Powered by phpBB Group © 2001,2005.
 

Create your own free forum | Buy a domain to use with your forum